ltog / osmi-addresses

Calculates the Address view of the OSM Inspector
Boost Software License 1.0
11 stars 4 forks source link

Enable regional rules for suspicious house numbers #92

Open ltog opened 8 years ago

ltog commented 8 years ago

This is a follow-up of https://github.com/ltog/osmi-addresses/issues/84 . We should think about possibilities how to enable regional rules for suspicious housenumbers.

Ideas:

  1. See if MapServer allows the Regex to be applied only regionally: https://github.com/ltog/osmi-addresses/blob/1d52e11e8693fd8636c16cc983c5d0cbe4ef809d/mapserver/addresses.local.map#L894 (maybe MapServer expressions ( http://mapserver.org/de/mapfile/expressions.html#mapserver-expressions ) can be used?)
  2. Do the recognition in the C++ code and create a new sqlite layer with those nodes.