I'm working on a geographic information system project, whose products form shapefile. I am using java language, and PostGIS database. Is there a way to generate a shp file from PostGIS or kml using java language?

  • The easiest way to do it with any language is running the appropiate tool. – Jakub Kania Jun 20 '14 at 17:09
  • is there any example or tutorial or reference? – user28344 Jun 20 '14 at 17:22
  • Maybe this Q/A may help, gis.stackexchange.com/questions/34600/… – artwork21 Jun 20 '14 at 17:41
  • This was marked as a duplicate, but there are no Java solutions in the question it was marked as a duplicate of. – Peter Jul 14 '16 at 0:20

You might want to take a look at GeoTools http://geotools.org/. It is the one open source GIS package in Java that I know of.

Not the answer you're looking for? Browse other questions tagged or ask your own question.