[OpenLayers-Users] How can i save features with OSM base layer via WFST

ntfstr ntfstr at gmail.com
Mon Jul 8 07:16:57 PDT 2013


Hello Gary,

My layers are EPSG:4326.

ı add to  map like

 projection: "EPSG:4326",
 displayProjection: "EPSG:4326", parameters.


and also tried

 projection: "EPSG:4326",
 displayProjection: "EPSG:900913"


But still same.


On 8 July 2013 17:05, Gery . <gamejihou at hotmail.com> wrote:

> Perhaps the problem is because the OSM projection (ie. basemap)? If I'm
> right OSM is 900913 (3857) and probably your data are in 4326.
>
> Sent from my i386
>
> On Jul 8, 2013, at 15:53, "ntfstr" <ntfstr at gmail.com> wrote:
>
> hello,
>
> i am following geoext  tutorials on
> http://workshops.opengeo.org/geoext/wfs/wfst.html.
>
> İ use postgis layers on geoserver.
>
> When my application's base layer  like this.
>
>  var layer2= new OpenLayers.Layer.WMS(
>             "Global Imagery",
>             "http://maps.opengeo.org/geowebcache/service/wms",
>             {layers: "bluemarble"}
>         );
>
> i can save features over wfst.
>
> but i want to show OSM base layer. But when base layer is OSM no features
> save over wfst.
>
>
> my map description is
>
>
>   var options =
> {
> controls:
>  [       new OpenLayers.Control.Navigation(),
>                         new OpenLayers.Control.PanZoomBar(),
>                         new
> OpenLayers.Control.LayerSwitcher({'ascending':false}),
>                         new OpenLayers.Control.Permalink(),
>                         new OpenLayers.Control.ScaleLine(),
>                         new OpenLayers.Control.Permalink('permalink'),
>                         new OpenLayers.Control.MousePosition(),
>                         new OpenLayers.Control.KeyboardDefaults()
>                 ]
> };
>     map = new OpenLayers.Map( 'map',options
> );
>
> how can i achieve save wfst with OSM base layer.
>
> Thanks in advance
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130708/f3647032/attachment-0001.html>


More information about the Users mailing list