OSM2World icon indicating copy to clipboard operation
OSM2World copied to clipboard

elevationCalculator=EleTagElevationCalculator config parameter not working

Open raitisbe opened this issue 8 years ago • 1 comments

It seems that since 0.2 version elevationCalculator=EleTagElevationCalculator in properties file isn't taken into account. Testing in conversion/console mode. The gui doesn't gave elevationCalculator menu either. Using 0.1.9 version it positions the buildings according to ele tags.

Fragment of osm file:

<node id="128539276" lon="6.0880025" lat="49.9133893" version="1" changeset="12345" user="nobody" uid="123" visible="true" timestamp="2012-07-20T09:43:19Z"/>
<node id="128539277" lon="6.0883769" lat="49.9132231" version="1" changeset="12345" user="nobody" uid="123" visible="true" timestamp="2012-07-20T09:43:19Z"/>
<node id="128539280" lon="6.0884556" lat="49.9132966" version="1" changeset="12345" user="nobody" uid="123" visible="true" timestamp="2012-07-20T09:43:19Z"/>
<node id="128539282" lon="6.0885200" lat="49.9132680" version="1" changeset="12345" user="nobody" uid="123" visible="true" timestamp="2012-07-20T09:43:19Z"/>
<node id="128539283" lon="6.0886273" lat="49.9133683" version="1" changeset="12345" user="nobody" uid="123" visible="true" timestamp="2012-07-20T09:43:19Z"/>
<node id="128539286" lon="6.0884167" lat="49.9134618" version="1" changeset="12345" user="nobody" uid="123" visible="true" timestamp="2012-07-20T09:43:19Z"/>
<node id="128539289" lon="6.0883893" lat="49.9134361" version="1" changeset="12345" user="nobody" uid="123" visible="true" timestamp="2012-07-20T09:43:19Z"/>
<node id="128539294" lon="6.0881611" lat="49.9135374" version="1" changeset="12345" user="nobody" uid="123" visible="true" timestamp="2012-07-20T09:43:19Z"/>
<way id="13796985" version="1" changeset="12345" user="nobody" uid="123" visible="true" timestamp="2012-07-20T09:43:19Z">
  <nd ref="128539276"/>
  <nd ref="128539277"/>
  <nd ref="128539280"/>
  <nd ref="128539282"/>
  <nd ref="128539283"/>
  <nd ref="128539286"/>
  <nd ref="128539289"/>
  <nd ref="128539294"/>
  <nd ref="128539276"/>
  <tag k="name" v="Hôtel du Moulin"/>
  <tag k="tourism" v="hotel"/>
  <tag k="building" v="hotel"/>
<tag k="ele" v="227"/></way>


raitisbe avatar Aug 08 '17 00:08 raitisbe

The elevation calculation has been rewritten in 0.2, which means that the old configuration parameters don't work anymore. Unfortunately, there's no direct equivalent to the EleTagElevationCalculator in the new system yet.

Things to do:

  • [ ] improve the documentation to reflect that fact
  • [ ] create an equivalent feature in the new elevation calculation system

tordanik avatar Aug 30 '17 21:08 tordanik