[postgis-users] Exporting to Shape file from Java
egouge at refractions.net
Mon Mar 27 13:37:44 PST 2006
A few options for writing to Shapefiles from java:
* Geotools (http://www.geotools.org/) - I believe there is a ShapefileDataStore
(http://www.geotools.org/display/GEOTOOLS/Data+Writing has a bunch of examples which may be of help).
* JUMP/JTS (www.jump-project.org) The JUMP package includes a ShapeFileWriter (and reader).
There are likely many others too.
Graham Stewart wrote:
> I have an application that does some spatial processing using PostGIS
> and needs to be able to output a shape file. I can certainly do this
> using pgsql2shp although that's not ideal as it would require to be
> distributed with the java application to potentially different platforms.
> Is there either a way to create the shape file from java or a sql
> command that will invoke pgsql2shp on the server that I could use to
> write the shape files to a shared directory?
> postgis-users mailing list
> postgis-users at postgis.refractions.net
More information about the postgis-users