Opened 14 years ago

Closed 13 years ago

#89 closed enhancement (fixed)

Google Maps support should deal with converting between coordinate systems

Reported by: Dominic Hargreaves Owned by: Dominic Hargreaves
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 (1)

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

Download all attachments as: .zip

Change History (13)

comment:1 Changed 14 years ago by Dominic Hargreaves

Status: newassigned

comment:2 Changed 13 years ago by Dominic Hargreaves

Milestone: 0.530.54

comment:3 Changed 13 years ago by Dominic Hargreaves

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.

comment:4 Changed 13 years ago by Dominic Hargreaves

Emailed author of Geo::HelmertTransform? about licensing.

comment:5 Changed 13 years ago by Dominic Hargreaves

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

comment:6 Changed 13 years ago by Dominic Hargreaves

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

comment:7 Changed 13 years ago by nick

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

comment:8 Changed 13 years ago by Dominic Hargreaves

Owner: changed from Dominic Hargreaves to nick
Status: assignednew

comment:9 Changed 13 years ago by nick

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

Changed 13 years ago by nick

Attachment: HelmertTransform.pm added

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

comment:10 Changed 13 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

comment:11 Changed 13 years ago by Dominic Hargreaves

Owner: changed from nick to Dominic Hargreaves
Status: newassigned

comment:12 Changed 13 years ago by Dominic Hargreaves

Resolution: fixed
Status: assignedclosed

Now in CPAN, so done.

Note: See TracTickets for help on using tickets.