aspose file tools*
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
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: 136
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: 39551
    
  27
What is a "shape file"? Its not a commonly known file format, so you need to tell us about its structure.


Ping & DNS - updated with new look and Ping home screen widget
Neeba Rebbaca
Ranch Hand

Joined: Oct 21, 2008
Posts: 136
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: 39551
    
  27
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: 136
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: 39551
    
  27
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: 136
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: 39551
    
  27
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
Representing an xml
WA #2 ..... word association
Passing parameter from Web UI to RCP
Help on a program
Question On Comparator