[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 09:03:32 +0800

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"]
Received on Wed Mar 16 2005 - 19:54:53 EST

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