Re: [OpenMap Users] ImageTileLayer world file

From: Don Dietrick <dfdietrick_at_gmail.com>
Date: Fri, 15 Oct 2010 15:17:49 -0400

Hi Tore,

That's good to know about using gdal to create a world file, but the code should be able to handle a geoTIFF without one. I'm not sure why the GeoTIFFImageReaderLoader wasn't being used.

Of course, being projected, OM still wouldn't like it. I've used gdal to reproject images with good luck, though, the resulting image quality was very good. You might want to try it out to see if it works for you.

-- Don

On Oct 15, 2010, at 7:56 AM, Tore Halset <halset_at_pvv.ntnu.no> wrote:

> Hello.
>
> Found a way to create a world file using gdal_translate.
>
> gdal_translate -of GTiff -co "TFW=YES" source dest
>
> However the ImageTileLayer/WorldFile of OpenMap does not handle meter-coordinates. I coulr probably use gdal to unproject it, but it will probably degrade the image as I want to use it in its current projection.
>
> WARNING: Looks like an unsupported projection: WorldFile[x(1115064.566417066), y(4189893.7432489954), xDim(4.2377528222), yDim(-4.2377528222), colRot(0.0), rowRot(0.0)]
>
> - Tore.
>
> On Oct 14, 2010, at 16:34 , Tore Halset wrote:
>
>> Hello.
>>
>> I am trying out ImageTileLayer on a GeoTIFF file.
>>
>> 16:30:10,236 INFO com.bbn.openmap.dataAccess.image.WorldFileImageReader getImageTile
>> INFO: World file for file:/Users/halset/Documents/finland-raster/mk42_300L_euref.tif can't be found.
>>
>> Does it need a world file? How can I create a world file based on the geotiff?
>>
>> Regards,
>> - Tore.
>>
>> --
>> [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"]

--
[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 Oct 15 2010 - 15:25:04 EDT

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