----- Original Message ----- From: "Kate L Pugh" kake@earth.li To: "OpenGuides software developers" openguides-dev@openguides.org Sent: 25 June 2004 00:29 Subject: Re: [OpenGuides-Dev] openguides-setupdb script
On Thu 24 Jun 2004, Stephen Stewart beowulf@carisenda.com wrote:
Out of interest, where is getting Openguides to work on other grids/ellipes on the large Things To Do list?
I took it off my Things To Do list when Ivor said he was going to work on it. If he's not going to have time to do anything about it then I can put it back on mine, but I do need to know if this is the case.
The state of this is that I released a plugin in the form of CGI::Wiki::Plugin::Locator::UTM
This contains its own distance finder, and the necessary code to translate between lat/long and zone/easting/northing. To do this, the module requires an additional piece of data by way of the ellipsoid. This needs to be prompted for in the setup, and held in the config file.
In terms of metadata, the module needs (and relies on) latitude and longitude. The pythagorean distance finder needs zone, easting and northing. The plugin will provide these via the location method. The distance finder needs zone, easting and northing to be stored in the database.
By the way, I have a Postgres problem with type conversion. How do I force it to use a float (or rather a double)? This is a problem with the distance finder on Postgres.
When it comes to integrating this with OpenGuldes, I started this many releases ago. I will probably need to start again with my changes. Kake: I'm happy for you to take this over if you have the time to do so. Or, let me know if you want me to continue.
Let me know of any issues with C::W::P::L::U.
Ivor.