... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Other DEM file format ?
#3
(13.01.2021, 13:27)nordlicht Wrote:
(13.01.2021, 11:00)tybern Wrote: Is there a possibility that RC became able to read and use DEM files in other format ? GeoTIFF or BIL/HDR for example ?

Yes, it's possible to extend the supported formats. The ElevationService interface looks like this:
https://github.com/cpesch/RouteConverter...rvice.java

The HGT files as an inspiration is here:
https://github.com/cpesch/RouteConverter...Files.java

(13.01.2021, 13:27)nordlicht Wrote: DEM files are raster data, apart from HGT the only raster file format RC can handle is MBTiles, the only possible projection is web mercator. For anything beyond that I would suggest to use a GIS.

The API to fulfill is

Double getElevationFor(double longitude, double latitude) throws IOException;

with WGS84 coordinates. If @tybern wants to spend time parsing other files which need to be queried with other algorithms – why not try it?
--
Christian
Reply


Messages In This Thread
Other DEM file format ? - by tybern - 13.01.2021, 11:00
RE: Other DEM file format ? - by nordlicht - 13.01.2021, 13:27
RE: Other DEM file format ? - by routeconverter - 13.01.2021, 13:59
RE: Other DEM file format ? - by nordlicht - 13.01.2021, 14:04
RE: Other DEM file format ? - by tybern - 13.01.2021, 14:06
RE: Other DEM file format ? - by tybern - 13.01.2021, 14:08
RE: Other DEM file format ? - by tybern - 13.01.2021, 14:56
RE: Other DEM file format ? - by tybern - 13.01.2021, 17:07
RE: Other DEM file format ? - by tybern - 19.01.2021, 11:16
RE: Other DEM file format ? - by nordlicht - 19.01.2021, 12:17

Forum Jump:


Users browsing this thread: 1 Guest(s)