You are not logged in.
- Topics: Active | Unanswered
Announcement
*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Pages: 1
#1 2011-06-13 12:08:34
- marek kleciak
- Member
- Registered: 2010-10-11
- Posts: 8,439
housenumbervalidator
Uzytkownik gulp21 napisal skrypt szukajacy podwójnych numerów domów, sprawdzajacy kody pocztowe i pisownie nazw ulic.
Link: http://gulp21.bplaced.net/osm/housenumb … or.php.txt
Nie testowalem tego, moze ktos z Was sie temu przyjrzy...
Offline
#2 2011-06-13 23:05:32
- Zbigniew Czernik
- Member
- Registered: 2009-09-12
- Posts: 1,308
- Website
Re: housenumbervalidator
Na tę chwilę ten walidator chyba nie działa, bo nie wykrył mi błędów, które celowo wprowadziłem dla testów.
zibi@amd64 /home/zibi $ php housenumbervalidator.php temp.osm
Lines: 4409 temp.osm
---
NOCOUNTRY
---
NOCITY
---
NOPOSTCODE
---
NOSTREET
---
NONUMBER
---
POSTCODES
PHP Warning: array_combine(): Both parameters should have at least 1 element in/home/zibi/housenumbervalidator.php on line 284
Warning: array_combine(): Both parameters should have at least 1 element in /home/zibi/housenumbervalidator.php on line 284
PHP Warning: Invalid argument supplied for foreach() in /home/zibi/housenumbervalidator.php on line 284
Warning: Invalid argument supplied for foreach() in /home/zibi/housenumbervalidator.php on line 284
finished after 1 secondsOffline
#3 2011-06-14 15:01:01
- marek kleciak
- Member
- Registered: 2010-10-11
- Posts: 8,439
Re: housenumbervalidator
gulp21
pyta, czy móglbys mu podeslac do testowania dane OSM w których walidator nie dziala, bo u niego chodzi...
Offline
#4 2011-06-14 19:25:58
- Zbigniew Czernik
- Member
- Registered: 2009-09-12
- Posts: 1,308
- Website
Re: housenumbervalidator
Wysłałem do niego maila.
Jakby co, bardzo prosty pliczek z kilkoma wybrakowanymi numerami jest tu: http://www.openstreetmap.org.pl/zibi/input.osm
Offline
Pages: 1