Re: [OpenMap Users] Query regarding Shape Files

From: Sedat Acemoglu <support_at_cbspatial.com>
Date: Sat, 5 Feb 2005 11:54:30 +0200

Your data is NOT in lon/lat system, actually it seems UTM. Reproject ypur
data to Lon/Lat system, then it will work.
----- Original Message -----
From: "Chan Kwang Mien" <chankm_at_i2r.a-star.edu.sg>
To: "Don Dietrick" <dietrick_at_bbn.com>
Cc: <openmap-users_at_bbn.com>
Sent: Friday, February 04, 2005 3:13 AM
Subject: Re: [OpenMap Users] Query regarding Shape Files


> hi Don,
>
> I downloaded the roads.shp file from www.geotools.org.
>
> I generated a spatial index from the roads.shp file as follows :
>
> java com.bbn.openmap.layer.shape.SpatialIndex -c roads.ssx roads.shp
>
> and
>
> i also check using
>
> java com.bbn.openmap.layer.shape.SpatialIndex -d -c roads.ssx
>
> and it gives me the following output for the last line :
>
> Record 825: 66850, 40 : 608450.91960898, 4924861.16290276,
> 608461.96373034, 4924891.45383137
>
> I presume that is in decimal degree lat/lon data.
>
> Then i modified the openmap.properties to include
>
> shapePolitical.shapeFile=roads.shp
> shapePolitical.spatialIndex=roads.ssx
>
> But when i tried to display the roads.shp in Openmap, nothing was
> displayed. Besides the roads.shp, I have also
> tried many other shape files. All of them have the same problems.
>
> Could you help me on this ? Thank you.
>
>
> Regards,
> Kwang Mien
>
>
>>Hi Kwang,
>>
>>It depends on the data in the files, OpenMap needs the Shape files to
>>contain decimal degree lat/lon data. There are many places on the web to
>>download data that comes like this, most worldwide data sets are like
>>this. There's an entry in the FAQ on the website for sources to download
>>data.
>>
>>- Don
>>
>>On Feb 2, 2005, at 8:08 PM, Chan Kwang Mien wrote:
>>
>>>hi,
>>>
>>>I have downloaded shape files from many websites, for e.g.
>>>www.geotools.org,
>>>in order to display them in Openmap. But I was not able to display these
>>>shape files.
>>>
>>>Does anyone know of any websites where I could download shape files which
>>>can be
>>>displayed in Openmap.
>>>
>>>Thank you.
>>>
>>>regards,
>>>Kwang Mien
>>>
>>>--
>>>[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"]
>
> --
> [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"]
>

--
[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 Sat Feb 05 2005 - 04:58:46 EST

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