Re: [OSM-talk] Tagwatch and osmxapi-links

2008-07-30 Thread Renaud Martinet
Stephan,

I'm actually working on such a tool. It uses OSMXAPI syntax and
supports extracting from a bounding box but can't handle really large
files yet. I'm in the process of rewriting it so it can be used on
national extracts such as those from Geofabrik. The first tests look
fairly good.
Just drop me an email if you're interested I'll keep you updated.


Renaud.




On Tue, Jul 29, 2008 at 4:38 PM, Stefan Neufeind
[EMAIL PROTECTED] wrote:
 Tom Hughes wrote:
 In message [EMAIL PROTECTED]
 Stefan Neufeind [EMAIL PROTECTED] wrote:

 Trying to wget the data from console

 $ wget http://tagwatch.stoecker.eu/*%5Badopted=*%5D;

 after some waiting actually results in

 Connecting to osmxapi.hypercube.telascience.org|137.110.119.130|:80...
 connected.
 HTTP request sent, awaiting response... 501 Internal Server Error
 2008-07-29 15:09:20 ERROR 501: Internal Server Error.

 Hmm ... I expect it's only just me and the API is working fine? :-)

 The API is working fine thanks, but that isn't the API, it's zappy and
 that is currently down as is well documented.

 Ah, I didn't recognize that. Is there a simple way to download a
 planet.osm (or germany.osm or so) and run an osmxapi locally? Or what
 would be the easiest way to extract all keys/values of a certain type or
 so to easily edit them in JOSM and upload those few after correction?


 Regards,
  Stefan

 ___
 talk mailing list
 talk@openstreetmap.org
 http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


[OSM-talk] Tagwatch and osmxapi-links

2008-07-29 Thread Stefan Neufeind
Hi,

in tagwatch, e.g. at
http://tagwatch.stoecker.eu/Europe/En/tags.html
I see entries that link to adresses like
http://osmxapi.hypercube.telascience.org/api/0.5/*%5Bvalue=LIDL%5D

That page takes quite a while to load but then returns with an empty 
document. Is that a timeout in the api or so? How do people manage to 
use tagwatch to find specific tagged entries (e.g. which need fixing)?


Kind regards,
  Stefan

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Tagwatch and osmxapi-links

2008-07-29 Thread Robert Vollmert
On Jul 29, 2008, at 14:25, Stefan Neufeind wrote:
 in tagwatch, e.g. at
 http://tagwatch.stoecker.eu/Europe/En/tags.html
 I see entries that link to adresses like
 http://osmxapi.hypercube.telascience.org/api/0.5/*%5Bvalue=LIDL%5D

 That page takes quite a while to load but then returns with an empty
 document. Is that a timeout in the api or so? How do people manage to
 use tagwatch to find specific tagged entries (e.g. which need fixing)?

Those links point to XML documents that your browser may (Firefox) or  
may not (Safari) display. Best to download link location and save to  
whatever.osm.

Would make sense to provide some kind of style information to make any  
browser that can handle XML display the data nicely?

Cheers
Robert


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Tagwatch and osmxapi-links

2008-07-29 Thread Stefan Neufeind
Robert Vollmert wrote:
 On Jul 29, 2008, at 14:25, Stefan Neufeind wrote:
 in tagwatch, e.g. at
 http://tagwatch.stoecker.eu/Europe/En/tags.html
 I see entries that link to adresses like
 http://osmxapi.hypercube.telascience.org/api/0.5/*%5Bvalue=LIDL%5D

 That page takes quite a while to load but then returns with an empty
 document. Is that a timeout in the api or so? How do people manage to
 use tagwatch to find specific tagged entries (e.g. which need fixing)?
 
 Those links point to XML documents that your browser may (Firefox) or 
 may not (Safari) display. Best to download link location and save to 
 whatever.osm.
 
 Would make sense to provide some kind of style information to make any 
 browser that can handle XML display the data nicely?

Hi,

my firefox (ff3) doesn't display anything here, but also no error or 
something. And there is nothing in the document it downloaded (view 
document source).

Trying to wget the data from console

$ wget http://tagwatch.stoecker.eu/*%5Badopted=*%5D;

after some waiting actually results in

