Re: [OpenMap Users] Can't open SHP

From: Don Dietrick <dietrick@bbn.com>
Date: Fri Jun 04 2004 - 08:22:23 EDT

Hi Rubén,

On Jun 4, 2004, at 7:55 AM, Rubén Ruiz wrote:

> Hi Don,
>
> The coordinates are not in decimal degrees, do you know how can i
> convert
> between utm to lat/lon? Maybe using fme?

You could modify the com.bbn.openmap.layer.shape.*record files that
read in coordinates and create OMGraphics to use the
com.bbn.openmap.proj.coords.UTMPoint to convert them to decimal degrees
on the fly.

> Having the DWG/DXF files from autocad...do you know any other kind of
> file i
> could use to represent my layers?

No, I'm afraid I don't know of any.

> I apologize for my poor english.

Your English is fine, much better than I could do in any other. :)

Regards,

Don

>
> -----Mensaje original-----
> De: Don Dietrick [mailto:dietrick@bbn.com]
> Enviado el: viernes, 04 de junio de 2004 13:48
> Para: Rubén Ruiz
> CC: openmap-users@bbn.com
> Asunto: Re: [OpenMap Users] Can't open SHP
>
> Hi Rubén,
>
> I'm not sure why the ESRILayer would be able to display your shape
> file, but
> the ShapeLayer wouldn't. If you run the SpatialIndex class on your ssx
> file, do the bounding box coordinates make sense (are they decimal
> degrees)?.
>
> java com.bbn.openmap.layer.shape.SpatialIndex -d -b <ssx>
>
> - Don
>
> On Jun 1, 2004, at 7:05 PM, Rubén Ruiz wrote:
>
>> Hi,
>>
>> I'm new to openmap. I've tried to open a few shp files with openmap
>> and i can't see anything.
>> I've read the manual, and i've made de ssx file. When I try to load
>> the ShapeLayer I only see the backgroundo color. Those files came from
>> AutoCAD (DXF)--->CAD2SHAPE(SHP). I can't get this working.
>>
>> Do I have to use another kind of Layer to load SHP? (I can load the
>> SHP
>> examples) I've tried to load with ESRILayer and I can see my layer but
>> deformed, and it works quite slower.
>>
>> Can anyone help me?
>>
>> Thanks in advance,
>> Rubén.
>>
>>
>> --
>> [To unsubscribe to this list send an email to "majdart@bbn.com"
>> with the following text in the BODY of the message "unsubscribe
>> openmap-users"]
>>
>>
>
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, dietrick@bbn.com
> BBN Technologies, Cambridge, MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
>

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

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Jun 4 08:22:55 2004

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:38 EDT