Giter Club home page Giter Club logo

osm_address_db's People

Contributors

britiger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

dooley

osm_address_db's Issues

Setting updateflag

A new entry in the database config_values should be added for programs using the database where you can see that an update process is running or not.

Replace MatView import.city_suburb

The materialized view import.city_suburb can be replaced by a simple view using the tables import.osm_admin_hierarchy and import.osm_admin_city

Massive usage of memory

Using the imposm3 branch this tool during first "copy elements" it uses more memory than osm2pgsql
e.g. Germany osm2pgsql: 5GB imposm3: >25GB with shared memory 4GB + work mem 1GB

export of data

Create a Script for exporting data for an city and/or postal-code as textfile or HTML:

  • list of addresses without postcode/city
  • list of addresses without assigned street (direct or relation)
  • display list of house numbers by street
    • every number
    • cobined numbers (first - last)
  • choosing suburb

Check overlapping areas

-946195;"Ziesar";"Magdeburgerforth";-3724543;9

-422435;"Luckenwalde";"Woltersdorf";-4192779;9
-422434;"Nuthe-Urstromtal";"Woltersdorf";-4192779;9

Save Update URL in Database

There should be a machnism to save the URL for diffs in the database, so it's save for update if you have more instances.

Modify web.update_invalid_addresses for addr:suburb on roads

Modify web.update_invalid_addresses functions to find addresses which doesn't match to road with no addr:suburb or a road with equal addr:subrub

For all samples:
address addr:street=Dorfstraße, addr:suburb=Nattwerder

Sample 1:
road1 name=Dorfstraße, addr:subrub=Satzkorn
road2 name=Dorfstraße, addr:suburb=null
=> Valid address, match with road2, cause null accept all addr:suburb of addresses

Sample 2:
road1 name=Dorfstraße, addr:subrub=Satzkorn
road2 name=Dorfstraße, addr:suburb=Werder
=> Invalid address, doesn't match with any road, they have different addr:suburb values, no null value found

Getting Error while apply associatedStreet

Apply relations type=associatedStreet ...
psql:sql/applyAssociatedStreet.sql:19: ERROR: upper bound of FOR loop cannot be null
CONTEXT: PL/pgSQL function getmembersroletype(text,text,text[]) line 8 at FOR with integer loop variable

Operation on mixed SRID geometries

Error while update using PostgreSQL 12
psql:sql/importUpdateMatViewsFull.sql:11: ERROR: LWGEOM_dwithin: Operation on mixed SRID geometries (Polygon, 0) != (Polygon, 3857)

Imprint is down

https://addresses.lorenz.lu/oad_dach/impress show

Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Sun Mar 31 13:50:06 CEST 2019
There was an unexpected error (type=Not Found, status=404).
No message available

Also, I suggest "imprint" over "impress" for the URL.

Smaller update for addresses

If starting osmupdate.sh addresses the scripts shouldn't remove calculated addr:city, addr:country and addr:postcode.
Solution:
while update with parameter addresses it should save all data from update_* tables into a separate table and remove them from the update_* tables. While starting next osmupdate.sh full, the saved date sould be restore into update_* tables.

Integrate with iD editor validation framework via API

Recently, the iD editor added validation layers / Q/A-layers.
They allow mapper to see validation issues inside the mapping UI and fix them right away.
The github-tickets list for "validation" provides an overview of validation layers / Q&A-layers (but also inline validation).

This data set looks like a great addition to this validation list.

However, as far as i can see this app needs an API first, that would allow the iD editor to show and finish the issues. Things like

  • list all issues for a given bounding box
  • per issue, a list all features that area involved (iD can then over+highlight the roads/houses that are "involved" with the issue)
  • provide an issue type id that can be used for translations inside of iD
  • allow Id to mark issues as "ignored" or "solved" (similar to the KeepRight solution)
  • a unique issue id and permalink that can be used by iD to link to the issue and also reference it inside the changeset-tags.

On the other hand – since the dataset is limited to a few countries –, iD probably needs to extend the feature that lists all available validation layer to be map-location-sensitive. Like with the "Deutsche Bahn" data layer that iD only shows in Germany.


PS, thanks for the tool and the update at https://www.youtube.com/watch?v=AIBi2aD-4n0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.