Re: [OpenMap Users] Problem displaying a JPEG file in Openmap

From: Chan Kwang Mien <chankm_at_i2r.a-star.edu.sg>
Date: Thu, 17 Mar 2005 13:09:13 +0800

hi Don,

I am afraid the picture cannot still be displayed.
the picture.csv is put into the /openmap-4.6.1/bin directory. Is that the
correct directory where the csv
file should be in ?
do i need to configure anything in openmap-4.6.1 ? currently, the
background is blue.

Thank you.

regards,
Kwang Mien


>The file is OK, but then your fileHasHeader property should be false.
>
>- Don
>
>On Mar 16, 2005, at 9:11 PM, Chan Kwang Mien wrote:
>
>>hi Don,
>>
>>Thanks for your help.
>>The error message <LayerHandler: Skipped "My_Image" - unable to create>
>>does not appear anymore after
>>changing to capital I.
>>
>>However, the JPEG file is still not displayed.
>>
>>In the picture.csv, there is only one line which is
>>
>>42,-73,40,-72, /pict/picture.jpg
>>
>>Is this the correct way to create the csv file ?
>>
>>Thank you.
>>
>>regards,
>>Kwang Mien
>>
>>
>>
>>
>>>Hi Kwang,
>>>
>>>Does the picture.csv have a header line for the first line that should
>>>be ignored, or does it just contain the lat/lons and the picture path?
>>>
>>>Oh, wait, it's CSVTiledImagePlugIn, capital I in PlugIn.
>>>
>>>- Don
>>>
>>>On Mar 16, 2005, at 8:03 PM, Chan Kwang Mien wrote:
>>>
>>>>hi,
>>>>
>>>>I did the following to display a JPEG file in Openmap-4.6.1 in Linux.
>>>>
>>>>a) I created a picture.csv file. In the picture.csv file, I included
>>>>the line
>>>>42,-73,40,-72, /pict/picture.jpg. And I saved the picture.csv in
>>>>/openmap-4.6.1/bin/
>>>>
>>>>b) next, I modified the openmap.properties file :
>>>>
>>>> openmap.layers=My_IMAGE date dtlayer......
>>>>
>>>>c) Then I added the following properties to the My_IMAGE layer in
>>>>openmap.properties
>>>>
>>>>My_IMAGE.class=com.bbn.openmap.plugin.CSVTiledImagePlugin
>>>>My_IMAGE.prettyName=My Image Layer
>>>>My_IMAGE.tileFile=/openmap-4.6.1/bin/picture.csv
>>>>My_IMAGE.fileHasHeader=true
>>>>
>>>>However, when I ran Openmap, i got the following error :
>>>>
>>>>LayerHandler: Skipped "My_Image" - unable to create
>>>>
>>>>and the JPEG file wasn't displayed.
>>>>
>>>>Does anyone know what the problem is ?
>>>>
>>>>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
>>>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
>
>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>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"]
Received on Wed Mar 16 2005 - 23:59:51 EST

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