geoadmin / service-alti

Height/profile services for geo.admin.ch
Other
2 stars 2 forks source link

Webmerc support #39

Open procrastinatio opened 5 years ago

procrastinatio commented 3 years ago

Currently, the original line is converted to distance to the origin (possibly with a simplification) and altitudes are assigned. This was to prevent the theft of valuable DTM data. With OGD, this is no longer necessary.

1/ Assign an altitude z to an input line. Simply return the GeoJSON, KML, or GPX with the altitude corresponding to each point.

2/ As at present, return a distance. How to calculate distances with WGS1984 and pseudo-Mercator datum?