[OpenMap Users] Fwd: Display of Geotiff file on web browser

From: <subratkrsethi_at_bel.co.in>
Date: Fri, 2 Jul 2010 10:05:52 +0530 (IST)

Hi,

I have already checked getResourceOrFileOrURL method for applet and it is returning the file path. But
I am not able to debug in web browser.

Also changing the 'localhost' to 127.0.0.1 there is no effect on loading the GeoTiff file.

how I can set path in openmap properties file so I can see geotiff file in web browser or any further
suggestions or any other code setting.

Subrat

> Hi Subrat,
>
> I guess the first place I would check is to see of the layer can create a URL for the file, in the loadImages method.
> It all depends on what the getResourceOrFileOrURL method is returning.

> You can turn on debugging for that method by adding a -Ddebug.proputils to the java arguments for the applet.
> Debug.init() needs to be called sometime at the beginning of the application, but if you are extending OpenMap
> application classes that'll be done for you.
>
> Since the file is getting loaded in the IDE, I would think the properties are OK and that OpenMap can handle
> displaying the image once it is found. You might want to change 'localhost' to 127.0.0.1, in case there is a bit of
> applet weirdness going on.
>
> - Don
>
> On Jun 28, 2010, at 6:14 AM, subratkrsethi_at_bel.co.in wrote:
>
>> Hi,
>> After setting following properties in openmap.properties file
>>
>> geotiff.class=com.bbn.openmap.layer.imageTile.ImageTileLayer
>> geotiff.iamgeReaderLoaders=geotiff
>> geotiff.geotiff=com.bbn.openmap.dataAccess.image.geotiff.GeoTIFFImageReader.Loader
>> geotiff.prettyName=GeoTIFF
>> geotiff.imageFilePath=http://localhost:8084/webtcs/test.tif
>> geotiff.imageCacheSize=2000
>>
>> and running Applet through NETBEAN IDE the geotiff file gets loaded and displayed in the Applet viewer
>>
>> but when i try to run through webbrowser by giving
>> <applet codebase="classes" code="WebTCSFile.class" width=350 height=200>
>> </applet>
>>
>> the geotiff file doesnot get loaded.
>>
>> Any body can give some suggestion??
>>
>> Subrat
>>
>>
>> Confidentiality Notice
>>
>> The information contained in this electronic message and any
>> attachments to this message are intended for the exclusive use of
>> the addressee(s) and may contain confidential or privileged
>> information. If you are not the intended recipient, please notify
>> the sender at Bharat Electronics or support_at_bel.co.in immediately
>> and destroy all copies of this message and any attachments.
>>
>> --
>> [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"]
>



Confidentiality Notice

The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of
the addressee(s) and may contain confidential or privileged
information. If you are not the intended recipient, please notify
the sender at Bharat Electronics or support_at_bel.co.in immediately
and destroy all copies of this message and any attachments.


<b><font color ='Red'><a href='http://www.bel-india.com/'>Visit BEL Website</a>Confidentiality Notice

The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of
the addressee(s) and may contain confidential or privileged
information. If you are not the intended recipient, please notify
the sender at Bharat Electronics or support_at_bel.co.in immediately
and destroy all copies of this message and any attachments.

--
[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 Fri Jul 02 2010 - 00:36:05 EDT

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