Download outline map of Songkhla (geojson format) :
Songkhla.geojson (**)
Download polygon array of Songkhla map for "Google Maps" :
Songkhla.txt
Bounding Box for Songkhla Map : ( 6.297885 , 100.030618 , 7.938784 , 101.105643 )
Wikipedia ID for Songkhla : Q235574
Wikipedia SPARQL Query for Songkhla (population,elevation,area,lat,long, postal code,licence plate) :
SELECT ?population ?elevation ?area ?latitude ?longitude ?postal_code ?license_plate
WHERE {
OPTIONAL { wd:Q235574 wdt:P1082 ?population. }
OPTIONAL { wd:Q235574 wdt:P2044 ?elevation. }
OPTIONAL { wd:Q235574 wdt:P2046 ?area. }
OPTIONAL { wd:Q235574 wdt:P281 ?postal_code. }
OPTIONAL { wd:Q235574 wdt:P395 ?license_plate. }
OPTIONAL {
wd:Q235574 p:P625 ?coordinate.
?coordinate psv:P625 ?coordinate_node.
?coordinate_node wikibase:geoLatitude ?latitude.
?coordinate_node wikibase:geoLongitude ?longitude.
}
}
Run this SPARQL Query on Wikidata Page (Click RUN button on the opened page!)
Run this Query with SPARQL API
ISO-3166 CODE for Songkhla : TH-90
Get Boundaries from overpass-turbo (OSM) with boundary box of Songkhla map
[out:json];
(
relation["boundary"="administrative"]["admin_level"~"4|5|6"](6.297885, 100.030618, 7.938784, 101.105643);
);
out geom;
Run this query on overpass-turbo (Click RUN button on the opened page!)
Get Boundaries from overpass-turbo (OSM) with place name (Songkhla)
[out:json];
(
rel["name"="Songkhla"][type=boundary];
rel["name:en"="Songkhla"][type=boundary];
);
out geom;
Run this query on overpass-turbo (Click RUN button on the opened page!)
Notes:
- You can download geometry data for Songkhla in various formats (Geojson,KML,GPX,raw OSM data) by clicking export button on the overpass-turbo
- You can freely use the jpeg type map images you created on the "map cropping" page or downloaded from the "samples" pages.
- (**)
Terms of Use for downloaded geojson files.