Any code tips, I am new to openlayer and geoserver.

Don't know what to do


On Fri, Mar 1, 2013 at 11:21 AM, Phil Scadden <[email protected]> wrote:

> On 1/03/2013 4:08 p.m., 杨华杰 wrote:
>
>> Thanks for all the replies, so I can solve it in Openlayer, any tips to
>> change the projection?
>>
> It very much depends on your backend - the underlying spatial database you
> are storing into (and will need to reproject out of). I think you will need
> to just try and see what works. Sometimes we find that projection from
> server to client will work for some projections but not others (notably
> lat/longs stored as 0:360 on server). In utter desparation you can break
> geometry on the 180 line but you lose polygon topology that way. We have a
> ghastly trick that works for arcSDE in maintaining polygon topology over
> the 180 (create it west of 180, lie about the coordinates, then translate
> to correct position and force projection to the correct one) and works okay
> with a tiled geoserver serving it back.
>
>
> 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
> [email protected]
> http://lists.osgeo.org/**mailman/listinfo/openlayers-**users<http://lists.osgeo.org/mailman/listinfo/openlayers-users>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to