[gdal-dev] GeoJSON2SHP and SHP2GeoJSON Java library

Frank Warmerdam warmerdam at pobox.com
Tue Jun 1 16:05:47 EDT 2010


Lopes, Jose wrote:
> Hi,
> 
>  
> 
> I am searching for a pure Java library to convert GeoJSON objects into 
> ESRI Shapefiles and vice-versa, preferably open source…
> 
>  
> 
> Up to the moment I found only ogr2ogr with Java binding and the ArcGIS tools to do this task.
> 
>  
> 
> But I think somebody out there should have made this before with a pure Java library that can be used independently of any other COTS or exe, like a jar file…
> 
>  
> 
> Does anybody know of any project like that?

Jose,

I would suggest looking at GeoTools.  It has at least good shapefile code.
It may also have GeoJSON support.  If not, you might have to implement that
part yourself.

Good luck,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list