ogr2ogr web client

Convert to GeoJSON

Must be a supported format. See below.

Note: GeoJSON can only support one layer

Convert from GeoJSON

Note: Shapefiles can only support one geometry type

What is Ogre?

Ogre is a web client (service) that translates spatial files into GeoJSON using the ogr2ogr command line tool for use in JavaScript web applications and frameworks.

What formats does it support?

Currently Ogre supports the following transformations:

TypeSingle File FormatZipped (.zip) File FormatNotes
CSV.csv-Common spatial columns (e.g. lon, lat, the_geom) will be translated, for less common, use a VRT file
ESRI Shapefile-.shp, .dbf, and .shx (.prj optional)
GeoConcept.gxt or .txt-
GeoJSON.json or .geojson-
GeoRSS.rss, .georss, or .xml-
GML.gml.gml and .xsd
Interlis 1.itf.itf and .ili (.fmt optional)
KML / KMZ.kml or .kmz-
MapInfo-.tab, .map, .id, and .dat
S-57.000.000 (.001-.00N optional)
TIGER-at least an .rt1
VRT-.vrt with any other spatial fileFor more information on how to use VRT files, see the full VRT documentation

Accessing Ogre using a POST request

You can perform Ogre transformations directly by making a HTTP POST request:

Convert to GeoJSON

http://ogre.adc4gis.com/convert with the following params:

Convert from GeoJSON to Shapefile (or specified format)

http://ogre.adc4gis.com/convertJson with one of the following params:

Where can I watch the project status, report issues, contribute, or fork the code?

Issues and feature requests can be submitted here and to watch, fork and/or contribute to the project, visit the github page.

"Orc Head" drawing by Jason J. Patterson