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

From: Don Dietrick <dietrick_at_bbn.com>
Date: Wed, 16 Mar 2005 20:53:24 -0500

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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[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 - 20:54:12 EST

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