The Following 4 Users Say Thank You to rinigus For This Useful Post: | ||
![]() |
2017-03-15
, 15:42
|
Posts: 127 |
Thanked: 313 times |
Joined on Sep 2016
@ Yekaterinbourg, Russia
|
#152
|
@XOleg, I have finished a first version of the scripts last night and it seems that all is going quite well.
You can insert the regions under
https://github.com/rinigus/osmscout-...port/hierarchy
as explained in https://github.com/rinigus/osmscout-...scripts/import README.
In short, you would have to fork my repo, make a patch, and submit it back. Even if you haven't worked with GitHub, its not too hard.
As you could see, its possible to add custom regions as well. I am preparing for the first update of the maps, but there will be more details regarding it a bit later
![]() |
2017-03-15
, 17:59
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#153
|
@rinigus thank for your very fast job, but... This is Chinese letter for me :-( I would prefer either download districts with new version of server or import regions for old version if there is no more simple solution.
The Following 5 Users Say Thank You to rinigus For This Useful Post: | ||
![]() |
2017-03-15
, 19:14
|
Posts: 127 |
Thanked: 313 times |
Joined on Sep 2016
@ Yekaterinbourg, Russia
|
#154
|
Now all regions are described using simple tree of hierarchies that I linked earlier. Just try to go and browse into Russia. You would see districts, if I call them correctly. Each district has two files, name and poly. Name is simple: just the name of the region. Poly is a file that describes a line on the map surrounding that region. This file is used when regional PBFs are made and later imported.
So, to add a new region, you have to make a directory under corresponding district. The hierarchy has to be followed, otherwise we will very fart get into too slow imports and huge mess.
In case of Russia, the link that you provided for smaller regions also had Poly files. So, it's a matter of inserting them into corresponding folders and following our convention. I'll be happy if you or someone else would arrange it accordingly.
As far as I remember, you mentioned that you needed region which is between normal hierarchies. I think you could add that as well, just position it accordingly. For that, you will need to make own Poly file. See Barcelona for example of such simple region.
One question for Russian users : do you need full Russia map or are the regions fine? I am planning to remove full Russia import and just leave parts, as done for US. So, unless we have lots of users using full Russia map, there is no reason to keep it in this way .
The Following 4 Users Say Thank You to XOleg For This Useful Post: | ||
![]() |
2017-03-16
, 05:38
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#155
|
The Following 6 Users Say Thank You to rinigus For This Useful Post: | ||
![]() |
2017-03-16
, 14:17
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#156
|
The Following 5 Users Say Thank You to rinigus For This Useful Post: | ||
![]() |
2017-03-16
, 15:36
|
|
Posts: 1,092 |
Thanked: 4,997 times |
Joined on Dec 2009
@ beautiful cave
|
#157
|
![]() |
2017-03-16
, 16:28
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#158
|
Hi, I've upgraded from an older version without map management. Now OSM-Server doesn't work anymore. I have reinstalled it. I've made a new empty folder and chosen that. But after that I get the message:
Failed to open the database for tracking downloaded files.
Map Manager functionality would be disturbed.
I can't choose countries or anything to download and even my old Map database doesn't work.
Any advice?
The Following 5 Users Say Thank You to rinigus For This Useful Post: | ||
![]() |
2017-03-16
, 18:09
|
Posts: 127 |
Thanked: 313 times |
Joined on Sep 2016
@ Yekaterinbourg, Russia
|
#159
|
The Following 4 Users Say Thank You to XOleg For This Useful Post: | ||
![]() |
2017-03-16
, 18:10
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#160
|
Hi, I've upgraded from an older version without map management. Now OSM-Server doesn't work anymore. I have reinstalled it. I've made a new empty folder and chosen that. But after that I get the message:
Failed to open the database for tracking downloaded files.
Map Manager functionality would be disturbed.
I can't choose countries or anything to download and even my old Map database doesn't work.
Any advice?
The Following 5 Users Say Thank You to rinigus For This Useful Post: | ||
![]() |
Tags |
geocoder, linux, offline maps, router, sailfish os, tiles |
Thread Tools | |
|
You can insert the regions under
https://github.com/rinigus/osmscout-...port/hierarchy
as explained in https://github.com/rinigus/osmscout-...scripts/import README.
In short, you would have to fork my repo, make a patch, and submit it back. Even if you haven't worked with GitHub, its not too hard.
As you could see, its possible to add custom regions as well. I am preparing for the first update of the maps, but there will be more details regarding it a bit later