*
The moose likes Other JSE/JEE APIs and the fly likes How to parsing a shape file. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How to parsing a shape file." Watch "How to parsing a shape file." New topic
Author

How to parsing a shape file.

Neeba Rebbaca
Ranch Hand

Joined: Oct 21, 2008
Posts: 151
How to parse the shape file in java. I want to read only the data in the shape file. Please help me.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  43
What is a "shape file"? Its not a commonly known file format, so you need to tell us about its structure.


Ping & DNS - my free Android networking tools app
Neeba Rebbaca
Ranch Hand

Joined: Oct 21, 2008
Posts: 151
Its it a vector data for for geographic information systems. I want to parse those file and feed to the database.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  43
So you're talking about the ESRI format? Both OpenMap and GeoTools have Java APIs for reading that.
Neeba Rebbaca
Ranch Hand

Joined: Oct 21, 2008
Posts: 151
We can't use JShape or FShape. I don't want to display any image, just want to pull out the data as x,y,z coordinates. Is OpenMap and GeoTools are free ware and re-distributable?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  43
Is OpenMap and GeoTools are free ware and re-distributable?

Such information is easily found on their respective web sites.
Neeba Rebbaca
Ranch Hand

Joined: Oct 21, 2008
Posts: 151
Both the API are licenced version. Is there any other open source API available? Kindly help me.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  43
Both the API are licenced version. Is there any other open source API available?

You do realize that a "license" could be an "open source license", yes?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to parsing a shape file.
 
Similar Threads
Question On Comparator
Representing an xml
WA #2 ..... word association
Help on a program
Passing parameter from Web UI to RCP