[OSM-dev] ids negative turn into positive

Shaun McDonald shaun at shaunmcdonald.me.uk
Thu Jul 18 09:59:02 UTC 2013


Ways and relations usually end up in the same processed tables, and the way that you tell them apart is to negate the IDs. This is normal. If the IDs were all positive, you would get negative IDs for the relations.

Shaun

On 18 Jul 2013, at 10:49, natalia aznar nuñez <nataliaznar at hotmail.com> wrote:

> Hello
> I am using osm2pgsql with negative ids in nodes, ways and relations. In nodes and ways it works correctly, but the relations get their ids change to positive
> Does anyone knows why is this happening?
> 
> _______________________________________________
> 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/20130718/c363b185/attachment.html>


More information about the dev mailing list