<div dir="ltr"><div>OK, <br>thanks !<br></div><div>Now I understand.<br></div>I'm placing all my hope in this 2.1 version, as I can't work with the current version.<br><br>Cheers,<br><br>Rémi-C<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/9/26 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="im">On Thu, Sep 26, 2013 at 05:00:28PM +0200, Rémi Cura wrote:<br>
<br>
> when using summary on a topology where there is an empty layer (meaning it<br>
> has yet no topogeom inside), this layer is not counted in summary :<br>
> As you can see on the output, I have 3 layers, yet summary count 2.<br>
><br>
><br>
> Topology demo_zone_test (11), SRID 931008, precision 0.1, has Z<br>
> 88 nodes, 105 edges, 49 faces, 76 topogeoms in  2 layers<br>
> Layer 1, type Lineal (2), 48 topogeoms<br>
>  Deploy: <a href="http://demo_zone_test.route_demo.tg" target="_blank">demo_zone_test.route_demo.tg</a><br>
> Layer 4, type Polygonal (3), 28 topogeoms<br>
>  Deploy: <a href="http://demo_zone_test.bati_demo.tg" target="_blank">demo_zone_test.bati_demo.tg</a><br>
> Layer 5, type Polygonal (3), 0 topogeoms<br>
>  Deploy: <a href="http://demo_zone_test.chaussee.tg" target="_blank">demo_zone_test.chaussee.tg</a><br>
<br>
</div>Ah, now I get it. That's really by design. The text reads:<br>
<div class="im"><br>
 "76 topogeoms in 2 layers"<br>
<br>
</div>Which means all of the 76 topogeoms are in 2 of the layers.<br>
<br>
You may be looking for something like this instead:<br>
<br>
 "76 topogeoms, 3 layers"<br>
<br>
As we give more info for each layer I agree the latter may<br>
be more useful than the former...<br>
<div class="im"><br>
> Anyway what you propose is equivalent ( If there is no more than 1 topology<br>
> per schema, but I think this is the case by construction), so do as you<br>
> please. I was trying to imitate your way of coding to blend in.<br>
><br>
> I'm stopping to work on topology for the moment anyway as it is very<br>
> unstable in this version, so I'll install the new version before going on.<br>
<br>
</div>Make sure to also upgrade GEOS, which makes a difference.<br>
<div class="HOEnZb"><div class="h5"><br>
--strk;<br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel</a><br>
</div></div></blockquote></div><br></div>