You are not logged in.

#1 2021-01-13 10:18:53

christiank61
Member
From: 3500 Krems/Austria
Registered: 2011-12-18
Posts: 87
Website

Can anyone edit MonsterRelation Tongass National Park please

Hi,

I'm Christian, the maker of OpenAndroMaps.org.
I came across a fouty monster Relation with 29000 Members = Tongass National Park
RelNr. 6535292
Edit ist close to impossible couse evry tool I know quits do to the size of the relation.
redering for maps takes ages.

This relation is tagged as type=multipolygon (its a boundary in fact)
This enormous amounts of members is caused by the fact that all single islands are menbers = the national park ends at every shoreline = IMO thats silly.

For me this relation have to be deleted and recreated wit the outer borders only.
However, thats your OSM region, so....

Best regards
Christian from Austria

Offline

#2 2021-01-13 13:05:44

GerdP
Member
Registered: 2015-12-18
Posts: 1,485

Re: Can anyone edit MonsterRelation Tongass National Park please

Not sure what exactly you want to edit. If you just want to change the tags of the relation there is no memory problem (at least not in JOSM), just don't download all members.
If you want to edit the full relation though you probably need a 64bit JRE and a JRE option to increase the available memory. Try this on the command line:

java -Xmx4G -jar josm-tested.jar

Offline

#3 2021-01-13 14:03:22

SK53
Member
Registered: 2009-01-11
Posts: 626

Re: Can anyone edit MonsterRelation Tongass National Park please

There were discussions about hugely complex NPs & National Forests on the mailing list over the summer (e.g., this thread https://lists.openstreetmap.org/piperma … 0570.html). At least one either broke Osmium or osm2pgsql. I'm not sure that any definitive conclusion was reached.

Offline

#4 2021-01-13 17:27:32

ZeLonewolf
Member
Registered: 2020-11-15
Posts: 7

Re: Can anyone edit MonsterRelation Tongass National Park please

It will load in JOSM with extra memory, but definitely stretching the limits of my machine smile
EBG5R1t

http://imgur.com/a/EBG5R1t

Last edited by ZeLonewolf (2021-01-13 17:27:55)

Offline

#5 2021-03-02 08:46:52

stevea
Member
Registered: 2011-12-01
Posts: 7

Re: Can anyone edit MonsterRelation Tongass National Park please

I've been "doing" these for at least ten years, and a few years ago I got a new machine:  a 4.2 GHz (bursts to 4.5 when it has to) Quad-Core Intel Core i7 with 64 GB 2400 MHz DDR4 RAM.  I use Java, which is "a correct" solution (there may be others, but its tweak-ability on the command-line is exactly how I launch JOSM with "fatter" heap-space memory footprints).  From my command line, I do so with:

java -Dsun.java2d.opengl=true -Xmx2048m -jar /Applications/josm-tested.jar

(meaning 2048 megabytes or 2 GB of heap space for Java, and with "/Applications" you might know this means macOS, version 11.2.2 to be exact).

It took over two full minutes (via a 100 Mbps 'net) for JOSM to download this relation, but it did.  And my fan ran and my CPU pegged and then everything calmed down as JOSM displayed the relation (rather prettily, I must say).  That does seem to be a record for lengthiest-single-item-download-time in my almost 12 years of OSM.  I didn't have to bump up the RAM beyond 2 GB.  JOSM reported the relation has 29194 Members.

Good luck!

Offline

Board footer

Powered by FluxBB