Ticket #2107 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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

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

Change History

Changed 6 years ago by tomkralidis

Perl example

Changed 6 years ago by tomkralidis

Python example

follow-up: ↓ 2   Changed 6 years ago by hobu

  • status changed from new to closed
  • resolution set to fixed

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

in reply to: ↑ 1   Changed 6 years ago by tomkralidis

Replying to hobu:

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

To verify: tested, works. Thanks!

  Changed 6 years ago by hobu

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

Note: See TracTickets for help on using tickets.