Skip to content

Layer URL

AndreasWBartels edited this page Sep 30, 2016 · 1 revision

Shapefile

syntax: file:/path/shapefile.shp
sample: file:/transportation/highway.shp

Feature Layer Markup Language (FLML)

syntax: file:/data/file.flml
sample: file:/transportation/highway.flml

Access (Personal Geodatabase)

syntax: pgdb:file:/path/database.mdb?table={table name}&column={geometry column name}
sample: pgdb:file:/data/transportation.mdb?table=highway&column=geometry

Worldfile

syntax: file:/path/file.{worldfile extension}
sample: file:/transportation/highway.pgw

MBFile

syntax: sqlite:mbtiles:/path/database.mbtiles
sample: sqlite:mbtiles:/transportation/highway.mbtiles

ASCII Grid

syntax: file:/path/file.{ASCII grid extension}
sample: file:/transportation/highway.asc

Saga Grid

syntax: file:/path/file.{Saga grid extension}
sample: file:/transportation/highway.sgrd

XYZ Grid

syntax: file:/path/file.{XYZ grid extension}
sample: file:/transportation/highway.xyz

Oracle

syntax: oracle:{'sid'|'service'}:sdo://{user}:{password}@{host}:{port}/{instance}?[schema={schema name}&]table={table name}&column={geometry column name}
sample: oracle:sid://user:xxxx@host:5432/transportation?schema=transportation&table=highway&column=geometry

PostGIS

syntax: postgresql:postgis://{user}:{password}@{host}:{port}/{instance}?[schema={schema name}&]table={table name}&column={geometry column name}
sample: postgresql:postgis://user:xxxx@host:5432/transportation?schema=transportation&table=highway&column=geometry

Hana

syntax: sap:hana://{user}:{password}@{host}:{port}/{instance}?[schema={schema name}&]table={table name}&column={geometry column name}
sample: sap:hana://user:xxxx@host:30015/transportation?schema=transportation&table=highway&column=geometry

SpatiaLite

syntax: sqlite:spatialite:/path/database.sqlite?table={table name}&column={geometry column name}
sample: sqlite:spatialite:/path/transportation.sqlite?table=highway&column=geometry

Mapbox (only tilecache layer)

syntax: mapbox:https:/api.mapbox.com?owner={owner}&layer={layername}&token={accesstoken}
sample: mapbox:https:/api.mapbox.com?owner=mapbox&layer=streets&token=.........

Openstreet Map (OSM)

syntax: osm:https://{identifier}.{host}/path/{zoomLevel}/{column}/{row}.png?identifiers={...}&name={layer name}
sample: osm:https://{identifier}.host/path/{zoomLevel}/{column}/{row}.png?identifiers=a,b,c&name=highway

ArcSDE

syntax: arcgis:sde://{user}:{password}@{host}:{port}?schema={schema name}&table={table name}&column={geometry column name}
sample: arcgis:sde://user:xxxx@sample:5151?schema=transportation&table=highway&column=geometry

ArcGIS Rest

syntax: arcgis:rest:http//{user}:{password}@{host}:{port}/{path}?type={schema name}&service={table name}&layer={layer number}
sample: arcgis:rest:http://host:80/ArcGIS/rest/services?type=FeatureServer&service=Transportation/Higway&layer=0