Extension talk:GeoData

Jump to: navigation, search

About this board

How to convert from MySQL to ElasticSearch

1
Clarkcj12 (talkcontribs)

If you install it without elasticsearch to use the MySQL backend is there a way to convert it to use ElasticSearch if you later install ElasticSearch?

Reply to "How to convert from MySQL to ElasticSearch"

1.29.0 version GeoData.php file missing

2
Summary by Naramoksu

1.30.0 I found GeoData.php

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.

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

2
RFlan (talkcontribs)

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

Naramoksu (talkcontribs)

I have similar problem.

From MW 1.29, Nearby did not worked. there was a parsing error at #coordinates.

  • current version of my private wiki : 1.30.0
  • I'm using SSL

I think semanticmediawiki Maps have something to do with parsing error. After I remove SMW maps, a parsing error was not happened and Nearby worked.

Any one who have idea to fix this, let me know.

Thanks

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

Is prop=coordinates function disabled in wikipedia?

The example links return only piageid, ns and title!

Reply to "coordinates"

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

1
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"?"

Confusion on Database, dimension, precision

1
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"
182.191.181.116 (talkcontribs)

Hi,

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.

https://en.wikipedia.org/w/api.php?action=query&list=geosearch&gsradius=10000&gslimit=100&gscoord=31.4290691%7C74.2649841&gsprop=country&continue=

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

Can u please help.

Azeem

Reply to "Getting Page Url in list=geosearch"

questions about "Running GeoData with Solr"

1
Cxyshine (talkcontribs)

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

fileStructureOfSolr

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 ='192.168.137.1';$wgGeoDataSolrMaster = '192.168.137.1'; 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?"