Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#2107 closed defect (fixed)

projecting WKT strings returns erroneous results.

Reported by: tomkralidis Owned by: sdlime
Priority: normal Milestone: 5.0 release
Component: MapScript Version: 5.0
Severity: normal Keywords:
Cc:

Description

When testing via perl and python, the following code does not reproject the coordinates passed to shapeObj as WKT.

Attachments (2)

projectWKT.pl.txt (371 bytes ) - added by tomkralidis 17 years ago.
Perl example
projectWKT.py.txt (295 bytes ) - added by tomkralidis 17 years ago.
Python example

Download all attachments as: .zip

Change History (5)

by tomkralidis, 17 years ago

Attachment: projectWKT.pl.txt added

Perl example

by tomkralidis, 17 years ago

Attachment: projectWKT.py.txt added

Python example

comment:1 by hobu, 17 years ago

Resolution: fixed
Status: newclosed

msGEOSShapeToWKT was not updating the geometry every time through the function. Fixed in r6199.

in reply to:  1 comment:2 by tomkralidis, 17 years ago

Replying to hobu:

msGEOSShapeToWKT was not updating the geometry every time through the function. Fixed in r6199.

To verify: tested, works. Thanks!

comment:3 by hobu, 17 years ago

r6202 uses the correct free function and removes the extraneous if test

Note: See TracTickets for help on using tickets.