[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ gpsdrive ] geoinfo.pl and external link to OSM repository



> > Download planet-xxxxxx.osm
> > UTF8 Sanitize /home/david/osm/planet/planet-061227.osm.bz2 ...
> > Sanitizer not found
> 
> I forgot about this part: This is an interim  solution until the planet.osm is 
> UTF8 clean ...
> easiest for now would be:
>  svn co http://svn.openstreetmap.org/
>  cd svn.openstreetmap.org/utils/planet.osm/C
>  gcc UTF8sanitizer.c -o UTF8sanitizer
>  # then put the resulting too into your search path.
> 
> Hope this works , and I also hope it won't be necessary too long.
> 

Hi Joerg,
I co'ed openstreetmap as suggested and UTF8sanitizer compiled no
problem.  I later noticed that there was already a executable copy of
the file in the repository.  

I'm not sure how the other external files are copied into gpsdrive but
perhaps it would be easy to just grab that executable file at the same
time and put it somewhere appropriate.  It's only 8.5kb

I then tried the command again but it didn't help.
======================================================================
david@debian:~/build/gpsdrive/trunk/scripts$ ./geoinfo.pl --osm
--area=australia

Import OSM Data
Import OSM Data ''
Download planet-xxxxxx.osm
UTF8 Sanitize /home/david/osm/planet/planet-061227.osm.bz2 ...
Sanitizer not found
david@debian:~/build/gpsdrive/trunk/scripts$
=======================================================================



I checked to make sure UTF8sanitizer could be found in the path and it
seems to be happy.
=======================================================================
david@debian:~/build/gpsdrive/trunk/scripts$ UTF8sanitizer
have a nice day
have a nice day
Summary:
chars1: 15
chars2: 0
chars3: 0
chars4: 0
chars5: 0
chars6: 0
lines : 1
david@debian:~/build/gpsdrive/trunk/scripts$

=======================================================================


I went diging throuh geoinfo.pl to try and find where it calls
UTF8sanitizer but couldn't find it.  I guess something else calls it.

Any ideas what's up now?

David P




-- 
This message was part of the gpsdrive mailinglist
unsubscribing can be done by sending a mail containing a body of:
-quote--
unsubscribe gpsdrive
-unquote--
to majordomo@warbase.selwerd.nl