[Users] Google-Baselayer-Issue

Christian Mayer mayer at terrestris.de
Tue Oct 4 19:46:38 CEST 2011


Hello Kai,

could you please post two requests (WMS GetCapabilities/GetMap and WFS 
GetCapabilities/GetFeature) in order to have a better base to reproduce 
your errors? Would be very helpful.

The WMS issue could be because of the WMS layer is not offered in 
EPSG:900913, as told in my first sentece a request would be helpful.

The WFS problem is definitly a transformation issue...lat/lon 
coordinates vs. metric system, here also a GetCapabilities would be helpful.

Best regards,
Chris

Am 04.10.2011 16:55, schrieb Kai Volland:
> Hi Users,
>
> i've some problems with my google base layer.
> I'm using the v3 api.
> Two of my wms just work fine with the google-layer.
>
> The third one returns an error message, visible instead of the layer:
> "could not get retrieve any sources: no image returned from source wms"
>
> The second problem is, that with the google layer my wfs don't work 
> correct.
> Every point is located near Sao Tomé and Principé. (probably 0°E,0°N)
>
> I know that there muste be a problem with the coord.-tranformation but 
> i've know idea what it is.
>
> *simple google layer code:*
>
> var gphy = new OpenLayers.Layer.Google(
>     "Google Physical",
>     {type: google.maps.MapTypeId.TERRAIN}
> );
>
> *map-options:*
>
> var map = new OpenLayers.Map(options);
>
> // Options
>
> var options = {
>     controls: [],
>     projection: new OpenLayers.Projection("EPSG:900913"),
>     displayProjection: new OpenLayers.Projection("EPSG:4326"),
>     units: "m",
>     maxResolution: "auto",
>     allOverlays: false,
>     numZoomLevels: 19,
>     maxExtent: new 
> OpenLayers.Bounds(-75.86,44.05,-74.526,45.016).transform(new 
> OpenLayers.Projection("EPSG:4326"), new 
> OpenLayers.Projection("EPSG:900913"))
>     //stateId: "map",
>     //prettyStateKeys: true // for pretty permalinks
> };
>
>
> Maybe anyone can help me.
>
> Kind regards,
>
> Kai
>
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users


-- 
Dipl.-Ing.(FH) Christian Mayer
   - Anwendungsentwickler -

   terrestris GmbH&  Co. KG
   Irmintrudisstraße 17
   53111 Bonn

   Tel:    ++49 (0)228 / 96 28 99 -53
   Fax:    ++49 (0)228 / 96 28 99 -57

   Email:  mayer at terrestris.de
   Web:    http://www.terrestris.de

   Amtsgericht Bonn, HRA 6835
   Komplementärin:  terrestris Verwaltungsgesellschaft mbH
   vertreten durch: Hinrich Paulsen, Till Adams


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20111004/f6621eb4/attachment.htm 


More information about the Users mailing list