<div dir="ltr"><div><div><div><div><div><div>Surely !<br><br></div>I have to outline that grass export to postgis topology is still in beta mode. <br></div>Also, I have a feeling the grass export to postgis topology uses the postgis topology functions, which kind of defeat the purpose (should bulk insert into tables).<br>
<br><br></div>I sent a separate message, but GEOS is also promising : <br></div>5 seconds to load everything, build topology, compute face, output faces, impressive!<br><br></div>I shall have CGAL benchmark soon.<br><br></div>
Cheers,<br><br>Rémi-C<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-28 16:04 GMT+01:00 Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Tue, Mar 25, 2014 at 03:13:13PM +0100, Rémi Cura wrote:<br>
> Back after some other testing .<br>
><br>
> (_from memory, suppressing checks in addpoints was about 2 sec instead of 3<br>
> sec.<br>
> _About 21k unique points.)<br>
><br>
><br>
> Here is a little comparison :<br>
> (32k polylines,21k unique points,  already 'topological'( no need to cut<br>
> the lines) ,with a lot of attributes)<br>
><br>
> Postgis Topology<br>
> Postgis Topology (addtopogeom) : 700+ sec for 10k lines, (??about 1600 sec<br>
> for 32k lines??)<br>
> Postgis Topology (addlinestring) : 240+ sec for 10k lines,  (??about 780<br>
> sec for 32k lines??)<br>
> Postgis Topology (addnode, addedge) : 80sec for 10 k lines (??about 260sec<br>
> for 32k lines??)<br>
><br>
> Grass Gis 7 :<br>
> Importing everything : 10 sec<br>
> Importing only geom (no attributes) : 5 sec<br>
><br>
> Importing everything then Exporting all topologies to postgis topology :<br>
> 150 sec<br>
> Declare postgis topo as external source and fill it with shapefile : 145 sec<br>
<br>
</div>Nice! GRASS seems to be the way to go here.<br>
It's interesting to see how a 10-seconds process becomes a 150-seconds<br>
one to ensure output is modeled after PostGIS/ISO model. There's maybe<br>
space for optimization there.<br>
<br>
--strk;<br>
<div class="im HOEnZb"><br>
 ()  ASCII ribbon campaign  --  Keep it simple !<br>
 /\  <a href="http://strk.keybit.net/rants/ascii_mails.txt" target="_blank">http://strk.keybit.net/rants/ascii_mails.txt</a><br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br></div>