Ogre

ogr2ogr web client



Convert to GeoJSON

Must be a supported format

Convert from GeoJSON

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 (like OpenLayers).

What formats does it support?

Currently Ogre supports the following transformations:

TypeSingle File FormatZipped (.zip) File FormatNotes
BNA.bna-
CSV.csv-Common spatial columns (e.g. lon, lat, the_geom) will be translated, for less common, use a VRT file
DGN.dgn-
DXF.dxf-
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
GMT.gmt-
KML / KMZ.kml or .kmz-
MapInfo-.tab, .map, .id, and .dat
VRT-.vrt with any other spatial fileFor more information on how to use VRT files, see the full VRT documentation

What are its limitations?

Ogre currently has an output size limit of 15MB.

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

http://ogre.adc4gis.com/convertJson with 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.

Where did you get that sweet logo?

"Orc Head" drawing by Jason J. Patterson