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
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to