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"]
Received on Fri Oct 15 2010 - 07:57:43 EDT