[OpenLayers-Users] ArcGIS GeoJSON export tool

Dejung Gewissler dejung.gewissler at oit.state.nj.us
Mon Apr 21 11:13:39 EDT 2008


Hi All-

I know this doesn't pertain directly to OpenLayers, but hopefully this 
will be of help to someone :) I just uploaded to the arcscripts 
repository [1] an ArcGIS geoprocessing python script that will iterate 
through all the features in a feature class (can be done in ArcMap or 
ArcCatalog) and exports a GeoJSON formatted text file. I used the 
GeoJSON draft version 6 [2] as the output format. It will also output 
either all or the specified attributes of that feature. You can even put 
it in model builder and do some preprocessing of the data (joining data, 
dissolving or simplifing features) before the export.

I needed a way to empower folks in different agencies to test their 
vector data with OpenLayers without having to setup multiple, one-off 
webservices/mapservices just for development purposes. I've got to admit 
that this was selfishly motivated (not wanting to be bothered by a 
multitude of individual requests), so if anyone out there can also 
derive some benefit from this, it would make me feel better :)

[1] http://arcscripts.esri.com/details.asp?dbid=15545
[2] http://wiki.geojson.org/GeoJSON_draft_version_6

If there are any bugs/improvements that people come up with, please let 
me know.
-Dejung
dejung.gewissler *at* oti.state.nj.us



More information about the Users mailing list