[OpenLayers-Users] How can i save features with OSM base layer via WFST
Gery .
gamejihou at hotmail.com
Mon Jul 8 07:05:47 PDT 2013
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/b0a5054a/attachment.html>
-------------- next part --------------
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
More information about the Users
mailing list