Import many (100k+) POIs into OsmAnd

80 views
Skip to first unread message

David Bengoa Rocandio

unread,
Dec 2, 2019, 12:57:46 PM12/2/19
to Osmand

Hi,

I'm trying to display about 100k POIs in OsmAnd, I tried to convert them into GPX, which resulted in a 250MB file (each point has some description too), when importing into OsmAnd as favourites OsmAnd hangs and eventually crashed with OutOfMemory, so I guess it's not the way to go.

How should go about doing this?

Regards,
David

john whelan

unread,
Dec 2, 2019, 1:06:39 PM12/2/19
to Osmand
If they are interesting and have the correct licence have you thought about importing them into OpenStreetMap?

Be aware there is a process to do this and it might be more complex than first appears.

Cheerio John

--
You received this message because you are subscribed to the Google Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/5fd82bfe-e1c6-4f29-be89-1298bef10aaf%40googlegroups.com.

Greg Troxel

unread,
Dec 2, 2019, 1:11:18 PM12/2/19
to David Bengoa Rocandio, Osmand
David Bengoa Rocandio <da...@bengoarocandio.com> writes:

> I'm trying to display about 100k POIs in OsmAnd, I tried to convert them
> into GPX, which resulted in a 250MB file (each point has some description
> too), when importing into OsmAnd as favourites OsmAnd hangs and eventually
> crashed with OutOfMemory, so I guess it's not the way to go.

I haven't actually done this, but it seems obvious :-) that you should
convert them to osm format and then use

https://wiki.openstreetmap.org/wiki/OsmAndMapCreator

to make a mapfile, that will then get unioned into what is searchable.

Greg Troxel

unread,
Dec 2, 2019, 1:14:50 PM12/2/19
to john whelan, Osmand
john whelan <jwhel...@gmail.com> writes:

> If they are interesting and have the correct licence have you thought about
> importing them into OpenStreetMap?
>
> Be aware there is a process to do this and it might be more complex than
> first appears.

Understatement of the year!

I would say "if you have never done an osm import, you will almost
certainly underestimate the difficulty of doing one by 10x".

Certainly getting good data with an ok license into osm is a fine thing
to do. But I would encourage the OP to use osmandmapcreator first, and
to publish the osm POI file if the license is ok with that.

David Bengoa Rocandio

unread,
Dec 2, 2019, 1:41:23 PM12/2/19
to osm...@googlegroups.com, john whelan
Thanks for the suggestions, sadly the POIs are neither very interesting for the general public nor the license allows me to publish them in OSM.

I'll try converting to osm and then converting them to a map file.

Thanks,
David



--
You received this message because you are subscribed to a topic in the Google Groups "Osmand" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osmand/iirlo0MS4TE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osmand+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/rmi5ziybnof.fsf%40s1.lexort.com.

Majka

unread,
Dec 3, 2019, 7:47:43 AM12/3/19
to Osmand
Do not import the gpx as "import favorites". Simply put the gpx in the "tracks" subfolder, and you will have it available in OsmAnd. It doesn't matter if it is a route (track) or POIs, OsmAnd will can display both.
Reply all
Reply to author
Forward
0 new messages