linz / gazetteer

New Zealand Gazetteer of official place names
http://www.linz.govt.nz/regulatory/place-names/find-name/new-zealand-gazetteer-official-geographic-names/new-zealand-gazetteer-search-place-names#zoom=0&lat=-41.14127&lon=172.5&layers=BTTT
Other
2 stars 2 forks source link

Vector geometry with a Z value not recognised by Gazetteer plugin #237

Open CMKMS-LINZ opened 3 years ago

CMKMS-LINZ commented 3 years ago

Bug Description

This is the same issue as #219 again. In that issue, the plugin was unable to recognise Multi-line/polygon/points.

I have now found that any vector geometry with a Z value has the same problem. This is worked around relatively easy as vector data can be saved without the Z data included, but it adds extra steps and clutter.

Ideally, the user should be able to add the vector data as the plugin would ignore everything other than the x,y geometry.

Steps to reproduce

  1. Open a name
  2. Add a point, line, or polygon layer with Z values. In this instance, I had generated a channel network with SAGA tools from a LiDAR dataset, in order to add river centreline geometry to names which was more accurate than the Antarctic Topo50 1:50k scale vector data
  3. Get dialogue box that fails to enumerate the geometry (screenshot below)
  4. Click OK
  5. Nothing happens, no geometry added.

Workaround

  1. Re-export the data and untick the Z value.
  2. Add to Gazetteer

Desktop

Screenshots

image