Connecting to osmxapi.hypercube.telascience.org|137.110.119.130|:80... 
connected.
HTTP request sent, awaiting response... 501 Internal Server Error
2008-07-29 15:09:20 ERROR 501: Internal Server Error.

Hmm ... I expect it's only just me and the API is working fine? :-)

   Stefan

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Tagwatch and osmxapi-links

2008-07-29 Thread Tom Hughes
In message [EMAIL PROTECTED]
Stefan Neufeind [EMAIL PROTECTED] wrote:

 Trying to wget the data from console

 $ wget http://tagwatch.stoecker.eu/*%5Badopted=*%5D;

 after some waiting actually results in

 Connecting to osmxapi.hypercube.telascience.org|137.110.119.130|:80... 
 connected.
 HTTP request sent, awaiting response... 501 Internal Server Error
 2008-07-29 15:09:20 ERROR 501: Internal Server Error.

 Hmm ... I expect it's only just me and the API is working fine? :-)

The API is working fine thanks, but that isn't the API, it's zappy and
that is currently down as is well documented.

Tom

-- 
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Tagwatch and osmxapi-links

2008-07-29 Thread Stefan Neufeind
Tom Hughes wrote:
 In message [EMAIL PROTECTED]
 Stefan Neufeind [EMAIL PROTECTED] wrote:
 
 Trying to wget the data from console

 $ wget http://tagwatch.stoecker.eu/*%5Badopted=*%5D;

 after some waiting actually results in

 Connecting to osmxapi.hypercube.telascience.org|137.110.119.130|:80... 
 connected.
 HTTP request sent, awaiting response... 501 Internal Server Error
 2008-07-29 15:09:20 ERROR 501: Internal Server Error.

 Hmm ... I expect it's only just me and the API is working fine? :-)
 
 The API is working fine thanks, but that isn't the API, it's zappy and
 that is currently down as is well documented.

Ah, I didn't recognize that. Is there a simple way to download a 
planet.osm (or germany.osm or so) and run an osmxapi locally? Or what 
would be the easiest way to extract all keys/values of a certain type or 
so to easily edit them in JOSM and upload those few after correction?


Regards,
  Stefan

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Tagwatch for europe

2008-07-06 Thread Etric Celine
I've updated the site.
* Images are available on the Key/Tag pages
* Osmarender examples for every documented tag
* integration of the osmxapi to get data.osm files

At the moment i ignore the Bounding box, but i will implement this based on 
the used .osm file later to get results just for the parts that are 
interresting.

Nonetheless, this approach works good in the first place to fix some of the 
errors, just don't try to get all tags with the Key highway or something like 
this, could take a while ;)


Am Samstag, 5. Juli 2008 15:38:42 schrieb Mike Collinson:
 That would be great. I am very slowly working on a Perl web-based
 correction page that goes to osmxapi. I can scrape you page and its links
 while developing.

I'd be glad to implement your idea, just mail me the informations about it as 
soon as you have something to work with and I'll start to integrate it.

Jörg

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Tagwatch for europe

2008-07-05 Thread Gervase Markham
Pieren wrote:
 Yes, I like also the 1 buildinge, the 3 buildings, the 2 buildingy, the
 1 buildng, the 4 buildning, the 1 buildong, the 3 builduing, the 18 (!)
 buildung, the 1 builing, the 2 buillding.

What we really need is a tagwatch where you can click one of those,
correct it, and it fixes all instances in the database. Now _that_ would
be powerful and useful.

Gerv


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Tagwatch for europe

2008-07-05 Thread Etric Celine
Am Samstag, 5. Juli 2008 09:54:38 schrieb Gervase Markham:

 What we really need is a tagwatch where you can click one of those,
 correct it, and it fixes all instances in the database. Now _that_ would
 be powerful and useful.

I can offer a direct link to the osmxapi which gives you a data.osm file with 
the elements. This can then be loaded in JOSM and corrected.

A direct possibility to change the tags through a web interface would surely 
be the best way, but as first step this should be enough.

I'll update the Tagwatch site on sunday night again with this and other 
changes I've made.

Cheers 
Jörg



___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Tagwatch for europe

2008-07-05 Thread Mike Collinson
At 11:47 AM 5/07/2008, Etric Celine wrote:
Am Samstag, 5. Juli 2008 09:54:38 schrieb Gervase Markham:

 What we really need is a tagwatch where you can click one of those,
 correct it, and it fixes all instances in the database. Now _that_ would
 be powerful and useful.

I can offer a direct link to the osmxapi which gives you a data.osm file with 
the elements. This can then be loaded in JOSM and corrected.


That would be great. I am very slowly working on a Perl web-based correction 
page that goes to osmxapi. I can scrape you page and its links while 
developing. 

Mike



___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Tagwatch for europe

2008-07-03 Thread Michael Collinson
Etric, Thank you very much for this and continuing to work on it.

It may be that working in UNIX Operating System 
debugging for a few years has turned my brain 
peculiar, but I certainly find it fascinating 
browsing through the tags folks have been using. 
http://etricceline.de/osm/Europe/En/tags.htm

It is certainly turning into a very useful 
adjunct to the Map Features proposal process 
(sorry, Frederick, adjunct not replacement :-) 
).  The building= tag, stalled as a proposal, has 
developed a fairly finite coherent set of values 
just by being used. I've used 'palace' twice and 
notice that up to 38 other people have thought of exactly the same thing.

building=
yes (100873), residential (2027), detached 
(1876), apartments (1362), block (912), true 
(572), university (502), school (324), warehouse 
(317), hall (311), barn (268), building (210), 
commercial (208), farm (182), house (177), 
industrial (174), hospital (171), flats (156), 
garages (150), retail (142), church (131), store 
(125), public (112), train_station (109), semi 
(107), office (106), castle (98), supermarket 
(94), terrace (88), garage (83), tower (80), 
city_hall (70), stadium (69), station (67), hotel 
(57), museum (55), glasshouse (52), shop (49), 
place_of_worship (46), recreation (45), palace 
(40), hall_of_residence (39), bunker (37), 
factory (36), shed (36), wall (33), appartments 
(29), stables (27), prison (26), pavillion (26)

Also,

building:use=
 residental (109), residential (95), 
education (22), offices (21), office (14), 
Residential (14), flat (13), Hospital (11), sport 
(11), Retail (8), shop (8), retail (6), Flat (6), 
commercial (5), Parking (5), association (5), 
parking (4), Office (4), Leisure (2), Residental 
(1), industrial (1), education;partying (1), 
Pavillion (1), Offices (1), supermarket (1), 
garage (1), Factory (1), offices;retail (1), 
Medical Research (1), Shop (1), Recreation (1), 
school (1), manse (1), exhibition hall (1), 
Commercial (1), bus_garage (1), warehouse (1)

building:type=
apartments (157), Hangar (61), greenhouse (38), 
residential (29), fuel_station (23), commercial 
(15), tank (14), fuel_station_shop (14), House 
(8), house (7), supermarket (5), Complex (5), 
toll_booth (5), fuelstation (4), restaurant (3), 
mall (3), hall (3), wall (2), y (2), stadium (2), 
Station (2), dam (2), church (2), school (2), 
fuelstation_payhouse (1), fuelstationshop (1), 
ruins (1), Monument (1), tower (1), prison (1), 
garage (1), toll booth (1), fire_station (1), 
Skyscraper (1), radome (1), swimming (1), 
doityourself (1), library (1), hangar (1), 
Industrial (1), shop (1), train_station (1), Mall 
(1), fountain (1), gymnastics (1)


Mike


At 12:30 AM 7/2/2008, Etric Celine wrote:
Hi Everyone

I used Frederik's Europe excerpt to generate statistics with the Tagwatch
Script.

see:
http://etricceline.de/osm/Europe/En/index.htm

The site is available in English and the other languages are uploading right
now.

Some of the changes I've made on the script:

* better output result for all tag statistics
* statistics are available for every Key that is mentioned on the Key:name
or Map Feature pages
* The script now generate statistics for the used Relations
* Some general statistics are available about the used tags and their
documentation status in the Wiki

In the near future some other things will follow:
* support for Tag pages that are just redirects 
(see oneway=yes as example) to
get the documentation of this tags as well
* some more general statistics that compare 
several single osm files with each
other (make it possible to see which Europe country has more possible
tagging errors)

I will update the script in the svn as soon as i have finished all the things
i like to change.

Hopefully in the future the Tagwatch script can be a great help to
find possible tagging errors or allows a small overview about
what undocumented tags are widely used and thus help to solve the chaos on
the proposal pages.

