Re: [OpenMap Users] Superfluous conversions when writing Shapefiles

From: Don Dietrick <dietrick_at_bbn.com>
Date: Tue, 23 May 2006 09:41:57 -0400

Hi Peter,

I think I would grab everything in the
com.bbn.openmap.dataAccess.shape package (including the sub-
packages), and move them to a different package location of your
choice. Then, modify the EsriGraphics so they don't do anything to
the coordinates read out of the file.

- Don

On May 23, 2006, at 5:08 AM, Peter Slizik wrote:

>
>
> Dear OpenMappers,
>
> I'm an absolute newbie in the field of GISes, so please apologize
> me, if this
> question is a bit trivial.
>
> I'm developing a simple mapping application and I need to write
> ESRI/Shapefile
> files from within a Java application. There being no single-purpose
> Java
> Shapefile library, I downloaded the OpenMap package. Soon I
> realized it
> requires the input data in radians/degrees. I consider it rather
> troublesome,
> as my input data are in meters and the outputs are also required in
> meters.
> Thus the double conversion to and back from radians is superflous
> and will
> result in loss of precision (converting from integers to floats and
> back to
> int's). Moreover, I don't want to mess with projections, as my data
> are in
> somewhat queer coordinate system. Is there a way to avoid these
> unnecessary
> conversions?
>
> Thank you for your advice,
>
> -- Peter Slizik
>
>
> --
> There's no trick to being a humorist when you have the whole
> government
> working for you. --Will Rogers

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue May 23 2006 - 09:45:49 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT