Extension talk:GeoData

Jump to: navigation, search

About this board (talkcontribs)

Is prop=coordinates function disabled in wikipedia?

The example links return only piageid, ns and title!

Reply to "coordinates"
Naramoksu (talkcontribs)

I downloaded and installed GeoData 1.29.0 version but it make problem. I found the source file does not have GeoData.php file in GeoData folder.

Naramoksu (talkcontribs)

I do not found GeoData.php file at the 1.29.1 version also.

Reply to "1.29.0 version GeoData.php file missing"

Does gsglobe= work for any value other than "earth"?

Gapfall (talkcontribs)

https://en.wikipedia.org/w/api.php?action=query&list=geosearch&gspage=Gale%20(crater)&gsglobe=mars&gsradius=10000&gslimit=10 returns "Unrecognized value for parameter "gsglobe": mars." - does gsglobe actually recognise any parameters other than "earth" at the moment?

Reply to "Does gsglobe= work for any value other than "earth"?"

MobileFrontend Nearby + GeoData does not work with unverified websites in Chrome 50+

RFlan (talkcontribs)

SSL is required in order for Chrome to allow a website to ask for a user's location.

Reply to "MobileFrontend Nearby + GeoData does not work with unverified websites in Chrome 50+"

Confusion on Database, dimension, precision

Jc3s5h (talkcontribs)

The page contains the passage "This extension adds a new parser function, {{#coordinates:}}, that saves coordinates to the database. Function's input format is made as compatible as possible with GeoHack"

I don't understand what database is being referred to. Does it mean WikiData? Does adding coordinates to a Wikipedia article add the coordinates to WikiData? (That seems unlikely.)

Also, there is a conflict between WIkiData and this page. WikiData Wikibase/DataModel has a precision field. It is not defined exactly what this represents, but the normal interpretation by a person with a technical background would be the uncertainty in the measurement process that produced the latitude and longitude. The DataModel used to have a dimension field, but that was deleted in March. This page has a dimension parameter.

The problem is that depending on the object and measurement method, we could have a large object with a point within it that has been precisely determined (e.g. the Washington Monument) or we could have a tiny object who's position has not been precisely determined (e.g. the Airy transit circle at the Royal Observatory, Greenwich).

Reply to "Confusion on Database, dimension, precision"
Gborgonovo (talkcontribs)

I have Extension:Maps, Extension:MobileFrontend, etc. etc. installed. Is it possible to center a map on the user position showing pages around it? Thank you.

Reply to "Map center on user position" (talkcontribs)


I am using following query to get pages near a coordinate. Is it possible i can get URL of [ages in return info as well.


I tried using prop=info&inprop=url but it doesn't works with this "list".

Can u please help.


Reply to "Getting Page Url in list=geosearch"

questions about "Running GeoData with Solr"

Cxyshine (talkcontribs)

i have downloaded Solr-3.6.0,then extracted to d:\solr; here is the file structure of solr :


my questions:

1:i follow this instruction ==>"Copy solr/schema.xml to desired Solr core's configuration directory (if you have only one core and you don't want to use it for anything else, just use collection1, its config dir with Debian-packaged Solr is /etc/solr/conf)." where can i get solr/schema.xml ? i didn't see it.but i see a schema.xml in "D:\solr\example\solr\conf". if i use the schema.xml in conf ,then where is "/etc/solr/conf" ? where should i put the D:\solr\example\solr\conf\schema.xml in ?

2:"Set $wgGeoDataSolrHosts and $wgGeoDataSolrMaster in LocalSettings.php to your server hostname(s)/IP(s)" i set like this $wgGeoDataSolrHosts ='';$wgGeoDataSolrMaster = ''; is it right ?

3:"Run php solrupdate.php from cronjob." but where is the solrupdate.php? i did not find it in my computer

Reply to "questions about "Running GeoData with Solr""
NyirNyir (talkcontribs)

Hi, I'm using the "geosearch" end-point to find cities at certain coordinates. However due to the limit on the number of search results it happens quite often that no cities are returned in favour of landmarks and other results. It would be great if at least filtering for one/many types of coordinates could be done on the server instead of sending lots of data around.

So, are there already plans for this and would you consider patches for this functionality?

Reply to "Filter results server-side?" (talkcontribs)

Hi, when I save a page, I get this error:

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "GeoDataHooks::doSmartUpdate". Database returned error "1054: Unknown column 'gt_lat_int' in 'field list'

Any fix for this?

Rotsee (talkcontribs)

Did you really run the update script after installing? Any errors when you did? (talkcontribs)

Yes, I run the update script without any error... seems not to create gt_spatial index. I found a solution to the bug here Bug 62127, but it is not explained how to set up the tables...

Reply to "Database error"