<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 1, 2013 at 10:45 AM, Stephen Mather <span dir="ltr"><<a href="mailto:stephen@smathermather.com" target="_blank">stephen@smathermather.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In general using OSM data is working great in pgRouting.  One place which still needs to be patched with allowing big integers is alphashape and points as polygon.<br>

</blockquote><div><br></div><div>Hi Steve,</div><div><br></div><div>You're right that big integers are not supported and I just had to revert a change in osm2pgrouting, because I had tried to change "gid" to bigint, which caused wrong topology and routes. I think such a change would be a more difficult task, because pgRouting makes use of shortest path implementation of Boost library.</div>

<div><br></div><div>Nevertheless I believe that it's not really urgent issue and problem that pgRouting does not support bigint right now. OSM just needs these 32bit ID's, because in their database every way and node gets an ID. For pgRouting we just use a subset of this data (roads), so I would doubt that there is right now road network data of a size, that really requires bigint type. </div>

<div><br></div><div>Of course it'S necessary that import tools like osm2pgrouting are able to handle 32bit ID's when they parse OSM data, and they may store "osm_id" as an attribute for reference to the original OSM object. But there is no need to use the same ID's for "gid", "source" and "target" attributes. It would be even bad for performance not to renumber the ID's to have smaller numbers.</div>

<div><br></div><div>Or did I misunderstand something?</div><div><br></div><div>Daniel</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
Best,<br>
Steve<br>
_______________________________________________<br>
pgrouting-dev mailing list<br>
<a href="mailto:pgrouting-dev@lists.osgeo.org">pgrouting-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG & Georepublic Japan<br>eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66,99,171)" target="_blank">daniel.kastl@georepublic.de</a><br>

Web: <a href="http://georepublic.de/" style="color:rgb(66,99,171)" target="_blank">http://georepublic.de</a></span>
</div></div>