OpenLayers OpenLayers

Ticket #1841 (closed feature: fixed)

Opened 1 year ago

Last modified 1 year ago

Strategies should handle reprojection

Reported by: crschmidt Assigned to: tschaub
Priority: major Milestone: 2.8 Release
Component: Strategy Version: 2.7
Keywords: Cc: grand.edgemaster@gmail.com, adube@mapgears.com
State: Complete

Description

Should support changing bounds, and reprojecting geometries when they come in.

Attachments

8233.patch (3.7 kB) - added by crschmidt on 11/17/08 19:21:14.
transform.patch (13.7 kB) - added by tschaub on 01/30/09 22:14:49.
fixed and bbox strategy transform geometries

Change History

11/17/08 19:21:14 changed by crschmidt

  • attachment 8233.patch added.

01/24/09 15:56:36 changed by edgemaster

  • cc set to grand.edgemaster@gmail.com.

01/30/09 22:14:49 changed by tschaub

  • attachment transform.patch added.

fixed and bbox strategy transform geometries

01/30/09 22:16:14 changed by tschaub

  • state set to Review.

With this patch, if a vector layer has a different projection than the map, the fixed or bbox strategy will transform feature geometries before adding features to the layer. All tests pass (in FF3).

01/30/09 23:32:15 changed by tschaub

  • owner changed from fredj to tschaub.
  • status changed from new to assigned.

01/31/09 10:53:27 changed by elemoine

  • state changed from Review to Commit.

it's looking good to me. Please commit.

02/03/09 00:10:15 changed by tschaub

Thanks for the review Eric.

02/03/09 00:12:27 changed by tschaub

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

(In [8804]) Strategies that request data (fixed and bbox currently) should transform geometries when the layer projection is different than the map projection. This adds reprojection support to the Fixed and BBOX strategies. Given more strategies that request data, we will likely want to extract out the common parts. r=elemoine (closes #1841)

02/03/09 14:34:53 changed by adube

  • cc changed from grand.edgemaster@gmail.com to grand.edgemaster@gmail.com, adube@mapgears.com.

Tests made in IE7, no errors found

02/03/09 15:10:09 changed by adube

Tests made in IE6, no errors found but an error from Control/ScaleLine that I also got from my clean trunk. crschmidt said he got a clean IE6 test on his side so we can ignore this.