Oops:

I'm not sure if there is a way to geocode through an ask query (e.g., geocode a list of results on the fly).  If someone has an idea on how to do this, I'd be interested!  The way I understand to do it is the first method of adding the property.

Hope this helps a little

-tom

On Fri, Mar 20, 2009 at 8:28 AM, Thomas Fellows <thomas.fellows@gmail.com> wrote:
hey keith,

first, things to look at:

http://www.mediawiki.org/wiki/Extension:Google_Geocoder
http://www.mediawiki.org/wiki/Extension:Semantic_Google_Maps#Geocoding_addresses

There are two ways to do it - if your imported data is displayed using a template, you can create the geographic coordinate property by adding to the template something like [[Has coordinate::{{{Street Address}}}]] (or if it's separated [[Has coordinate::{{{Street Address}}}, {{{City}}}, {{{State}}}]]  etc.  -- wait for everything to refresh and your data should now have a property.

the more "on the fly" way of doing it (from the site above) - "{{#semantic_google_map:{{#geocode:{{{Street address}}}, {{{City}}}, {{{State}}}, {{{Country}}}}}}}"


I'm not sure if there is a way to geocode  q


2009/3/19 Keith Fligg <Keith.Fligg@pnl.gov>
I’ve got several thousand pages that we imported into our MediaWiki that each contain a ‘Location’ property of type string.  We would like to be able to use the Google geocoder to lookup the coordinates of that property, and then use those coordinates to display the locations using the SemanticGoogleMaps extension.  All of this within an ask query.

The issue is that SemanticGoogleMaps is looking for a property of type ‘Geographic coordinate’ and we don’t have that information in our imported documents.  If there were some way to generate that property on the fly during the ask query, and feed it into the map, it would save us the trouble of having to process, and reimport the data.

It seems like someone must have butt up against the problem in the past, we just can’t find any reference to a solution.  Does anyone have any idea of how we might be able to get this done?

Thanks for any help,

 - Keith

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user