22:59 <Kake> OI!!!! 22:59 <Kake> Everyone! 22:59 <Kake> I did it! 23:00 <Kake> OpenGuides location stuff now works worldwide. 23:00 <Kake> http://the.earth.li/~kake/cgi-bin/openguides/vegan-oxford.cgi is running entirely on UTM. CGI::Wiki::Plugin::Locator::UK isn't even installed on the machine any more. 23:00 <Kake> ...and you've all gone to bed so I have to be excited on my own.
Backwards compatibility is safe. The kakemirror on london.openguides.org is running on exactly the same code and on the live London data.
By the way, what happened to the Northern Ireland OpenGuide?
Kake
This one time, at band camp, Kake L Pugh wrote:
23:00 <Kake> http://the.earth.li/~kake/cgi-bin/openguides/vegan-oxford.cgi is running entirely on UTM. CGI::Wiki::Plugin::Locator::UK isn't even installed on the machine any more.
Wahoo! That's fantastic news.
Backwards compatibility is safe. The kakemirror on london.openguides.org is running on exactly the same code and on the live London data.
Details? Is there a conversion process for OS coords -> UTM?
Might be worth putting an example in the template, to ensure people know whether to use digital or degrees, minutes, seconds.
Kake L Pugh wrote:
Backwards compatibility is safe. The kakemirror on london.openguides.org is running on exactly the same code and on the live London data.
On Tue 23 Nov 2004, Rev Simon Rumble simon@rumble.net wrote:
Details? Is there a conversion process for OS coords -> UTM?
In the config file of the kakemirror I chose to use British National Grid for distance calculations, so the guide knows to look in the os_x and os_y metadata fields.
In the Vegan Guide to Oxford I chose to use the Airy ellipsoid, so the guide looks in easting and northing metadata fields. These weren't there already so I had to rewrite all the nodes with geodata - just a case of pulling up the edit form and making a commit, since UTM guides use lat and long for input and all guides store this info anyway.
Might be worth putting an example in the template, to ensure people know whether to use digital or degrees, minutes, seconds.
Good idea. Dom, take note and make someone do this :)
Kake
On Tue, Nov 23, 2004 at 11:03:58PM +0000, Kake L Pugh wrote:
22:59 <Kake> OI!!!! 22:59 <Kake> Everyone! 22:59 <Kake> I did it! 23:00 <Kake> OpenGuides location stuff now works worldwide. 23:00 <Kake> http://the.earth.li/~kake/cgi-bin/openguides/vegan-oxford.cgi is running entirely on UTM. CGI::Wiki::Plugin::Locator::UK isn't even installed on the machine any more. 23:00 <Kake> ...and you've all gone to bed so I have to be excited on my own.
Ooh. perhaps I should get cracking on a boston openguide.
Backwards compatibility is safe. The kakemirror on london.openguides.org is running on exactly the same code and on the live London data.
By the way, what happened to the Northern Ireland OpenGuide?
Kake
-- OpenGuides-Dev mailing list - OpenGuides-Dev@openguides.org http://openguides.org/mm/listinfo/openguides-dev
Kake L Pugh wrote:
22:59 <Kake> OI!!!! 22:59 <Kake> Everyone! 22:59 <Kake> I did it! 23:00 <Kake> OpenGuides location stuff now works worldwide. 23:00 <Kake> http://the.earth.li/~kake/cgi-bin/openguides/vegan-oxford.cgi is running entirely on UTM. CGI::Wiki::Plugin::Locator::UK isn't even installed on the machine any more. 23:00 <Kake> ...and you've all gone to bed so I have to be excited on my own.
I think this merits a happy dance!
[thud crash galumph]
oh dear, I'm not very good at dancing, and I woke the baby downstairs.
----- Original Message ----- From: "Kake L Pugh" kake@earth.li To: openguides-dev@openguides.org Sent: 23 November 2004 23:03 Subject: [OpenGuides-Dev] OpenGuides goes global
- Replies will be sent through Spamex to openguides-dev@openguides.org
- For additional info click -> http://www.spamex.com/i/?v=3302001
22:59 <Kake> OI!!!! 22:59 <Kake> Everyone! 22:59 <Kake> I did it! 23:00 <Kake> OpenGuides location stuff now works worldwide.
Well done!! It definitely needed doing.
I got as far as CGI::Wiki::Plugin::Locator::UTM but then ran into trouble integrating this with the OpenGuides install process. I also managed to get my changes out of sync with the CVS repository and gave up for a while, and have not recovered the circular tuits since.
23:00 <Kake> http://the.earth.li/~kake/cgi-bin/openguides/vegan-oxford.cgi is running entirely on UTM. CGI::Wiki::Plugin::Locator::UK isn't even installed on the machine any more.
Can you give an example node that has a location? I had a scout round, but couldn't find anything with coordinates.
23:00 <Kake> ...and you've all gone to bed so I have to be excited on my own.
Backwards compatibility is safe. The kakemirror on london.openguides.org is running on exactly the same code and on the live London data.
Find by distance is broken. I'm getting:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@openguides.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
----------------------------------
I too am one who would like to offer my full support and encouragement.
Anyway, well done - it's worth saying again: well done Kake!
"Kake L Pugh" kake@earth.li wrote:
http://the.earth.li/~kake/cgi-bin/openguides/vegan-oxford.cgi
On Wed 24 Nov 2004, IvorW ivorw-openguides@xemaps.com wrote:
Can you give an example node that has a location?
Al-Sham.
[kakemirror]
Find by distance is broken.
It was working when I sent the mail, but I'm sure you knew that. (And it's working right now.) It got broken by a write of a node with no location data, bug only shows up on postgres though. Working out how to write a test now.
Kake
On Wed 24 Nov 2004, IvorW ivorw-openguides@xemaps.com wrote: [kakemirror]
Find by distance is broken.
On Wed 24 Nov 2004, Kake L Pugh kake@earth.li wrote:
It was working when I sent the mail, but I'm sure you knew that. (And it's working right now.) It got broken by a write of a node with no location data, bug only shows up on postgres though. Working out how to write a test now.
Fixed in CVS and on sites.
Kake
On Wed 24 Nov 2004, IvorW ivorw-openguides@xemaps.com wrote:
I got as far as CGI::Wiki::Plugin::Locator::UTM [...]
Oh, and a by the way - I didn't need that module. I wrote a general module to handle distances on square grids - CGI::Wiki::Plugin::Locator::Grid - that can cope with British National Grid, Irish National Grid, UTM ellipsoids, Elbonian National Grid, any other square grid with coordinates specified as integers. So the UK plugin is now deprecated and I'll be making a release of it within the week to make that clear. Do you know if anyone is using your plugin? It shouldn't be hard to reimplement it in terms of the Grid plugin if you want to do that.
Kake
On Wed, Nov 24, 2004 at 01:29:10AM +0000, Kake L Pugh wrote:
On Wed 24 Nov 2004, IvorW ivorw-openguides@xemaps.com wrote:
I got as far as CGI::Wiki::Plugin::Locator::UTM [...]
Oh, and a by the way - I didn't need that module. I wrote a general module to handle distances on square grids - CGI::Wiki::Plugin::Locator::Grid - that can cope with British National Grid, Irish National Grid, UTM ellipsoids, Elbonian National Grid, any other square grid with coordinates specified as integers.
This could probably be generalised out of CGI::Wiki::* and made into Geo::SomethingOrOther.
On Wed, Nov 24, 2004 at 01:29:10AM +0000, Kake L Pugh wrote:
CGI::Wiki::Plugin::Locator::Grid - that can cope with British National Grid, Irish National Grid, UTM ellipsoids, Elbonian National Grid, any other square grid with coordinates specified as integers.
On Wed 24 Nov 2004, David Cantrell david@cantrell.org.uk wrote:
This could probably be generalised out of CGI::Wiki::* and made into Geo::SomethingOrOther.
I don't think so - it's only really useful for the very specific database structure of a CGI::Wiki wiki. If you generalised it any more, code that used it would have to do all the SQL bits themselves, and those are the useful bits.
Kake
On Tue, Nov 23, 2004 at 11:03:58PM +0000, Kake L Pugh wrote:
22:59 <Kake> OI!!!! 22:59 <Kake> Everyone! 22:59 <Kake> I did it! 23:00 <Kake> OpenGuides location stuff now works worldwide. 23:00 <Kake> http://the.earth.li/~kake/cgi-bin/openguides/vegan-oxford.cgi is running entirely on UTM. CGI::Wiki::Plugin::Locator::UK isn't even installed on the machine any more. 23:00 <Kake> ...and you've all gone to bed so I have to be excited on my own.
Woohoo! Excellent stuff. :)
By the way, what happened to the Northern Ireland OpenGuide?
I tried to keep up with the latest version, but installing modules locally on my shared host wasn't working out. This gives me the impetus to fix it though. :)
Stephen
openguides-dev@lists.openguides.org