
I just thought I would like to use the geonames-file to set area-names. However I don't manage to do: I split with following command: java -Xmx4800m -jar splitter.jar --max-nodes=%maxnodes% --max-areas=128 --geonames-file=cities15000 --write-kml=testkml --mapid=%mapid%0000 %country%.osm Everything runs nicely here. testkml has entries like the following: <Placemark> <name>63650000</name> <styleUrl>#transWhitePoly</styleUrl> <description> <![CDATA[*AT*-*Innsbruck*]]> </description> <Polygon> <outerBoundaryIs> <LinearRing> <coordinates> 9.492188,46.669922 9.492188,47.812500 12.480469,47.812500 12.480469,46.669922 9.492188,46.669922 </coordinates> </LinearRing> </outerBoundaryIs> </Polygon> </Placemark> Now I would like that the file testkml is used to determine input-file for mkgmap and set the area name (if country-abbr is set also that is fine too as it is present in the kml file). No matter what options I give testkml is not used. Am I trying to do something which is not possible yet, or am I overlooking something (If I just feed mkgmap using the splittet files, output is indifferent whether or not I am using the geonames-file option on splitter)? I would like to use a command like the following for mkgmap: java -enableassertions -jar -Xmx4800M mkgmap.jar --index --max-jobs=6 --latin1 --delete-tags-file=deletetags --adjust-turn-headings --ignore-maxspeeds --ignore-turn-restrictions --remove-short-arcs=4 --location-autofill=1 --description=openmtbmap_%abr%_%date% --route --country-abbr=%abr% --style-file=new2 --country-name=%country% --mapname=%mapid%0000 --family-id=%mapid% --product-id=1 --series-name=openmtbmap_%abr%_%date% --family-name=mtbmap_%abr%_%date% --tdbfile --overview-mapname=mapset --input-file=testkml

Hi Felix, I've been away from splitter/mkgmap for a while so I may be wrong, but last I recall support for kml files was on the todo list for mkgmap but hadn't been implemented yet(?). If mkgmap does support kml files, perhaps it doesn't process the <description> tag correctly? What happens if you try running mkgmap with areas.list instead of a kml file? Chris FH> Now I would like that the file testkml is used to determine FH> input-filefor mkgmap and set the area name (if country-abbr is set FH> also that isfine too as it is present in the kml file). No matter FH> what options Igive testkml is not used. Am I trying to do something FH> which is notpossible yet, or am I overlooking something (If I just FH> feed mkgmapusing the splittet files, output is indifferent whether FH> or not I amusing the geonames-file option on splitter)?

Chris Miller wrote:
Hi Felix,
I've been away from splitter/mkgmap for a while so I may be wrong, but last I recall support for kml files was on the todo list for mkgmap but hadn't been implemented yet(?). If mkgmap does support kml files, perhaps it doesn't process the <description> tag correctly? What happens if you try running mkgmap with areas.list instead of a kml file?
Chris
the information from the cities15000 is not added to areas.list, therefore this does not help... Maybe instead of adding kml support to mkgmap, splitter should output in a format compatible to mkgmap using "-c" Anyhow thanks for answering (and clearing up my question) that currently this does not work automatically.
FH> Now I would like that the file testkml is used to determine FH> input-filefor mkgmap and set the area name (if country-abbr is set FH> also that isfine too as it is present in the kml file). No matter FH> what options Igive testkml is not used. Am I trying to do something FH> which is notpossible yet, or am I overlooking something (If I just FH> feed mkgmapusing the splittet files, output is indifferent whether FH> or not I amusing the geonames-file option on splitter)?
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (2)
-
Chris Miller
-
Felix Hartmann