OpenLayers OpenLayers

Ticket #1039 (closed feature: fixed)

Opened 1 year ago

Last modified 1 year ago

Reprojection Support on Format classes

Reported by: crschmidt Assigned to: tschaub
Priority: minor Milestone: 2.6 Release
Component: Format Version: 2.5 RC3
Keywords: Cc:
State: Complete

Description

Support reprojection on format classes.

Attachments

format.patch (7.6 kB) - added by crschmidt on 09/30/07 14:30:25.
fix a bug
format.2.patch (9.0 kB) - added by crschmidt on 12/15/07 01:10:08.
format.3.patch (11.2 kB) - added by crschmidt on 12/15/07 01:23:09.
format.4.patch (13.0 kB) - added by crschmidt on 12/15/07 01:30:49.

Change History

09/30/07 14:30:25 changed by crschmidt

  • attachment format.patch added.

fix a bug

12/15/07 01:10:08 changed by crschmidt

  • attachment format.2.patch added.

12/15/07 01:23:09 changed by crschmidt

  • attachment format.3.patch added.

12/15/07 01:30:49 changed by crschmidt

  • attachment format.4.patch added.

12/15/07 01:34:17 changed by crschmidt

  • state set to Review.

mmm, patches.

Updated formats reprojection: fixed a bug in GML, added support for Format.Text, and updated vector-formats.html to support input and output reprojection being selected. Also, updated the docstrings to include info about custom transformations.

Depends on #1037, but other than that, I think I'm happy to have this be reviewed.

12/19/07 15:43:58 changed by elemoine

  • state changed from Review to Commit.

Patch looks good to me. Please commit.

12/19/07 17:07:13 changed by crschmidt

  • status changed from new to closed.
  • state changed from Commit to Complete.
  • resolution set to fixed.

(In [5516]) Formats now support reprojection using internalProjection and externalProjection properties. These allow for the reprojection of data -- OpenLayers users with SphericalMercator get this built in for EPSG:900913, and other users can use the external proj4js library available from MapBuilder SVN to add support for any number of projections. This means that featres can be, for example, transformed from a KML doc in 4326 to Spherical Mercator before being added to a layer, making using SphericalMercator slightly more enticing. r=elemoine (Closes #1039)