You can use GeoTools to do this; copy a feature collection from your shapefile into PostGIS; there is an example or two in the documentation of read in a shapefile and write out a shapefile in a different projection; this is similar except that you are writing to postgis.
Jody On 03/09/2010, at 7:33 PM, Jakub Rojek wrote: > hi, > > > I am writing application that will manage my data resources. One of the > element of this application should import shp files to the postgis database. > I wonder if there already exists code that would do it or I need to do it > from scratch. > > > Cheers > > > Kuba > > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
