Modify

Opened 12 years ago

Last modified 10 months ago

#2372 assigned enhancement

Add GeoTIFF support

Reported by: dalkvist Owned by: Don-vip
Priority: normal Milestone:
Component: Core Version:
Keywords: geotiff java11 Cc:

Description (last modified by Don-vip)

JOSM should support GeoTIFF:

  • Java supports TIFF out of the box since JEP 262 included in Java 9, so we just have to code the "Geo" part
  • GeoTIFF is an OGC standard since 2019
  • Projection grids will soon be provided in GeoTIFF format, see #18733

I have made a first version of geotiff support, it assumes that the (geo)tiff images are in the WGS84 projection.

Depends on GeoTools library.

Attachments (1)

geotiff.patch (9.1 KB) - added by dalkvist 12 years ago.

Download all attachments as: .zip

Change History (18)

Changed 12 years ago by dalkvist

Attachment: geotiff.patch added

comment:1 Changed 12 years ago by stoecker

Summary: Geotiff as background layer[PATCH] Geotiff as background layer

Probably this is better done in WMS plugin? I don't like the geotools deps in main josm.

comment:2 Changed 12 years ago by stoecker

Owner: changed from team to dalkvist
Status: newneedinfo

Will you change this to be a part of WMS or an own plugin?

comment:3 Changed 12 years ago by anonymous

Component: CorePlugin

comment:4 Changed 12 years ago by stoecker

Owner: changed from dalkvist to team
Status: needinfonew
Summary: [PATCH] Geotiff as background layerGeotiff as background layer

Wont go into JOSM main. Leaving as new until made into a plugin.

comment:5 Changed 11 years ago by HamishB <hamish_b@…>

would you consider it with a dependency on GDAL instead? (GDAL+OGR is the de facto gold standard, also supports almost every other geodata format out there, including Shapefiles)

http://www.gdal.org/formats_list.html
http://www.gdal.org/ogr/ogr_formats.html

Setting up a localhost GeoServer instance for WMS support is absolutely no easy substitute for the average OSMer!

thanks,
Hamish

GRASS GIS/OSGeo/DebianGIS/GpsDrive dev teams

comment:6 Changed 11 years ago by HamishB <hamish_b@…>

(for example, I have local aerial photos in GeoTIFF format which would be very useful to use, and last month we helped out with creating kml+geotiffs for the Chilean earthquake satellite extracts)

comment:7 Changed 11 years ago by HamishB <hamish_b@…>

comment:8 Changed 9 years ago by bastiK

Component: PluginPlugin piclayer
Description: modified (diff)
Owner: changed from team to Larry0ua
Summary: Geotiff as background layer[patch] Geotiff as background layer

Could be added to piclayer plugin.

comment:9 Changed 9 years ago by stoecker

Summary: [patch] Geotiff as background layer(patch) Geotiff as background layer

comment:10 Changed 2 years ago by Don-vip

Owner: changed from Larry0ua to rebsc

comment:11 Changed 15 months ago by Don-vip

Component: Plugin piclayerCore
Description: modified (diff)
Keywords: java11 added
Owner: changed from rebsc to Don-vip
Priority: minornormal
Status: newassigned
Summary: (patch) Geotiff as background layerAdd GeoTIFF support

comment:12 Changed 11 months ago by anonymous

Just wondering, is there any ETA on this?

comment:13 Changed 11 months ago by Klumbumbus

No, currently nobody is working on this.

comment:14 Changed 10 months ago by anonymous

Noted, thank you for the response.

I am currently using the Import Image plugin to get this functionality, but performance with large files (1Gb+) if very slow and I have to run JOSM with -Xmx4096M parameter to stop it from crashing. Would be amazing if this ticket could some day fix these issues.

comment:15 Changed 10 months ago by Don-vip

It's on my radar on long term plan, unless someone beats me to do it. I have not yet planned when I will start to work on it. So no ETA.

I can only say there is about 0% chance I work on this before we switch to Java 11.

Last edited 10 months ago by Don-vip (previous) (diff)

comment:16 in reply to:  14 Changed 10 months ago by skyper

Replying to anonymous:

Noted, thank you for the response.

I am currently using the Import Image plugin to get this functionality, but performance with large files (1Gb+) if very slow and I have to run JOSM with -Xmx4096M parameter to stop it from crashing. Would be amazing if this ticket could some day fix these issues.

You could try to set up your own local imagery server to provide parts as tiles. Did similar once with "AeroWest" images where I had to download each tile on each zoom level separately but this was years ago. Sadly, the georeferenced aerial images are not available anymore.

Last edited 10 months ago by skyper (previous) (diff)

comment:17 Changed 10 months ago by stoecker

Setting up mapserver for a GeoTIFF on Unix is relatively easy. Result then either is a WMS or TMS.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Don-vip.
as The resolution will be set.
to The owner will be changed from Don-vip to the specified user.
The owner will change to dalkvist
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.