Commit: r1879: Handle relations with type=boundary as multipolygons

Version 1879 was commited by wanmil on 2011-03-03 20:27:49 +0000 (Thu, 03 Mar 2011) Handle relations with type=boundary as multipolygons

On Thu, Mar 03, 2011 at 08:27:50PM +0000, svn commit wrote:
Handle relations with type=boundary as multipolygons
For what it is worth, this issues quite a few multipolygon error messages in country extracts. For Finland, I will go them through and blacklist them in my logging.ignore one by one. In JOSM, I hit Ctrl-L and type http://api.openstreetmap.org/api/0.6/relation/397159 and so on. I am omitting the /full from the URL on purpose, because it suffices for me to see the relation attributes. Marko

On Fri, Mar 04, 2011 at 01:55:22PM +0200, Marko Mäkelä wrote:
In JOSM, I hit Ctrl-L and type http://api.openstreetmap.org/api/0.6/relation/397159 and so on.
I found a faster method, loading a file like this: <?xml version='1.0' encoding='UTF-8'?> <osm version='0.6' generator='JOSM'> <relation id='-1' action='modify' timestamp='2011-03-04T12:22:00Z' visible='true'> <member type='relation' ref='37355' role='' /> <member type='relation' ref='38090' role='' /> </relation> </osm> Then, in the relation editor, download all incomplete members. It will only load the child relations, not their children. All were listed as 'boundary' in the relation editor. Marko

Mapsource can`t create gmapsupp.img. At the first step of loading the selected tiles index generation error occurs. Error Information: App: MapSource At: 04.03.2011 22:20:29 (UTC) OS: Windows XP Service Pack 3 Processor: x86, Processor Level: 6, Processors: 2, Model: 1923 Stepping: 6, RAM: 2097151 MDR_TRIM_ADDR.CXX-422-6.13.7.0 Version of Mapsource does not matter. I've tried several different versions. The error occurs in all of them. -- View this message in context: http://gis.638310.n2.nabble.com/Commit-r1879-Handle-relations-with-type-boun... Sent from the Mkgmap Development mailing list archive at Nabble.com.

This is not caused by the commit. Something with the MDR file seems to be wrong. Could you please give some more details? * which mkgmap options do you use? * which data do you use? splitter settings? * complete mkgmap command line * etc. WanMil
Mapsource can`t create gmapsupp.img. At the first step of loading the selected tiles index generation error occurs.
Error Information: App: MapSource At: 04.03.2011 22:20:29 (UTC) OS: Windows XP Service Pack 3 Processor: x86, Processor Level: 6, Processors: 2, Model: 1923 Stepping: 6, RAM: 2097151 MDR_TRIM_ADDR.CXX-422-6.13.7.0
Version of Mapsource does not matter. I've tried several different versions. The error occurs in all of them.
-- View this message in context: http://gis.638310.n2.nabble.com/Commit-r1879-Handle-relations-with-type-boun... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Splitter keys: java -Xmx1200m -jar splitter170.jar ^ --cache=.\splitterCache\ ^ --geonames-file=cities1000.zip ^ --overlap=20000 ^ --max-nodes=1000000 ^ --no-trim ^ full.osm (full.osm - http://gis-lab.info/data/osm/full.osm.bz2) mkgmap keys: java -Xmx1200M -jar ^ E:\OSM\mkgmap\mkgmap.jar ^ --output-dir=C:\Garmin\OSM_MapTourist\ ^ --description="OSM MapTourist" ^ --family-name="OSM MapTourist %date%" ^ --series-name="OSM MapTourist %date%" ^ --overview-mapname="OSM_MapTourist" ^ --area-name="OSM %date%" ^ --family-id=490 ^ --read-config=optionsfile.args ^ --keep-going ^ -c template.args optionsfile.args max-jobs:2 charset:cp1251 code-page:1251 # latin1 tdbfile index country-name:RUSSIA country-abbr:RUS lower-case route net drive-on-right remove-short-arcs location-autofill=2 make-poi-index block-size=1024 generate-sea=extend-sea-sectors Version 1890 gives the same error. -- View this message in context: http://gis.638310.n2.nabble.com/Commit-r1879-Handle-relations-with-type-boun... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Splitter keys: java -Xmx1200m -jar splitter170.jar ^ --cache=.\splitterCache\ ^ --geonames-file=cities1000.zip ^ --overlap=20000 ^ --max-nodes=1000000 ^ --no-trim ^ full.osm
(full.osm - http://gis-lab.info/data/osm/full.osm.bz2)
mkgmap keys: java -Xmx1200M -jar ^ E:\OSM\mkgmap\mkgmap.jar ^ --output-dir=C:\Garmin\OSM_MapTourist\ ^ --description="OSM MapTourist" ^ --family-name="OSM MapTourist %date%" ^ --series-name="OSM MapTourist %date%" ^ --overview-mapname="OSM_MapTourist" ^ --area-name="OSM %date%" ^ --family-id=490 ^ --read-config=optionsfile.args ^ --keep-going ^ -c template.args
optionsfile.args max-jobs:2 charset:cp1251 code-page:1251 # latin1 tdbfile index country-name:RUSSIA country-abbr:RUS lower-case route net drive-on-right remove-short-arcs location-autofill=2 make-poi-index block-size=1024 generate-sea=extend-sea-sectors
Version 1890 gives the same error.
Some hints and questions: * Did you try a release before r1879 and did it work? Which release did not have a problem like this? * I recommend to remove the charset:cp1251 option. As far as I understood from several posts this option should no longer be used. (see http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2011q1/010667.html) * I am not sure if code-page=1251 with index should work. Please read also http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2011q1/010587.html * Why do you use block-size=1024? Please test it without this option. * Please test you map also without make-poi-index. The help file tells: "not yet useful" WanMil

charset:cp1251 make-poi-index block-size=1024 I did a test without those keys. Mapsource error is still here. Prior to version 1879 I used 1866, in which this problem does not occur.
-- View this message in context: http://gis.638310.n2.nabble.com/Commit-r1879-Handle-relations-with-type-boun... Sent from the Mkgmap Development mailing list archive at Nabble.com.

I found the cause of the problem. This is a --lower-case key! Without it, Mapsource creates gmapsupp.img file correctly. -- View this message in context: http://gis.638310.n2.nabble.com/Commit-r1879-Handle-relations-with-type-boun... Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (4)
-
Marko Mäkelä
-
svn commit
-
ValentinAK
-
WanMil