Hi Phil Your bet is correct. Any tips on convert the coordinate? It's not just a point when you draw with openlayer, the shape can be line and polygon.
Regards, Hua Jie On Mon, Mar 11, 2013 at 5:10 AM, Phil Scadden <p.scad...@gns.cri.nz> wrote: > > I want to do this because when the user draw something outside this >> range, the feature can not save to geoserver. >> > Hmm, I am not so sure. What it must have to save properly is coordinates > that match the coordinate range defined for the base set (which I will bet > are the CITE -180:180). However, drawing across the 180 is only possible in > OL if you drop cite. Your code on the client then ("featureadded" event??), > should convert the feature coordinates to -180:180 and then save it > geoserver. Maintaining topology of polygons is probably a mission though I > still suspect it is possible with client-end programming. You may need to > insert points on the 180 line before saving a polygon. Its a case of try > and see. > > Notice: This email and any attachments are confidential. > If received in error please destroy and immediately notify us. > Do not copy or disclose the contents. > > ______________________________**_________________ > Users mailing list > us...@lists.osgeo.org > http://lists.osgeo.org/**mailman/listinfo/openlayers-**users<http://lists.osgeo.org/mailman/listinfo/openlayers-users> >
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users