-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map download at Planet Extractor not possible, almost same errors as in issue #1072 #1112
Comments
I have the same problem. I tried different browsers (Firefox with and without ad- and script blocker, old Chrome), but none of them works. The download fails instantly or after 4 to 8 MB. |
For what its worth I just downloaded a map of the entire United States (6.3Gig) without any problem at all. |
I can confirm @Budman1758 's statement: download is possible without error for predefined area USA. I did some additional test and found that currently (Map Version 210326) downloads work without errors for but show the same errors as with Europe for Asia und Australia. I only checked at "http://maps9.navit-project.org/". |
Same problem here. I'm trying to download an area of ~1GB. The download starts over and over again without downloading anything at all. Chromium 88 on Raspberry Pi. |
As stated above the maps for Europe are broken and the planet-210326.bin file crashes my navit. Downloaded it three times from maps3.navit… and maps9…. Someone wrote on the earlyer issues to use the mirror maps3 but I guess here is another problem, my result was the same. Right now I'm downloading an OSM data dump to create the binfile myself, as stated in the manual here. The dump is about 40GB (.osm.bz2), I guess the output might be around 20GB. This filesize is above the volume I'm able to upload in 24h for sharing, so if anyone needs Europe-210502.bin after a successful test, we need an idea how to share it. Torrent might be a solution if enough people help. And BTW: maptool crashes with segfault if I try to convert from protobuf:
So if you try to do the same processing on Debian, download .osm.bz2 . Antartika is a good testfile here. This is a good example for our Internet connections in Germany: We are shouting: "Set a course, maximum warp!" while jumping into Mum's 1969er VW Beetle. |
Hi everyone, So the most possible solution is to rewrite the map extractor in its entirety. This takes a lot of time and resources and the core team of navit is unfortunately is quite small. From what i analysed so for another problem is that the zip64 support for the binfile plugin (binfiles are just special zipfiles) is broken as well, so it might be better to fix those as well to be able to use more standard librarys on the map extractor. |
Please try this again on a dev version and report anew issue if this is still an issue. Recent builds can be found here: https://download.navit-project.org/
I think torrents aren't really an option if we wanna keep the previously available daily updates, but yes, as a temporary solution this would be an option |
If considering re-doing something like the planet extractor, I want to remind my open source tool to extract regions out of bin files I created when implementing multipolygon support for binfile. Have a look there: https://github.com/metalstrolch/navit_binfile_extractor It's a command line application to do the task. The parameters for it could be given by a web-gui like the current extractor page. Have fun. |
ah thx, for this information, this is more or less what we need, i will build something on top of this. |
OK, if you guys get the extractor ready in a few weeks, we don't need to setup home build map distribution. The maptool eats my whole HDD space and my laptop is still much weaker than a ryzen. I'm gonna stop my clean-up if you say your solution is in reach. |
Update from my side:
Thanks for your services, I'll try to give something back. Edit 5 days later: It's done and working. Nice and about 18,1GB. If anyone needs Europe-2105003, please get in touch. |
Here are the torrents for my maps, europe and Germany. Both tested on my SailfishOS. |
Hello |
@BruhP8 I’m currently peering, let me know if/when you have the full file. |
@mvglasow Currently i can see only one peer, from which i get 71KB/s so its gonna take a bit lol, i'll let you know thanks ! |
@BruhP8 I'm sorry, we had a thunderstorm the last days and an outage broke the jail with the torrents on my home server. Thanks for reminding me to fix it, I'll do that in the next days. I'd like to share those files until we have newer ones or this issue is fixed. |
@NGC935 Dont worry about it, i have time ! Slow is better than nothing ! Thanks again for sharing those |
Hi all, The current approach is to convert every map at County size, except for Germany where i chose the size of federal states for now as i was testing with this. To future improve on this the idea would be to reduce the processed areas to the smallest areas available on https://download.geofabrik.de/ as this would help to come as close as possible to a individual map. |
Nice! So we’ll finally be able to get up-to-date maps again. @jkoan I suppose there is a typo and it should be country, not county size... One thing that still needs to be tackled is that the resulting maps are rather small (I ususally carry a map of Europe on my device, which is around 16 GiB in size). Adding multiple maps is possible but may cause undesirable side effects in border areas: if a road appears in more then one map, you will get phantom maneuvers. I don’t know for sure how Geofabrik splits the data at borders, but if there is any overlap between maps of neighboring areas, we will run into this issue. On the other hand, I understand that, unlike the old planet extractor, which was an interactive web app, the new solution limits us to prebuilt binfiles – we can no longer assemble things on the fly as the user requests them. An idea to counter than would be a binfile merge tool running on the user’s local system. This merge tool would take two binfiles and combine them into one, taking from each binfile the tile which has data in it:
With the current approach of taking an area extract from OSM and processing that, this would run into two potential issues:
As an alternative, we could do the following:
What I cannot answer is processing time. The approach below means we would be processing the entire planet, thus possibly hitting running time and/or storage limits for Github Actions. |
See here: https://download.geofabrik.de/technical.html
We already have this, its called maptool ;-) and should be able to do the job
currently i just take "-latest.osm.pbf" from every file which is already included, we could probably update this to the timestamped file which should guarantee this
This wouldn't be possible and takes days to convert (on my machine Ryzen 2600 and NVMe SSD). With the current approch it only takes about 1h but with north-america, south-america and europe (except Germany) missing. (I Need to copy and paste all those regions to filter out geofabrik's "special Regions" What i don't know if the problem with phantom maneuvers is still current, as i think last time i read though the trac ticket i read it was fixed(?). Haven't made any tests on this |
Thanks for the link. As I understand, each country extract includes a certain buffer around the border. So we would have duplicates in that buffer zone. As for maptool, can it take two binfiles and merge them into one? How does it deal with tiles which have different information in binfile 1 and binfile 2? Can it merge tiles? As for processing time, how does the current solution work around this? As far as I can see up to now, only select parts of the world get processed – which is obviously faster than processing the whole planet, but some parts of the world will not get map updates. As for the phantom maneuvers, I last used overlapping maps some 9 years ago and it still was an issue then, no idea if anything has changed since – a map server which offered split binfiles became available soon after, and by now I am no longer constrained by file size restrictions on FAT, so I never bothered with separate map files again. |
I just found out that this is indeed possible by unzip'ing all binfiles, so that you get the tiles as individual files. After that its possible to run maptool like this: |
Okay, so the second merged went through as well, and it produced a valid binfile, so that's a win. The only problem is that now everything's flooded in water because of poly_water_tiled's interestingly all with 5 Coords. Also i needed to patch this line: navit/navit/map/binfile/binfile.c Line 846 in 0ed1660
Here i changed the 8 to a 16, which worked so far |
Hi everybody, once in December last year and again some days ago I've been able to download several in size very different maps with size up to 18 GB without any error. Does someone know something about what happened to the download servers? The date the maps have been set up is now shown as 220106. |
Hi, from time to time I take a look at >Navit :: Planet Extractor< at http://maps9.navit-project.org/ because this still is the place where I've been able to download .bin's e.g. for WesternEurope and others until dated 2022-07-14. Yesterday and today I tried again and found, that the maps9-server is currently not reachabel while maps3 is. The possibilities of Planet Extractor still are great and it would be VERY NICE to get something like this running again:
I saw activities from @jkoan at github navit-gps / gh-actions-mapserver: great and many thanks. I have to read above comments to see how to build something like "WesternEurope" out of this but the first look tells me this is more heavy to handle as a big download from GeoFabrik and use maplink to get the bin. I think it would be a good idea to at least try and get maps9 running again still not knowing who really is responsible for this? |
I'm with you, we have 2 servers left, one is a bit outdated (maps from 2022) and the last one is providing the last hope. The status of each server, map server nr.:
Navit is such a help while traveling without connectivity and those services save me a lot of space on my phone. Is there any activity? |
Hi, again like in end 2020 there are problems with the download of maps with Planet Extractor at "http://maps9.navit-project.org/" as well as "http://maps3.navit.project.org"
Partly I do not even get error messages, partly - from maps9 - i receive them in german language and translated them to english for this issue:
At "maps3.navit-project.org" (Map Version 210326)
for download of Europe -> WesternEurope -> Germany -> Northrheinwestfalia the error message is
xyz.bin.part couldn'd be saved because the source file couldn't be read.
Try again later or get in contact with the server administrator.
same for Germany
same for Germany+Austria+Switzerland
for WesternEurope:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@maps3.navit-project.org to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache/2.4.29 (Ubuntu) Server at maps3.navit-project.org Port 80
At "maps9.navit-project.org" (Map Version 210326)
for download of Europe -> WesternEurope -> Germany -> Northrheinwestfalia
download doesn't start or stops after few (4) megabytes
same for Germany
same for Germany+Austria+Switzerland
for WesternEurope:
Serverfailure!
The request can not be answered because of an internal error.
Errormessage:
End of script output before headers: index.cgi
If you think this is a server malfunction please inform the webmaster.
Error 500
maps9.navit-project.org
Apache/2.4.33 (Linux/SUSE)
To me it looks like currently any download from both of the servers to not work no matter what size the maps have.
Does this error (always) occur only after may be faulty data in maps data updates?
Maybe others have faced the same errors but do not know where to report this to because
the only information about the source of the web interface in the upper right corner is outdated:
it points to Tordt Schmidt / SMT-WebServices and Tordt answered to my mail that he doesn't do anything for the servers since more but several years!
Could please again someone take care of this? Many thanks in advance and please give me feedback as soon as I should test again!!!
The text was updated successfully, but these errors were encountered: