[OSM-dev] Chopped of ways. Change Default or remove ID

Karl Newman siliconfiend at gmail.com
Thu Aug 14 14:58:09 BST 2008


That's an interesting idea. You could also make it negative--give the entity
a version of Integer.MIN_VALUE, then the API will reject it.

Karl

On Thu, Aug 14, 2008 at 6:32 AM, 80n <80n80n at gmail.com> wrote:

> The proposed version tag in the 0.6 API might actually help here.
>
> If the version tag is removed, invalidated, in the munged version of a way,
> then the 0.6 API should reject any attempt to upload it.
>
>
> On Thu, Aug 14, 2008 at 2:25 PM, Marcus Wolschon <Marcus at wolschon.biz>wrote:
>
>>
>>
>> On Thu, 14 Aug 2008 15:19:00 +0200, Jochen Topf <jochen at remote.org>
>> wrote:
>> >> Then just flip the sign of the ID to make it a negative number, (unless
>> > negative
>> >> IDs already have some meaning of which I'm not aware).
>> >
>> > They have. Negative IDs are used by JOSM and other tools to denote new,
>> > not yet uploaded objects. So this would make the problem even worse, as
>> > it could lead to re-uploading of broken ways.
>>
>> I think it's worse to destroy perfectly good ways then to mistakenly
>> upload
>> parts of them and get this mistake marked by maplint.
>>
>> The first breaks the map, the second has no impact on rendered maps
>> nor routing on the map.
>>
>> Marcus
>>
>>
>> _______________________________________________
>> dev mailing list
>> dev at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/dev
>>
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20080814/f3092297/attachment.html>


More information about the dev mailing list