File formats

Geomark Info

The table below shows the file formats supported by the geomark web service for downloading the geomark info resource. Click the links below to view a sample of the resource in the each file format.

File Extension Media Type Example Description
json application/json View JSON JavaScript Object Notation (JSON). The geomark info is wrapped in a JSON object with one attribute for each geomark attributes. The resource links are a a JSON list with one JSON object per link.
xml text/xml View XML Extensible Markup Language (XML). The geomark info is wrapped in the GeomarkInfo XML tag with one XML tag for each geomark attributes. Each resource link is contained in a resourceLink XML tag with one XML tag for each resource link attribute.

Geomark Create & Download

The table below shows the file formats supported by the geomark web service for creating geomarks, and downloading the geomark geometry resources. Click the links below to download a sample of the resource in the each file format.

File Extension Media Type Example Description
gpkg application/vnd.google-earth.kml+xml Download "Download GeoPackage"

GeoPackage (GPKG) is a spatial file database. It is an extension of the SQLite single file database. It is an international standard maintained by the Open Geospatial Consortium, Inc. (OGC).

Each feature record is one record in the GeoPackage table.

kml application/vnd.google-earth.kml+xml Download KML

Keyhole Markup Language (KML) is used to display geographic data in an Earth browser, such as Google Earth. KML is an international standard maintained by the Open Geospatial Consortium, Inc. (OGC).

Each feature record will be encoded using a Placemark with the geomark's attributes as ExtendedData. If there are more than one record the Placemarks will be wrapped in a Document element, otherwise the Placemark will be a child of the kml element.

kmz application/vnd.google-earth.kmz Download KMZ

KMZ is a zip file containing a Keyhole Markup Language (KML) file which is used to display geographic data in an Earth browser, such as Google Earth. KML is an international standard maintained by the Open Geospatial Consortium, Inc. (OGC).

Each feature record will be encoded using a Placemark with the geomark's attributes as ExtendedData. If there are more than one record the Placemarks will be wrapped in a Document element, otherwise the Placemark will be a child of the kml element.

shpz application/x-shp+zip Download SHPZ

ESRI Shapefile developed by ESRI for ArcMap which is a multi-file GIS format that uses DBase files for the attribution and a prf file for the coordinate system. Due to the multi-file nature the shp, dbf, shx and prj files are compressed into a ZIP file for download or upload.

Each feature record is one record in the ESRI shapefile.

shp application/x-shp Download SHP

ESRI Shapefile developed by ESRI for ArcMap which is a multi-file GIS format that uses DBase files for the attribution and a prf file for the coordinate system. Due to the multi-file nature only the shp file can be uploaded.

Each feature record is one record in the ESRI shapefile, no attributes are returned in this format..

geojson application/vnd.geo+json Download GeoJSON

GeoJSON is a geospatial data interchange format based on JavaScript Object Notation (JSON). GeoJSON can be used to create web browser based GIS applications in JavaScript.

Each feature record is one feature object in a feature collection object. If there is only one record the feature object will not be wrapped in a feature collection.

gml application/gml+xml Download GML

Geography Markup Language (GML) is an international standard for exchange of geographical feature maintained by the Open Geospatial Consortium (OGC).

Each feature is one GML feature of the Feature Type from the 'Geomark Geometry Representations' table. The features are wrapped in a gml:FeatureCollection

wkt text/x-wkt Download WKT

Well-Known Text (WKT) is a text encoding of a geometry defined in the 'SQL Textual Representation of Geometry' section of the Simple Features FOR SQL specification from the Open Geospatial Consortium, Inc. (OGC).

Each feature record is one WKT geometry per line in the file, no attributes are returned in this format.