Welcome to the geofictician wiki.

User:Luciano/Sandbox/ExternalData/Test12: Difference between revisions

From Geofictician
Jump to navigationJump to search
imported>Luciano
(Created page with "I am experimenting with ExternalData extension tables, driven by overpass queries instead of relations. This query is parallel to the content of this old, manually populated p...")
 
imported>Luciano
No edit summary
 
Line 2: Line 2:
== Table ==
== Table ==


::The following data has been retrieved from [http://osm3s.opengeofiction.net/api/interpreter?data=node%5B%22is_in:country%22=%22Ardisphere%22%5D%5B%22is_in:state%22=%22Departamento%20de%20P%C3%A1ramos%20(DP)%22%5D%5B%22is_in:county%22%5D;out; this URL], using the [http://www.mediawiki.org/wiki/Extension:External_Data External Data] MediaWiki extension.
::The following data has been retrieved from [https://osm3s.opengeofiction.net/api/interpreter?data=node%5B%22is_in:country%22=%22Ardisphere%22%5D%5B%22is_in:state%22=%22Departamento%20de%20P%C3%A1ramos%20(DP)%22%5D%5B%22is_in:county%22%5D;out; this URL], using the [http://www.mediawiki.org/wiki/Extension:External_Data External Data] MediaWiki extension.


{{#clear_external_data:}}
{{#clear_external_data:}}
{{#get_web_data:url=http://osm3s.opengeofiction.net/api/interpreter?data=node%5B%22is_in:country%22=%22Ardisphere%22%5D%5B%22is_in:state%22=%22Departamento%20de%20P%C3%A1ramos%20(DP)%22%5D%5B%22is_in:county%22%5D;out;
{{#get_web_data:url=https://osm3s.opengeofiction.net/api/interpreter?data=node%5B%22is_in:country%22=%22Ardisphere%22%5D%5B%22is_in:state%22=%22Departamento%20de%20P%C3%A1ramos%20(DP)%22%5D%5B%22is_in:county%22%5D;out;
|format=xml
|format=xml
|data=
|data=
Line 33: Line 33:
{{#for_external_table:<nowiki/>
{{#for_external_table:<nowiki/>
{{!}}-
{{!}}-
{{!}}<span class=”plainlinks”>[http://opengeofiction.net/node/{{{node_id}}} {{{ref}}}(node {{{node_id}}})]</span>
{{!}}<span class=”plainlinks”>[https://opengeofiction.net/node/{{{node_id}}} {{{ref}}}(node {{{node_id}}})]</span>
{{!}}{{{place}}}
{{!}}{{{place}}}
{{!}}{{{admin_level}}}
{{!}}{{{admin_level}}}

Latest revision as of 21:51, 26 March 2019

I am experimenting with ExternalData extension tables, driven by overpass queries instead of relations. This query is parallel to the content of this old, manually populated page, here: Communities in Departamento de Páramos (Ardisphere). For the table to be fully correct, I think I need to make sure the data on the map is clean and complete (i.e. add 'dummy' data such as "tbd" for fields I would leave blank).

Table

The following data has been retrieved from this URL, using the External Data MediaWiki extension.


Error while fetching data from URL https://osm3s.opengeofiction.net/api/interpreter?data=node%5B%22is_in:country%22=%22Ardisphere%22%5D%5B%22is_in:state%22=%22Departamento%20de%20P%C3%A1ramos%20(DP)%22%5D%5B%22is_in:county%22%5D;out;: $2.
Error fetching URL: Could not resolve host: osm3s.opengeofiction.net
There was a problem during the HTTP request: 0 Error
Could not get URL https://osm3s.opengeofiction.net/api/interpreter?data=node%5B%22is_in:country%22=%22Ardisphere%22%5D%5B%22is_in:state%22=%22Departamento%20de%20P%C3%A1ramos%20(DP)%22%5D%5B%22is_in:county%22%5D;out; after 3 tries.

Ref / Map Place Type Admin Level Capital County Name Population Note