Hello OSM Community, The relation/3638339 has been superseded by relation/13979637 (replace geometry on request of P-E_LRX). User danieldegeroot2 has told me to not duplicate existing data and keep history, or use Replace Geometry - and told me to contact the community here. The relation/3638339 and its empty way members therefore have to be deleted. Could someone help me with this, please?

Best regards,

Paulo

asked 01 May, 13:05

Paul-Emmanuel's gravatar image

Paul-Emmanuel
11112
accept rate: 0%


@Paulo,

If the old relation is incorrect and the new one is correct and current, then simply delete the old one.

In JOSM, click on the old relation in order to edit it, then notice a trashcan icon at the right end of the toolbar at the top of the Relation dialog box. Click on it to delete the relation. You must also delete any individual ways that comprised the old relation unless they're also being used in the new one. In ID there must also be a way to delete a relation but I'm not familiar with that editor.

Also, you spelled Moremi wrong in the new relation: Moremie

permanent link

answered 01 May, 13:42

AlaskaDave's gravatar image

AlaskaDave
5.2k75106162
accept rate: 16%

Hell, thank-you for your reply You speak to a new GIS user as I only import shapefiles or geojson I created beforehand on QGIS. How do you load existing data? Hw do you delete the old relation relation without deleting the history? Best regards

(01 May, 18:10) Paul-Emmanuel

You load existing data by requesting that an area you're selected with your mouse be "downloaded" inside an editor. When using iD, you merely zoom in to the level where iD allows editing to occur and as you zoom in, the OSM data appears. In JOSM you create an area by clicking and dragging with your mouse after which you request to download data using the menus.

If you're deleting the old relation, I don't see the need to save its history because any history you manage to transfer is referring to something that no longer exists. There may be a way to do that but I don't know how.

(01 May, 23:23) AlaskaDave

The Moremi Game Reserve (3638339) has 13 members. You can expand the '13 members' text to see individual segments. https://www.openstreetmap.org/relation/3638339
If you want preserve history using Josm you could download the utilsplugin2 and use 'replace geometry' https://wiki.openstreetmap.org/wiki/JOSM/Plugins/utilsplugin2

I suggest you download the Moremi Game Reserve from osm into Josm but I expect it is much too big, so decide on a portion at a time to do.
Your new reserve shapefile? should be in a new layer .
I think you would have it in CRS: EPSG:4326 - WGS 84 for import into Josm. All the tags on the ways in the shapefile should be deleted too as you will use osm tags where required.

You could split your new shapefile into parts similar to the current relation and then select one of the segments and 'edit, merge selection' of that section into the osm data layer where the osm data is.
Then change/activate to the osm data layer, select a section of the current Moremi and the new line you just merged, then select 'more tools, replace geometry' then do the rest of the segments.
I notice that two segments of Moremi share segments with other lines/polygons/relations on the map
Way Kwhai river (272838429) as outer
Way Moremi Game Reserve (272837121) as outer
You need to decide to replace the Kwhai river segment with your line if more accurate or leave separate. If you decide to leave the Kwhai river segment as is and have your new line as a separate line, you will need to do that in the Relation Editor as mentioned by @AlaskaDave.
i.e. you would delete the Kwhai river segment from the relation and add your new line to it.
The current Way Moremi Game Reserve (272837121) should not have a tag on it as it's tags should only go on the relation.
There are several other segments that use river lines you will need to decide about.

When done you should have your new 13 segments forming a multipolygon and because you replaced the geometry, the Moremi Game Reserve should display your ways in the Relation editor. All you need to do is revise the tags on the relation.

You should run the Josm Validator to check for errors. You can select the Moremi Game Reserve and run the validation just on the newly created Moremi Game Reserve.
When you upload you might find the validator finds a few other bits to correct too.

You should list the source you used for the new data on upload.

This is a big job and I feel too complex if you are new to Josm so I suggest find a small multipolygon to try the process out on first and when you are more confident then do the Moremi Game Reserve.
If all goes badly, you can revert the whole/part of a changeset and start again.

permanent link

answered 02 May, 10:42

nevw's gravatar image

nevw
9.5k2689169
accept rate: 9%

edited 02 May, 19:41

thank you @nevw

(24 May, 19:22) Paul-Emmanuel
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×20

question asked: 01 May, 13:05

question was seen: 351 times

last updated: 24 May, 19:22

powered by OSQA