﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
21826	[WIP patch] Upcoming API 0.6 change: limit maximum number of relation members	mmd	team	"We will deploy a new API 0.6 change shortly, which will reject relations exceeding a certain number of relation members.

The overall logic is very similar to ""waynodes"", only that it applies to relation members this time, i.e. you need to use the /api/0.6/capabilities endpoint to retrieve the current maximum relation member value.

It would be good to show an error message to the user even before uploading, like it is done today for ""waynodes"" in {{{ApiPreconditionCheckerHook}}}.

Please refer to the following two issues on impact on the capabilities call, as well as new API error messages.

https://github.com/openstreetmap/openstreetmap-website/pull/3440
https://github.com/openstreetmap/openstreetmap-website/issues/1711



Snipped from capabilities which includes the new relationmembers element:


{{{
<?xml version=""1.0"" encoding=""UTF-8""?>
<osm version=""0.6"" generator=""OpenStreetMap server"" copyright=""OpenStreetMap and contributors"" attribution=""http://www.openstreetmap.org/copyright"" license=""http://opendatacommons.org/licenses/odbl/1-0/"">
  <api>
    <version minimum=""0.6"" maximum=""0.6""/>
    <area maximum=""0.25""/>
    <note_area maximum=""25""/>
    <tracepoints per_page=""5000""/>
    <waynodes maximum=""2000""/>
    <relationmembers maximum=""32000""/>
    <changesets maximum_elements=""10000""/>
    <timeout seconds=""300""/>
    <status database=""online"" api=""online"" gpx=""online""/>
  </api>
  <policy>
    <imagery>
      <blacklist regex="".*\.google(apis)?\..*/(vt|kh)[\?/].*([xyz]=.*){3}.*""/>
      <blacklist regex=""http://xdworld\.vworld\.kr:8080/.*""/>
      <blacklist regex="".*\.here\.com[/:].*""/>
    </imagery>
  </policy>
</osm>

}}}



"	enhancement	new	normal		Core			api capabilities limit relation	
