hvdwolf / osmand-ukpostcodes Goto Github PK
View Code? Open in Web Editor NEWSet of scripts to create UK-postcodes files for OsmAnd
License: GNU General Public License v2.0
Set of scripts to create UK-postcodes files for OsmAnd
License: GNU General Public License v2.0
Hi,
I swear I'm not being an idiot but how/where can I enable this POI after I have installed it? I tap it after downloading it, OSMAnd says it's installed. I check the root folder of OSMAnd and sure enough it's there. I was now expecting to see this in the POI list and then be able to select it but I don't see it. If I try searching addresses again, it still fails to find anything. I've been through every inch of this app but I can't see any way of using this/setting it up.
Any pointers?
Thanks.
EDIT: Please ignore. Clearly should be in bed at this time and not tinkering. All fixed. :-)
I'm trying to create the postcode POI file on my Linux (Mint 18.3) laptop because it is 10x faster and has twice the RAM of my Android tablet (and Android drives me nuts for doing anything in the least technical!), intending to copy the Postcode POI file onto the Tablet's 128Gb microSD card.
Following your instructions carefully and setting
OMC = "/home/gba/Downloads/OsmAndMapCreator"
all goes well until I run:-
gba@gba-PORTEGE-R830 ~/Downloads/OsmAnd-UKpostcodes $ ./02_create_postcode_map.py
== Now make the POI UK_postcode map ==
== Now running OsmAndMapCreator utilities to create the UK_postcodes_poi_europe.obf POI map ==
Traceback (most recent call last):
File "./02_create_postcode_map.py", line 51, in
shutil.copyfile(os.path.join(OMC,'Uk_postcodes_poi_europe.obf'), os.path.join(realfile_dir,'UK_postcodes_poi_europe.obf'))
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/home/gba/Downloads/OsmAndMapCreator/Uk_postcodes_poi_europe.obf'
Folder
/home/gba/Downloads/OsmAndMapCreator/
now contains
/fonts
/lib
batch.xml
inspector.bat
inspector.sh
logging.properties
OsmAndMapCreator.bat
OsmAndMapCreator.jar
OsmAndMapCreator.sh
OsmAndMapCreator-main.zip
UK_postcodes_batch.xml
UK_postcodes_poi_europe.osm.pbf
utilities.bat
utilities.sh
The last 4 lines of
02_create_postcode_map.py
read
os.chdir(OMC)
print("\n== Now running OsmAndMapCreator utilities to create the UK_postcodes_poi_europe.obf POI map ==")
#os.system(os.path.join(OMC,UTIL) + ' generate-poi UK_postcodes_poi_europe.osm.pbf')
shutil.copyfile(os.path.join(OMC,'Uk_postcodes_poi_europe.obf'), os.path.join(realfile_dir,'UK_postcodes_poi_europe.obf'))
The last-but-one line, which seems to generate the .obf file, appears to be commented-out?
There appear to be lots of missing postcodes?
I'm sure I'm being very dim, but I can't get this search to work. I'm using OSMAND+ 2.7.5 (on lineageos 14.1).
I have downloaded and unzipped all the postcode files into the osmand+ files directory on my mobile.
I have added a custom filter for the user defined postcodes, so there is now a user defined category. This shows my local postcodes, including some defined in your files. OK so far.
But how do I search for a postcode somewhere else? I never find any, which search method I try to use. If you could give detailed instructions on how to use this, it would be a great help to me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.