View Single Post
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#168
Originally Posted by XOleg View Post
@rinigus. I'm sorry, but don't understand this technology.
I see regions here http://gis-lab.info/projects/osm_dump/ (for exemple http://data.gis-lab.info/osm_dump/du.../RU-AD.osm.pbf), Poly files here http://data.gis-lab.info/osm_dump/poly/ (for this exemple RU-AD.poly).
And?.. what to do next with this?..
So, we would like to get it under

https://github.com/rinigus/osmscout-...h-fed-district

in a separate folder. I think I've got it right and its under South Federal District, right? In particular, we would like then to make a subfolder with the name "adygea" and place 2 files into that subfolder

"poly" - this will contain RU-AD.poly . Please rename that into just "poly"

name - this will have Adygea or Republic of Adygea . I guess, you will have to choose how to call it. The name you put into this file, will be the one that you will see on your phone.

As a result, we will have subfolder with files:

adygea
adygea/poly
adygea/name

Now, to get these files in, you would have to go through typical GitHub development process:

1. Register at github.com

2. Go to https://github.com/rinigus/osmscout-server

3. Under https://github.com/rinigus/osmscout-server , press "Fork" to make your copy of it.

4. In YOUR copy, I presume under https://github.com/XOleg/osmscout-server , go to https://github.com/XOleg/osmscout-se...h-fed-district and press "Create new file".

5. With "New file name", you can type adygea/name and type Adygea or Republic of Adygea in the contents .

6. When happy with the file, go to the bottom, insert in a smaller box "adding adygea/name" and press Commit

7. Repeat 5 & 6 for poly

8. Go to your copy root (https://github.com/XOleg/osmscout-server) and submit your changes via Pull Request (press "New pull request" and go through the changes). Wait a bit till you get my reply

When you get to practice it a bit more, it would be better to create a branch when you work on Pull Requests, but maybe its fine without it for now

I am sure there are lots of tutorials on GitHub development online. Since there are lots of Russians developing open source projects, I am sure you even have a luxury to read the help/tutorials in Russian. Main thing is to not get scared away in the beginning, its actually rather simple.

Good luck and just ask if you have any problems.
 

The Following 5 Users Say Thank You to rinigus For This Useful Post: