[openguides-tickets] [OpenGuides] #176: OSGB x/y coords should be converted to WGS84 lat/long at page save time.

OpenGuides tracadmin at urchin.earth.li
Fri Mar 9 14:17:00 GMT 2007


#176: OSGB x/y coords should be converted to WGS84 lat/long at page save time.
------------------------+---------------------------------------------------
 Reporter:  Kake        |       Owner:  kake
     Type:  defect      |      Status:  new 
 Priority:  normal      |   Milestone:      
Component:  openguides  |     Version:  svn 
 Severity:  normal      |    Keywords:      
------------------------+---------------------------------------------------
 Suppose a guide accepts geodata as OSGB x/y.  When the page is saved, we
 use Geography::NationalGrid::GB to convert these to lat/long, and store
 those in the database as well.  Unfortunately these are actually OSGB
 lat/long, whereas most people/applications will expect WGS84 lat/long.  We
 hacked around this for Google Maps display by using Geo::!HelmertTransform
 to transform into WGS84 before talking to the Google API, but it would be
 better to do the transformation at page save time, so the lat/long is
 correct in the database, on the page, and in the RDF output.

 This is likely an issue for OSIE guides as well.

-- 
Ticket URL: <http://dev.openguides.org/ticket/176>
OpenGuides <http://openguides.org/>
The OpenGuides city guides project


More information about the openguides-tickets mailing list