convert gpx to obf

645 views
Skip to first unread message

Harold

unread,
Apr 4, 2012, 12:08:24 PM4/4/12
to Osmand
I am trying to convert my garmin POI files from .gpx to .obf. I have
converted to .osm with GPSbabel but cannot convert .osm to .obf with
OsmAndMapCreator. I am using the nightly builds and have tried several
without success. The only box checked is "build POI index". The .osm
file size is 1.2MB
It is probably something I am doing wrong but I have not figured out
what
The POI file has several thousand POI's in it and is scatered across
the US.
The .obf generated has only two lines according to notepad++

Any ideas

Harold

Pavol Zibrita

unread,
Apr 4, 2012, 12:18:47 PM4/4/12
to osm...@googlegroups.com
Hi!

When you have the OSM file, and a point looks like this:
 <node id='-24' visible='true' lat='1.3094000' lon='103.7784000'>
    <tag k='created_by' v='GPSBabel-1.4.2'/>
    <tag k='name' v='Street-Soccer Court'/>
  </node>
change it to contain an aditional tag, like:
 <node id='-24' visible='true' lat='1.3094000' lon='103.7784000'>
    <tag k='created_by' v='GPSBabel-1.4.2'/>
    <tag k='name' v='Street-Soccer Court'/>
    <tag k='amenity' v='point' />
  </node>
Than convert the file using OsmAndMapCreator. You can look to osm site what tags are good for you to use,
or you can just use this one.

Best regards,
Pavol

Harold

unread,
Apr 4, 2012, 4:32:54 PM4/4/12
to Osmand
Thanks Pavol
I did not see that in the instructions----
Now I understand how it works

I assume there is no way to setup type and subtype in addition to
what's in the list
I break the camp sites down to 5 subcatigories (over 6000 in all)
I use to use a linux program that let me have different color dots, it
was done with a preference file
Osmand so far is the best android mapping program I have seen

Thanks again
Harold

On Apr 4, 11:18 am, Pavol Zibrita <pavol.zibr...@gmail.com> wrote:
> Hi!
>
> When you have the OSM file, and a point looks like this:
>  <node id='-24' visible='true' lat='1.3094000' lon='103.7784000'>
>     <tag k='created_by' v='GPSBabel-1.4.2'/>
>     <tag k='name' v='Street-Soccer Court'/>
>   </node>
> change it to contain an aditional tag, like:
>  <node id='-24' visible='true' lat='1.3094000' lon='103.7784000'>
>     <tag k='created_by' v='GPSBabel-1.4.2'/>
>     <tag k='name' v='Street-Soccer Court'/>
> *     <tag k='amenity' v='point' />*
Reply all
Reply to author
Forward
0 new messages