Some nice things from the Europe excerpt:
* 3.584 different keys are in use
* they are used in combination with  18.881 different tags
* 124 different relations can be found in Europe
* and we found 16 different ways to write the multipolygon relation wrong
* we used 3.838.091 the highway tag
* 114.314 buildings are listed in Europe
* 113.577 bridges and 21.440 tunnel
* Furthermore we have 427 differend kinds of sports

Cheers
Jörg

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


[OSM-talk] Tagwatch for europe

2008-07-01 Thread Etric Celine
Hi Everyone

I used Frederik's Europe excerpt to generate statistics with the Tagwatch 
Script.

see:
http://etricceline.de/osm/Europe/En/index.htm

The site is available in English and the other languages are uploading right 
now.

Some of the changes I've made on the script:

* better output result for all tag statistics
* statistics are available for every Key that is mentioned on the Key:name 
or Map Feature pages
* The script now generate statistics for the used Relations
* Some general statistics are available about the used tags and their 
documentation status in the Wiki

In the near future some other things will follow:
* support for Tag pages that are just redirects (see oneway=yes as example) to 
get the documentation of this tags as well
* some more general statistics that compare several single osm files with each 
other (make it possible to see which Europe country has more possible 
tagging errors)

I will update the script in the svn as soon as i have finished all the things 
i like to change.

Hopefully in the future the Tagwatch script can be a great help to 
find possible tagging errors or allows a small overview about 
what undocumented tags are widely used and thus help to solve the chaos on 
the proposal pages.

Some nice things from the Europe excerpt:
* 3.584 different keys are in use
* they are used in combination with  18.881 different tags
* 124 different relations can be found in Europe
* and we found 16 different ways to write the multipolygon relation wrong
* we used 3.838.091 the highway tag
* 114.314 buildings are listed in Europe
* 113.577 bridges and 21.440 tunnel
* Furthermore we have 427 differend kinds of sports

Cheers
Jörg

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Tagwatch

2008-02-01 Thread Hakan Tandogan

