OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2012-02-13 11:58:04

Mr_Israel
Moderator
From: Israel, Germany
Registered: 2009-03-02
Posts: 468

A Israel bot to standarize OSM data

We should take care of very important things instead of running through the map and doing a copy of name to name:he.

So I would like to suggest a kind of bot that is taking care of some things in Israel and doing some automatic fixings:

Suggestions:

- adding "name:he=...." if the name tag already exists and if its in Hebrew only.
- adding fixings of brand vs operator all over Israel
- fixing the shortcuts of street, footway etc. Currently we have sometimes written a shortcut, and sometimes the long version.
- Logging of changes into a wiki page, to see if the bot goes wild and changing wrong things.
- Bot will only start every X weeks and it is announced before it starts its job smile Maybe twitter ?


TalKat has run once a script fixing all name:he values.
But this is a while ago and he is not answering anymore regarding the OSM project sad


@yrtimiD: You asked how to create such a bot. Here are some links:

- http://help.openstreetmap.org/questions … e-osm-data
- http://wiki.openstreetmap.org/wiki/User_talk:Xybot
- http://wiki.openstreetmap.org/wiki/Osmosis/TagTransform
- http://wiki.openstreetmap.org/wiki/FR:R … traitement



I'm not able to program such a bot by myself but if the connections are existing I'm willing and able to configure or adjust things.

Anybody interested in this kind of project?

Offline

#2 2012-02-17 01:16:26

yrtimiD
Moderator
From: Israel
Registered: 2010-10-08
Posts: 135

Re: A Israel bot to standarize OSM data

Currently i'm quite busy on another osm-related project, but soon i'll be abble to check this.

Offline

#3 2012-08-07 17:36:44

yrtimiD
Moderator
From: Israel
Registered: 2010-10-08
Posts: 135

Re: A Israel bot to standarize OSM data

Is exists any method to extract only data within Israel borders?

Offline

#4 2012-08-07 17:45:29

Mr_Israel
Moderator
From: Israel, Germany
Registered: 2009-03-02
Posts: 468

Re: A Israel bot to standarize OSM data

good question... experiencing the same problem.
Streets from Jordan, Syria and Libanon are in the Geofabrik export named Israel/Palestine...

Can't we use the israel.poly from this Cloudmade?
http://downloads.cloudmade.com/asia/western_asia/israel

Offline

#5 2012-08-07 17:55:23

Mr_Israel
Moderator
From: Israel, Germany
Registered: 2009-03-02
Posts: 468

Re: A Israel bot to standarize OSM data

Just checked it and the output has half the size:

osmconvert israel_motorway.o5m -B=israel.poly --csv="@id @lon @lat highway ref name name:en" -o=israel_motorway.csv

In my first overview there are really only israeli roads included.

And if you want to start with one small area only you can use the extracts for:
-   Golan
-   Hadarom
-   Haifa
-   Hamerkaz
-   Hazafon
-   Jerusalem
-   Tel Aviv

Last edited by Mr_Israel (2012-08-07 17:56:41)

Offline

#6 2012-08-07 17:58:21

yrtimiD
Moderator
From: Israel
Registered: 2010-10-08
Posts: 135

Re: A Israel bot to standarize OSM data

Mr_Israel wrote:

good question... experiencing the same problem.
Streets from Jordan, Syria and Libanon are in the Geofabrik export named Israel/Palestine...

Can't we use the israel.poly from this Cloudmade?
http://downloads.cloudmade.com/asia/western_asia/israel

Niiiice! Thanks!

Offline

#7 2012-08-08 08:46:59

Mr_Israel
Moderator
From: Israel, Germany
Registered: 2009-03-02
Posts: 468

Re: A Israel bot to standarize OSM data

I saw that the Israeli Poly file includes the United Nations Disengagement Observer Force Area between Syria and Israel that is controlled by Syria.
So you will have strange results... I opened a issue at cloudmade and ask to change it (http://developers.cloudmade.com/issues/show/1177).

Beside that a tip:
You should also include the westjordanland *.poly in your query as I expect Israel to be taking care of the streets there:
http://downloads.cloudmade.com/asia/wes … /west_bank

Gaza should be not part of our business :-)

Last edited by Mr_Israel (2012-08-08 08:55:17)

Offline

#8 2012-08-08 09:24:48

yrtimiD
Moderator
From: Israel
Registered: 2010-10-08
Posts: 135

Re: A Israel bot to standarize OSM data

Yesterday I used israel.poly to process all gas stations and I think it was successful.

I see we just need to define our poly of region we want to manage. Does anybody know any comfortable tool to create poly files?

Offline

#9 2012-08-08 09:34:14

Mr_Israel
Moderator
From: Israel, Germany
Registered: 2009-03-02
Posts: 468

Re: A Israel bot to standarize OSM data

There seem several tools outside... never tested it.

Check out the section "Converting to/from POLY format" from the following wiki page.
http://wiki.openstreetmap.org/wiki/Osmo … ile_Format

Here is one example:
http://www.geocaching-dresden.de/tools/gpx-to-poly
or this Perl Script: http://wiki.openstreetmap.org/wiki/Boundaries.pl

Offline

#10 2012-08-27 09:10:05

Re: A Israel bot to standarize OSM data

Offline

Board footer

Powered by FluxBB 1.4.8
Hosting sponsored by Oxilion