Re: [OpenMap Users] CSVFile problem

From: Don Dietrick <dietrick@bbn.com>
Date: Tue Feb 03 2004 - 08:22:22 EST

Hi Mark,

On Feb 3, 2004, at 4:02 AM, Gatrell, Mark (UK) wrote:

>
> Hi Don
>
> I am having trouble getting my application to run on my target
> machine.
>
> I have developed a demonstrator on my development machine and am now
> deploying it to my target machine.
>
> All works well except that I cannot get the CSVTiledImagePlugin to
> pick up my jpg map images.

Does a browser running on the target machine display the image as
referenced in the URL in the csv file?

- Don

>
> The directory structures and files are direct copies of the
> development machine.
>
> I have included the error message reported.. I have noticed before
> that this error message is also given if the image is not where the
> imagelocation file says it is. In this case however I have ensured
> that the file is in the correct place!.
>
> Have you any idea's what else could cause this problem?
>
> Your help is appreciated and might stop me going mad!
>
> Thanks again
>
> Regards Mark.
>
>
> This is the output using debug = tiledimage CSV...
>
>
> OpenMap(tm) Version 4.5.4
> Copyright (C) BBNT Solutions LLC. All rights reserved.
> See http://openmap.bbn.com/ for details.
>
> CSVTIPI: file: data/Images/ImageLocation.txt
> CSVTIPI: file has header: false
> CSVTIPI: getRectangle
> CSVFile.read: [51.655, 0.303, 51.478, 0.623,
> file://C:/OrdnanceSurveyMapdata/1to50000/DATA/TQ/TQ68/TQ68simTM.jpg]
> CSVFile: read in 1 records
> CSVTIPI: record: [51.655, 0.303, 51.478, 0.623,
> file://C:/OrdnanceSurveyMapdata/1to50000/DATA/TQ/TQ68/TQ68simTM.jpg]
> Image Layer|PlugInLayer.PlugInWorker.construct():
> java.lang.IllegalArgumentException: Width (-1) and height (-1) cannot
> be <= 0
> java.lang.IllegalArgumentException: Width (-1) and height (-1) cannot
> be <= 0
> at
> java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown
> Source)
> at java.awt.image.BufferedImage.<init>(Unknown Source)
> at com.bbn.openmap.omGraphics.OMScalingRaster.setImage(Unknown
> Source)
> at com.bbn.openmap.omGraphics.OMScalingRaster.<init>(Unknown
> Source)
> at
> com.bbn.openmap.plugin.CSVTiledImagePlugIn.loadTiles(CSVTiledImagePlugI
> n.java:241)
> at
> com.bbn.openmap.plugin.CSVTiledImagePlugIn.getRectangle(CSVTiledImagePl
> ugIn.java:153)
> at com.bbn.openmap.plugin.PlugInLayer.prepare(Unknown Source)
> at
> com.bbn.openmap.plugin.PlugInLayer$PlugInWorker.construct(Unknown
> Source)
> at com.bbn.openmap.util.SwingWorker$2.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> serial port initialised
> serial port initialised
> CSVTIPI: getRectangle
>
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
> --
> [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"]
>

--
[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 Tue Feb 3 08:24:33 2004

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