On Thu, January 31, 2008 00:34, Etric Celine wrote:
 On Wednesday 30 January 2008 22:38:13 Hakan Tandogan wrote:

 As promised, I submitted your changes to SVN (
 http://trac.openstreetmap.org/changeset/6725 ).


 thanks

By the way, I just found a small mistake in construct.pl, line 310:

308 if(CheckIfExist(Nl:Tag:$Key=$Value, $tag_articles)) {
309 $wiki_nl = wiki_green; }
310 if(CheckIfExist(TrTag:$Key=$Value, $tag_articles)) {
311 $wiki_tr = wiki_green; }


I think you that should be Tr:Tag:$key, missing the colon. Could you fix
that on your end and re-run the turkish statistics?


Regards,
Hakan

-- 
The key to immortality is first living a life worth remembering...



___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Tagwatch

2008-02-01 Thread maning sambale
 If you miss a country and can point me to the location of the excerpt I'm
 glad to add this as well.

Can you do the Philippines?
[http://www.openstreetmap.org/?lat=12.73lon=122.58zoom=6layers=B0FT]

Thanks!

maning


-- 
|-|--|
| __.-._  |Ohhh. Great warrior. Wars not make one great. -Yoda |
| '-._7' |Freedom is still the most radical idea of all -N.Branden|
|  /'.-c  |Linux registered user #402901, http://counter.li.org/ |
|  |  /T  |http://esambale.wikispaces.com|
| _)_/LI  |http://www.geocities.com/esambale/philbiodivmap/philbirds.html   |
|-|--|

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Tagwatch

2008-01-30 Thread Hakan Tandogan

On Tue, January 29, 2008 22:05, Etric Celine wrote:
 Together with these changes i have crated the tagwatch sites for 24
 countries. All planet.osm excerpt are taken from
 http://roland-ramthun.de/osm/extracts/
 If you miss a country and can point me to the location of the excerpt I'm
 glad to add this as well.

Do you need an already downloaded extract or could you download a given
bounding box from osmxapi?

I can provide daily extracts, but fetching them yourself from osmxapi
would remove one intermediate step.

 I'll try to update these statistics at least once in the month now, as i
 feel they are quite helpfull to detect common tagging errors and reflect
 what tags are really in use in the community.

 website can be found at: http://etricceline.de/osm/index.htm the
 sourcecode can be found here: http://etricceline.de/osm/Tagwatch.tar.gz
 (I'll hope someone can add it to the svn, as i have no account there (and
  general connecting problems with the university proxy here)

I'll update the version in SVN later tonight if no one beats me to it.


Regards,
Hakan


-- 
The key to immortality is first living a life worth remembering...



___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Tagwatch

2008-01-30 Thread Hakan Tandogan
Etric Celine wrote:
 website can be found at: http://etricceline.de/osm/index.htm
 the sourcecode can be found here: http://etricceline.de/osm/Tagwatch.tar.gz
 (I'll hope someone can add it to the svn, as i have no account there (and
 general connecting problems with the university proxy here)

As promised, I submitted your changes to SVN (
http://trac.openstreetmap.org/changeset/6725 ).

 If you miss a country and can point me to the location of the excerpt
 I'm glad to add this as well.

Could you please add the changes for turkey and cyprus with data from
http://www.gurkensalat.com/geostuff/osm-extracts/ ? I'll update that
location daily with downloads from osmxapi.


Regards,
Hakan

-- 
It's only when we have lost everything that we are free to do anything.



___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Tagwatch

2008-01-30 Thread Etric Celine
On Wednesday 30 January 2008 22:38:13 Hakan Tandogan wrote:
 As promised, I submitted your changes to SVN (
 http://trac.openstreetmap.org/changeset/6725 ).

thanks

 Could you please add the changes for turkey and cyprus with data from
 http://www.gurkensalat.com/geostuff/osm-extracts/ ? I'll update that
 location daily with downloads from osmxapi.

done

Regards
Joerg

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Tagwatch

2008-01-30 Thread Ulf Lamping
Etric Celine schrieb:
 Hi everyone,

 as you may or may not have noticed i have recently worked a bit on the 
 existing Tagwatch script and changed a few things. 

 My changes includes
 * the use of a template parsing engine and thus a better looking website
 * use of the Osmarender 6 rules file
 * listing how often every tag got used on nodes / ways
 * what other tags are in use with a specific tag
 * if the tag has a documentation on the OSMwiki

 Together with these changes i have crated the tagwatch sites for 24 
 countries. 
 All planet.osm excerpt are taken from http://roland-ramthun.de/osm/extracts/
 If you miss a country and can point me to the location of the excerpt I'm 
 glad 
 to add this as well.

 I'll try to update these statistics at least once in the month now, as i feel 
 they are quite helpfull to detect common tagging errors and reflect what tags 
 are really in use in the community.

 website can be found at: http://etricceline.de/osm/index.htm
 the sourcecode can be found here: http://etricceline.de/osm/Tagwatch.tar.gz
 (I'll hope someone can add it to the svn, as i have no account there (and 
 general connecting problems with the university proxy here)
   
Hi!

First of all, thanks for your work on improving this. It's interesting 
to see the actual tags being used.

One question: Is it possible to get the stats for the whole world or 
will this be too resource consuming? This might be very helpful for the 
feature proposals and other things.

Regards, ULFL

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


[OSM-talk] Tagwatch

2008-01-29 Thread Etric Celine
Hi everyone,

as you may or may not have noticed i have recently worked a bit on the 
existing Tagwatch script and changed a few things. 

My changes includes
* the use of a template parsing engine and thus a better looking website
* use of the Osmarender 6 rules file
* listing how often every tag got used on nodes / ways
* what other tags are in use with a specific tag
* if the tag has a documentation on the OSMwiki

Together with these changes i have crated the tagwatch sites for 24 countries. 
All planet.osm excerpt are taken from http://roland-ramthun.de/osm/extracts/
If you miss a country and can point me to the location of the excerpt I'm glad 
to add this as well.

I'll try to update these statistics at least once in the month now, as i feel 
they are quite helpfull to detect common tagging errors and reflect what tags 
are really in use in the community.

website can be found at: http://etricceline.de/osm/index.htm
the sourcecode can be found here: http://etricceline.de/osm/Tagwatch.tar.gz
(I'll hope someone can add it to the svn, as i have no account there (and 
general connecting problems with the university proxy here)

cheers
Joerg

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk