possibility to import POI-files ending with .POI
may you please share here some sample file (probably pack it to "zip" file) and also is there any documentation for this format? Where it comes from? Some more info is welcome, thanks
I'm not sure if Hans answered you, but I would be interested in this too and here is an example of a zipped *.poi file from Openandromaps.com. The *.poi file format was apparently developed for Magellan.
Good day William,
are you sure this is data file that Hans talk about? In this case it is SQLite database file and because it's content is based on OpenStreetMaps, I see no reason to support this type of POI file. Mainly because already offer own solution supplied together with LoMaps from Locus Store. Thanks for understanding.
This is like arguing that you do not need to support MBTiles, OruxMaps and many other formats that Locus does, because most of them are based OSM, too.
Agree, it similar (partially), except that MBTiles are probably most widely used mobile map format that also support very nice metadata table, which is huge advantage compare to plain SQLite and OruxMaps on second side support many map projections, not just Mercator as is used in SQLite maps. So both format support something more. It's not case in this format for now. Huge amount of work that this require is another argument against it for now.
I had a look at both data models, Locus POI and MapsForge. There is no magic in either, but Locus is much more complex, as it supports additional functionality.
One way would be to built a little converter that eats MapsForge POI DBs and delivers the POI part of the Locus POI DB.
I currently do not have the time to do this myself (and I would have to amend my skills while "running", too :-).
Yes there is no magic in database, just a little magic in system we have to create it. Anyway I wanted some time ago to publish these our tools we have ... which should be a lot better then creating convertor ;).
That would be helpful indeed!
Hi would be very useful, when I am searching within an original LoMaps POI database I find only city names and just a couple of locations. Nothing in compare to my Garmin maps or even some other OSM based POI's :(
So it would be brilliant (!) to be able to create (convert, import etc.) locus compatible POI databases.
Is there something new to import a .poi file in sqlite format ? I´am a new User and would like to import a .poi file
Is there any progress on this topic?
Honestly I'm not 100% sure what format users want to supports.
Well, Petr, a year ago there was talk about providing the tool that writes the LoMaps POI database. Then a volunteer could write a script to export from Mapsforge POI DB and feed into LoMaps POI DB creator.
While both, Mapsforge and LoMaps are fed from the same basic data, there is still a difference, and Mapsforge POIs are more current, too.
I see but it's little bit different story in it isn't subject of this topic :)
Hello. Petr, Is there any progress about tool or method that can create own POI file compatible with LOCUS vector (osm) map? I have to create 14,000 point of mountain peaks into osm.db. because that data is not includuded at LoMaps poi DB. I used GDAL tool(ogr2ogr) to create SQLITE3 db for using at LOCUS. but It can't be recognized by LOCUS app. I think LoMaps poi db is much more complicated than mapsforge standard poi file. If You can't provide LoMaps POI DB creator, Would you give me some hint for generating POI file.
Have a good day.
In addition, My 14,000 Mt.Peak point is consist of lat, lon and peak name (originally gpx file)
Can it be possible that these data inserted to Lomaps POI db file?
Let me know howto plz
Hi, the generator works only with OSM data and I can't give you any exact info if we release our script publicly. However peaks are included in LoMaps POI DB. Please see section "Nature > Peak". Peaks are obviously from OSM data. Is it OK for you?
Thank you for answer, Petr. my country.osm.db(LoMaps) have just 1568 peaks (Yes. It's from OSM data)
But I have about 14,000 peaks data from National Geology Institute(not from osm). So, I need method of making POI (.db) file compatible with LOCUS app. Of course I already have base osm map of my country.
Is there any way of inserting my 14000 peaks data into country.osm.db (LoMaps) ?
honestly I'm not familiar with MapsForge POI format but LoMap POI DB is also sqlitedb database (with the spatialite extension). In can briefly describe how to "import" the POIs. Are you familiar with SQL inserts and maybe with some scripting?
That would be great - there will be some volunteer, I guess ... :-)
I'd like to notice that we decided to publish the tool for generation POIs DB and Addreess DB. Such task has low priority for us but I expect that it would be ready till end of the summer. I guess that it'll be more useful then some SQL queries.
Thank you very much for your deciding. Petr. It will be very helpful for users to make their own POI files.
Brilliant - first since many years I didn't use Locus during a two week hiking tour (because of two reasons: no offline searching of POIs and OS explorer map tweaking didn't work)...
...would love to get POI databases!
Hi, Petr ! How about publishing tool for generating POI db? I think summer is almost over now :)
Our 10000 gps club member wait for your answer
thanks for reminder. It's still on my to-do list but there were some important tasks that I had to focus on and also vacation. Please give me couple weeks. Thanks for patience.
Hi, Petr. I saw the news (15th OCT.) on locusmap homepage. But there is no comment about "publish the tool for generation POIs DB and Addreess DB" . Should I wait more time or you decided not to provide that tools?
A promise is a promise ...
... to be held!
I know know and I'm sorry for this. We still want to publish this tool but you know it there is always something more important....
Please make some time for publishing this tool. We can integrate a lot of geocaches and other POIs into map
Hi, Petr. again :)
Can it be possible that we use mapsforge poi tool till the end of 2018 ?
Our 10000 gps member are looking forward to your answer every day. I think you're trustworthy man
have a nice day
hi petr. where are you? are u alive?
your promise still valid?
Hi, yes I am :). Well promise is a promise but it has for me the lowest priority. But you're right that I should finally come up to your expectations...after several months. I'll little bit increase the priority for it in the list of my tasks.
I'm talking of the format offered at mapsforge. As I can use the map files available there I would like to use the poi files offered along with it.
From the analysis others did (parallel thread), there are only few challenges left, like the creation of the blob in the poi.db file. So, there might not be the need to disclose the whole tool, but some isolated functions like mentioned above, that would allow others to do their own homework.
I think this would be very important. I don't mind running some kind of converter from mapforge POIs to LoMaps so it can be displayed on Locus, it doesn't need to support the mapforge poi file directly, but would be very good to have these available in Locus
Yep, we need to import *.poi ... :)
I really like the idea of being able to add all geocaches of a country to a POI database in proper Locus format (even if they are the only POIs in that database as long as there is no import function for OSM POIs).
I am traveling across (or along) Italy at the moment and even with "only" approximately 30K geocaches, this brings Locus to its knees... or gives my navigator a hard time switching between Locus and my geocache repository (which happens to be GDAK, which handles that number of geocaches just fine).
BTW I love Locus and switched to the PRO version after extensive testing.
After cycling more than 10 Years using PDA and Smartphones for navigation, I have the understanding, one app will never offer a perfect world. To get nearer to a perfect world you have to use two or three apps. I solved this POI-problem in this way. I made in the function panel a button to trigger osmand and use the POI-base of Osmand.
Although I have a LoMap of my area and I can use the POIs of Locus, I prefer using in this way Osmand. because it is more comfortable and the presentation of POIs is more userfriendly in Osmand.
Thank you very much for this suggestion Stephan!
My current limitation are (i) a not very powerful device and (ii) the wish to not having to switch between apps while driving. Displaying geocaches around us while driving (so that we can plan our pit stops accordingly ;-) is what I am looking for. Getting the details of a geocache via a different (and specialized) app is perfectly OK.
Petr and menion ignore this idea for many years,,, :)
Petr promissed to publish poi creation tool last year. but no progress yet. HaHaHa
Well I don't ignore it but there is always something more important :( . I should probably correct your expectation. The tool or script for generation of Locus POI database, can process only raw OSM data. So it'll be always needed to convert your custom data into OSM format.
I'm sorry for that and as menion wrote I'll try to find some more time for it.
Hi Petr, OSM data can come in different formats. Do you think of PBF, o5m, OSM xml ?
The tools is basically plugin for OSMOSIS. So the input data can be in any format supported by OSMOSIS - https://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.46
Very much appreciated - this is the most proper and most powerful way to deliver this promise!
This is not exact.
I'm watching this topic carefully, anyway direct support for MapsForge POI system does not have in our plans priority. So the solution was to publish our own POI generator. Here is a problem lack of time on Petr's side, where he is for many months focused on Locus GIS and finishing his work on support for "tracks" in Locus Store and this task may take maybe more than a week of work to correctly separate logic for creating POI database.
I know he promised some public tool a few months ago and I personally really would like to see it published as well, but I understand his priorities as well. Complicated task.
I'll try to push him little more once tracks will be mostly completed.
Anyway sorry, it is not about ignorance, just about lack of time :(.
Hello Hans & Menion,I heard you accepted a suggestion by many Locus users from Korea and othercountries that you upgrade a function for the Locus app, makingpossible for users to install their own poi files in the Locus app. However, youhave not upgraded the function yet.
Locus App is a good app for outdoor activities. Butthe LoMaps, your poi files selling in the Locus Store, have poor information init because the maps are based on the Open Street Maps. Poor information in the LoMapsdegrades the usefulness of the Locus app. I worry about possibility thatsomeone may have accidents during hiking with LoMaps.
Volunteers in a GPS club in Korea together have builta POI database for Korea streets and mountains. The file is free for allmembers of the club. Users put the file to use by installing in the Oruxmapsapp because Oruxmaps allows users to use their own poi file in the app.
Locus is poplar app in Korea. But, your app is behindin usefulness, comparing with Oruxmaps. I do not want to hear news of accident orinconvenience because of your app. That is the very reason that you have toupgrade the poi function.
Korean guys consider seriously sticking their word if theypromised something. I hope you are much the same as Korean.
We can help you if you need any support. I hope tohear when you will upgrade Locus app.
We completed our trip through Italyand it is raining cats and dogs at home. A perfect opportunity to tinker withthe Locus POI database.
While on the road, I found an OAM forum entry provided by “cebewee”(https://www.openandromaps.org/oam-forums/topic/poi-nutzbarkeit-der-dateien-mit-locus/page/3).This forum entry points to an analysis of the Locus POI database performed byLars Noschinski (https://gitlab.com/noschinl/locus-poi-db)a while ago.
Last night, I used the SpaciaLite GUI (https://www.gaia-gis.it/fossil/spatialite_gui/index)to open a Locus POI database (Gibraltar) and I was able to add my own points tothat database (see below for the SQL statements used).
This *almost* satisfies my use case to display all geocachesfor a specific region. Of course, it does not give me any geocache details (yet).
What I would like very much, however, is the ability todisplay the proper icons per geocache type. Based on the above Locus POI database analysis,the icons seem to be determined by the combination of FoldersRoot andFoldersSub entries linked to a given point (via table Points_Root_Sub). As thecurrent FoldersRoot (13 rows) and FolderSub (77 rows) tables do not containgeocaching related information, it is probably impossible to display pertinenticons. Also, I have no clue as to where the icons are stored and if it ispossible to add/use custom icons.
I see custom icons as the only solution in the long run, asI am certain that there are endless wishes for specific icons that could neverbe managed centrally. I also understand that “little” wishes like this one can turna simple task into a major project. All the more I appreciate your efforts!
Thank you very much and best regards
Peter from the YPNA Geocaching Team
DELETE FROM "Points" WHERE "id" > 9999999000 AND "id" <9999999010;
-- "Points_id" is the "rowid" of theinserted points! This must be determined ** BEFOREHAND **
-- DELETE FROM "Points_Key_Value" WHERE"Points_id" > 781;
-- DELETE FROM "Points_Root_Sub" WHERE "Points_id" > 781;
-- Insert points into Points table
INSERT INTO "Points"VALUES(9999999001,"P","Test1",GEOMFROMTEXT('POINT(-5.350000136.120001)', 4326));
INSERT INTO "Points"VALUES(9999999002,"P","Test2",GEOMFROMTEXT('POINT(-5.350000236.120002)', 4326));
INSERT INTO "Points" VALUES(9999999003,"P","Test3",GEOMFROMTEXT('POINT(-5.350000336.120003)', 4326));
INSERT INTO "Points"VALUES(9999999004,"P","Test4",GEOMFROMTEXT('POINT(-5.350000436.120004)', 4326));
INSERT INTO "Points"VALUES(9999999005,"P","Test5",GEOMFROMTEXT('POINT(-5.350000536.120005)', 4326));
-- Obtain "rowid" of inserted points for links totags and folders below
SELECT "rowid", * FROM "Points" WHERE"id" > 9999999000 AND"id" < 9999999010;
-- Link inserted points to tags - after example of the 100ton gun (point_id 675275200, rowid 30)
-- SELECT "rowid", * FROM "Points" WHERE"name" LIKE "%gun%";
-- SELECT "rowid", * FROM"Points_Key_Value" WHERE "Points_id" = 30;
-- SELECT "rowid", * FROM "TagKeys";
-- SELECT "rowid", * FROM "TagValues";
INSERT INTO "Points_Key_Value" VALUES(782,1,5);
INSERT INTO "Points_Key_Value" VALUES(783,1,5);
INSERT INTO "Points_Key_Value" VALUES(784,1,5);
INSERT INTO "Points_Key_Value" VALUES(785,1,5);
INSERT INTO "Points_Key_Value" VALUES(786,1,5);
-- Link inserted points to folders - after example of the100 ton gun (point_id 675275200, rowid 30)
-- SELECT "rowid", * FROM"Points_Root_Sub" WHERE "Points_id" = 30;
-- SELECT "rowid", * FROM "FoldersRoot";
-- SELECT "rowid", * FROM "FoldersSub";
INSERT INTO "Points_Root_Sub" VALUES(782,4,16);
INSERT INTO "Points_Root_Sub" VALUES(783,4,16);
INSERT INTO "Points_Root_Sub" VALUES(784,4,16);
INSERT INTO "Points_Root_Sub" VALUES(785,4,16);
INSERT INTO "Points_Root_Sub" VALUES(786,4,16);
-- Display inserted points and some more for comparisons
SELECT * FROM "Points" WHERE "id" >6000000000 ORDER BY "id";
SELECT * FROM "Points_Key_Value" WHERE"Points_id" > 750;
SELECT * FROM "Points_Root_Sub" WHERE"Points_id" > 750;
After reading all about POIs in the announcement of Locus release 3.38.0 I was eager to get home last night. Unfortunately I found nothing related to the creation of a "proper" POI database.
I thus continued to work on my own solution based on the approach outlined in my previous post. I added geocaching-specific entries to the "FoldersRoot", "FoldersSub", "TagKeys", and "TagValues" tables. Next, I generated the entries in "Points", "Points_Key_Value" and "Points_Root_Sub" required to store and display the 30+K geocaches in Switzerland.
The result is both satisfying and disappointing. Satisfying, because I succeeded. I have my geocaches in the database, they are grouped into categories, and I can activate the display of selected categories. Disappointing, because all geocaches are shown with the same icon (see attached screenshot).
So my question for the night: is there a way to *substitute* standard icons used by Locus for displaying POIs in a Locus POI DB? If so, would it also be possible to *add* icons for new POI categories added to a Locus POI DB? As far as I understand, the help on custom icons does not relate to Locus POI databases.
Thanks for a pointer, if there is one.
Peter from the YPNA Geocaching Team
Comments have been locked on this page!