Opened 14 years ago
Last modified 12 months ago
#2372 assigned enhancement
Add GeoTIFF support
Reported by: | dalkvist | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | Longterm |
Component: | Core | Version: | |
Keywords: | geotiff java11 | Cc: |
Description (last modified by )
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
- Cloud Optimized GeoTIFF is being used for new imagery on OpenAerialMap
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)
Change History (23)
Changed 14 years ago by
Attachment: | geotiff.patch added |
---|
comment:1 Changed 14 years ago by
Summary: | Geotiff as background layer → [PATCH] Geotiff as background layer |
---|
comment:2 Changed 14 years ago by
Owner: | changed from team to dalkvist |
---|---|
Status: | new → needinfo |
Will you change this to be a part of WMS or an own plugin?
comment:3 Changed 14 years ago by
Component: | Core → Plugin |
---|
comment:4 Changed 14 years ago by
Owner: | changed from dalkvist to team |
---|---|
Status: | needinfo → new |
Summary: | [PATCH] Geotiff as background layer → Geotiff as background layer |
Wont go into JOSM main. Leaving as new until made into a plugin.
comment:5 Changed 13 years ago by
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 13 years ago by
(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 13 years ago by
fyi, Merkaartor (plugin) support:
http://www.mail-archive.com/merkaartor@openstreetmap.org/msg01833.html
comment:8 Changed 12 years ago by
Component: | Plugin → Plugin 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 11 years ago by
Summary: | [patch] Geotiff as background layer → (patch) Geotiff as background layer |
---|
comment:10 Changed 4 years ago by
Owner: | changed from Larry0ua to rebsc |
---|
comment:11 Changed 3 years ago by
Component: | Plugin piclayer → Core |
---|---|
Description: | modified (diff) |
Keywords: | java11 added |
Owner: | changed from rebsc to Don-vip |
Priority: | minor → normal |
Status: | new → assigned |
Summary: | (patch) Geotiff as background layer → Add GeoTIFF support |
comment:14 follow-up: 16 Changed 3 years ago by
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 3 years ago by
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.
comment:16 Changed 3 years ago by
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.
comment:17 Changed 3 years ago by
Setting up mapserver for a GeoTIFF on Unix is relatively easy. Result then either is a WMS or TMS.
comment:18 Changed 12 months ago by
Milestone: | → Longterm |
---|
comment:19 Changed 12 months ago by
Description: | modified (diff) |
---|
comment:20 Changed 12 months ago by
Description: | modified (diff) |
---|
comment:21 Changed 12 months ago by
First step is to fix this issue: https://github.com/drewnoakes/metadata-extractor/issues/278
comment:22 Changed 12 months ago by
PR submitted: https://github.com/drewnoakes/metadata-extractor/pull/586
This will allow JOSM to detect GeoTIFF files easily.
Probably this is better done in WMS plugin? I don't like the geotools deps in main josm.