[Freegis-list] Re: Query : Problem with .shp point coordinates

Don Dietrick dietrick at bbn.com
Sun Feb 16 03:27:09 CET 2003


> On Tue, Feb 04, 2003 at 10:14:10AM -0000, Shailesh Ganatra wrote:
>> I'm working in GIS field, and trying to read format of .shp file
>> programmatically. I know the format of .shp file and I can read
>> header and all structures and infromation relating to them.
>>
>> But the problem is that I got very large values for the
>> coordinates.
>
> if I understand it correctly, you implemented a shapefile
> reader yourself.
>
> There are already various shapefile libraries available
> as Free Software. The most famous one is shapelib
> by Frank Wamerdam, but there are solutions in Java as well.
>
> If you don't want to use one of those implementations,
> you could at least use them to learn how they avoid/solve
> the problems you faced.
>

Also, the shape file may contain geometry represented in projected 
coordinates, and not in decimal degree lat/lon values.

- Don

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick at bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




More information about the Freegis-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)