OpenLayers OpenLayers

Ticket #1554 (closed bug: fixed)

Opened 7 months ago

Last modified 3 months ago

WKT reader re-transforms GEOMETRYCOLLECTION component geometries' projections

Reported by: openlayers Assigned to: tschaub
Priority: minor Milestone: 2.7 Release
Component: Format.WKT Version: 2.6
Keywords: Cc: paulsmith@pobox.com
State: Complete

Description

The OpenLayers.Format.WKT reader, in the case of having an externalProjection and internalProjection defined, will, when reading in a WKT string of type 'GEOMETRYCOLLECTION,' transform the projection of the component geometries as the WKT string is broken down into parts, and then will attempt to re-transform the already-transformed geometries by looping over those component geometries. This results in geometries that have incorrectly transformed point values.

Attachments

wkt-reader-projections-geomcoll.patch (2.1 kB) - added by openlayers on 05/20/08 18:54:32.

Change History

05/20/08 18:54:32 changed by openlayers

  • attachment wkt-reader-projections-geomcoll.patch added.

05/21/08 12:45:50 changed by paulsmith

  • cc set to paulsmith@pobox.com.

05/21/08 12:47:03 changed by crschmidt

  • state set to Review.
  • milestone set to 2.7 Release.

06/21/08 09:09:23 changed by crschmidt

  • keywords deleted.
  • status changed from new to closed.
  • state changed from Review to Complete.
  • resolution set to fixed.

(In [7413]) WKT Format reprojects geometrycollection components twice. Fixed by anonymous contributor. (Closes #1554)

08/21/08 14:26:24 changed by euzuro

  • status changed from closed to reopened.
  • resolution deleted.

We don't have a CLA for paul smith, do we?

I have sent an email to paul at the address provided here with the ticket. Hopefully we hear back from him. If anyone knows how to contact him, please send word.

08/21/08 14:51:17 changed by euzuro

  • status changed from reopened to closed.
  • resolution set to fixed.

CLA from paul smith received.