
El 01/08/2011 22:36, Zsolt Bertalan escribió:
Hello
I try to render a Garmin map of Hungary from OSM data with my own rules and typ file. At first I used the Tile Splitter, but whatever I did, I didn't manage to render a good map. splitter should work fine with Hungary data and you'll get inter-tile routing working. Can you provide the command you used to split the data? Then I extracted county borders (Hungary has 19 counties), and used Osmosis with polygon borders to split the data. I managed it. But meanwhile CLC data was imported (I think this might be the culprit) and I can't do it again. Four counties have only half the data in Mapsource. They are not big, so I don't think that the size is the problem. I use MapSetToolkit with cgpsMapper to upload to MapSource. Here is an example of how I use mkgmap: java -Xmx1024M -ea -jar mkgmap.jar --charset=latin2 --route --style-file=c:\osm\mkgmap\resources\styles\herrbert --family-id=5000 -c c:\osm\osmdata\counties\template.args --tdbfile --description="OSM Hungary" 50000.typ If I remember right, -c option should be the last in you command line.
I fI use the route option, cpreview crashes.
I used osmosis with the following options: completeWays=no completeRelations=no clipIncompleteEntities=true I think this is not optimal for such a map, because I can't route between two counties (ways are split without a common node). But what are the best options?
What am I doing wrong? If you need any more detail I'd be glad to provide it.