Ticket #89 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years ago

Google Maps support should deal with converting between coordinate systems

Reported by: dom Owned by: dom
Priority: normal Milestone: 0.58
Component: openguides Version: svn
Severity: normal Keywords:
Cc:

Description

This is largely so that UK grid coordinate based guides work - they are currently based on the Airy system but we need to feed Google Maps WGS84 data. For now those guides have to use force_wgs84 and have their points out by some 10s of metres.

Attachments

HelmertTransform.pm (8.7 kB) - added by nick 4 years ago.
Fixed version of MySociety?'s Geo::HelmertTransform?

Change History

Changed 4 years ago by dom

  • status changed from new to assigned

Changed 4 years ago by dom

  • milestone changed from 0.53 to 0.54

Changed 4 years ago by dom

https://secure.mysociety.org/cvstrac/getfile/mysociety/perllib/Geo/HelmertTransform.pm?v=1.4 is a possibility but this is released under a licence which may not be DFSG free so not something we want to use.

Nick has volunteered to port his Python implementation if needed.

Changed 4 years ago by dom

Emailed author of Geo::HelmertTransform? about licensing.

Changed 4 years ago by dom

I have now agreed to upload Geo::HelmertTransform? to CPAN so will be able to address this ticket once I've done that.

Changed 4 years ago by dom

Andy Armstrong has code for this too so this may wait for that to happen.

Changed 4 years ago by nick

(In [870]) Support doing Helmert Transforms as required, using the MySociety? Helmert transform library, if installed. References #89

Changed 4 years ago by dom

  • owner changed from dom to nick
  • status changed from assigned to new

Changed 4 years ago by nick

(In [872]) Do the wgs84 convertion for the google maps page. Add tests for this too. References #89

Changed 4 years ago by nick

Fixed version of MySociety?'s Geo::HelmertTransform?

Changed 4 years ago by nick

If you install (the fixed version - attached to ticket) Geo::HelmertTransform?, and set your geo_handler as required, then OpenGuides will now convert properly, and your google maps will be in the right place

Changed 3 years ago by dom

  • owner changed from nick to dom
  • status changed from new to assigned

Changed 3 years ago by dom

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

Now in CPAN, so done.

Note: See TracTickets for help on using tickets.