[mkgmap-dev] coastline
From WanMil wmgcnfg at web.de on Fri Jan 25 19:38:09 GMT 2013
>> Can precompiled sea be created fully automatically, or is it necessary to >> tweak broken coastlines manually? > > If there are no errors in the coastlines, it can be done fully > automatically. If there are errors, you have to fix them first > in the OSM database and retry the process. > >> I have access to a system running Red Hat Linux 64 bit. But I have no root >> access and there is not much installed on the system, only java. And I have >> not much experience using Linux. But it may be worth a try. If the process >> can be made fully automatic, I could provide precompiled sea on a regular >> schedule. > > You need to install quite sime C, C++ and java libraries and binaries. > So without root access, it will be difficult, because you have to > recompile everything and install it in your home directory. > > The process is in short: > > - get current planet file or update your local copy > - osmcoastline -i -f -p land -o coastline.db planetfile.osm.pbf > (if return value is 0 or 1, continue, else abort and fix the errors first) > - ogr2ogr -f "ESRI Shapefile" land_polygons.shp coastline.db land_polygons > - mkgmap_sea_generator land_polygons.shp WGS84 sea-$NEXT > (mkgmap_sea_generator is a script calling the mkgmap java function) > > sea-$NEXT contains now the new precomp sea data. > > This tooks about 1-1.5 hours, depending on your machine. AFAIK the data on http://openstreetmapdata.com/data/land-polygons is updated daily - but only if there are no severe problems. The data is created with osmcoastline too. So I guess it is enough to have a check skript if the data is updated. WanMil
- Previous message: [mkgmap-dev] coastline
- Next message: [mkgmap-dev] coastline
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list