Re: [OpenMap Users] strange extents

From: Don Dietrick <dietrick_at_bbn.com>
Date: Tue, 31 Aug 2004 23:08:12 -0400

Hi Robert,

Looks like your shape file contains pre-projected data, which OpenMap
doesn't handle. You could inverse project the coordinates to turn them
into decimal degree lat/lons.

- Don

On Aug 31, 2004, at 10:48 PM, Robert Najlis wrote:

> Hi,
>
> I am trying to display some shapefiles into OpenMap, but I cannot get
> them to display. I think this may have to do with a problem with the
> extents. I used an ESRI layer to load the file. I checked the
> extents using :
>
> EsriGraphicList graphicList = esriLayer.getEsriGraphicList();
> float [] extents = graphicList.getExtents();
> System.out.println("extents: " + extents[0] + " " + extents[1] + " "
> + extents[2] + " " + extents[3]);
>
>
> For two different files that I am having problems with, I got extents
> of:
>
> extents: 90.0 180.0 229236.55 492299.3
>
> and
>
> extents: 90.0 -217026.95 112006.68 -180.0
>
>
> Is there something wrong with the data, or how I am using OpenMap? Do
> you have any suggestions on how I might fix this problem?
>
> Thanks a lot.
>
> Robert
>
>
> --
> [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"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[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 Aug 31 2004 - 23:08:43 EDT

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