[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] Exporting to Shape file from Java
From:       Emily Gouge <egouge () refractions ! net>
Date:       2006-03-27 21:37:44
Message-ID: 44285B28.9070608 () refractions ! net
[Download RAW message or body]

Graham,

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.

Good luck,
Emily


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?
> 
> thanks
> Graham
> _______________________________________________
> postgis-users mailing list
> postgis-users@postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic