Re: [Imports] Importing tags for buildings

2018-03-12 Thread Gertjan Idema

Hi Raymond,

You can restrict the amount of data if you only download the required ways:

http://api.openstreetmap.org/api/0.6/ways?ways=261408697,2027616672,20158063352,20158063353 
etc


For large datasets you might consider using a mirror of osm and/or 
download in batches.


Groeten, Gertjan



On 03/03/18 21:07, Raymond Nijssen wrote:

Thank you so much, Max! This looks exactly like what I was looking for.

Regards,
Raymond


On 03-03-18 20:42, Max Erickson wrote:

A straightforward way to do it is to download the area as osm xml and
then process that file to add the new tags following the JOSM file
format:

https://wiki.openstreetmap.org/wiki/JOSM_file_format

You'd add tags to the appropriate ways and set action=modify for those
ways. The round.py script here modifies an existing tag instead of
adding tags, but it shows the general idea:
https://github.com/maxerickson/osm-round-austin


Max

___
Imports mailing list
Imports@openstreetmap.org
https://lists.openstreetmap.org/listinfo/imports




___
Imports mailing list
Imports@openstreetmap.org
https://lists.openstreetmap.org/listinfo/imports



___
Imports mailing list
Imports@openstreetmap.org
https://lists.openstreetmap.org/listinfo/imports


Re: [Imports] Importing tags for buildings

2018-03-03 Thread Raymond Nijssen

Thank you so much, Max! This looks exactly like what I was looking for.

Regards,
Raymond


On 03-03-18 20:42, Max Erickson wrote:

A straightforward way to do it is to download the area as osm xml and
then process that file to add the new tags following the JOSM file
format:

https://wiki.openstreetmap.org/wiki/JOSM_file_format

You'd add tags to the appropriate ways and set action=modify for those
ways. The round.py script here modifies an existing tag instead of
adding tags, but it shows the general idea:
https://github.com/maxerickson/osm-round-austin


Max

___
Imports mailing list
Imports@openstreetmap.org
https://lists.openstreetmap.org/listinfo/imports




___
Imports mailing list
Imports@openstreetmap.org
https://lists.openstreetmap.org/listinfo/imports


Re: [Imports] Importing tags for buildings

2018-03-03 Thread Max Erickson
A straightforward way to do it is to download the area as osm xml and
then process that file to add the new tags following the JOSM file
format:

https://wiki.openstreetmap.org/wiki/JOSM_file_format

You'd add tags to the appropriate ways and set action=modify for those
ways. The round.py script here modifies an existing tag instead of
adding tags, but it shows the general idea:
https://github.com/maxerickson/osm-round-austin


Max

___
Imports mailing list
Imports@openstreetmap.org
https://lists.openstreetmap.org/listinfo/imports