Opened 7 years ago
Last modified 6 years ago
#15604 new enhancement
Display more metadata for ESRI layer
Reported by: | naoliv | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core imagery | Version: | |
Keywords: | esri metadata | Cc: | IrJidel |
Description
While reading https://github.com/Esri/arcgis-osm-editor/issues/104#issuecomment-347296365 I saw that iD is able to display some informations about the ESRI imagery layer, like this:
Could we also have this when we right-click and then select Show tile info
?
The related iD ticket is https://github.com/openstreetmap/iD/pull/4335
JOSM:
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2017-11-26 14:31:59 +0100 (Sun, 26 Nov 2017) Revision:13170 Build-Date:2017-11-26 13:34:54 URL:http://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (13170 en) Linux Debian GNU/Linux testing (buster) Memory Usage: 935 MB / 7168 MB (420 MB allocated, but free) Java version: 9.0.1+11-Debian-1, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 1600x900, :0.1 1280x1024 Maximum Screen Size: 1600x1024 Java package: openjdk-9-jre:amd64-9.0.1+11-1 Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13 VM arguments: [--add-modules=java.activation,java.se.ee, -Dawt.useSystemAAFontSettings=on] Program arguments: [--language=en]
Attachments (0)
Change History (4)
comment:1 by , 7 years ago
Keywords: | esri metadata added |
---|
comment:2 by , 7 years ago
comment:3 by , 7 years ago
Cc: | added |
---|
comment:4 by , 6 years ago
For Bing the metadata is quite simple to obtain, we just look at this HTTP header:
String str = urlConn.getHeaderField("X-VE-TILEMETA-CaptureDatesRange"); if (str != null) { tile.putValue("capture-date", str); }
For ESRI it requires to call a REST API, it needs a JMapViewer evolution.
Did I just saw an ESRI employee create a pull request to iD? Waw. We have to lobby them so that they create JOSM patches too.