[postgis-devel] a slight error in postgis TopologySummary

Rémi Cura remi.cura at gmail.com
Thu Sep 26 08:32:30 PDT 2013


OK,
thanks !
Now I understand.
I'm placing all my hope in this 2.1 version, as I can't work with the
current version.

Cheers,

Rémi-C


2013/9/26 Sandro Santilli <strk at keybit.net>

> On Thu, Sep 26, 2013 at 05:00:28PM +0200, Rémi Cura wrote:
>
> > when using summary on a topology where there is an empty layer (meaning
> it
> > has yet no topogeom inside), this layer is not counted in summary :
> > As you can see on the output, I have 3 layers, yet summary count 2.
> >
> >
> > Topology demo_zone_test (11), SRID 931008, precision 0.1, has Z
> > 88 nodes, 105 edges, 49 faces, 76 topogeoms in  2 layers
> > Layer 1, type Lineal (2), 48 topogeoms
> >  Deploy: demo_zone_test.route_demo.tg
> > Layer 4, type Polygonal (3), 28 topogeoms
> >  Deploy: demo_zone_test.bati_demo.tg
> > Layer 5, type Polygonal (3), 0 topogeoms
> >  Deploy: demo_zone_test.chaussee.tg
>
> Ah, now I get it. That's really by design. The text reads:
>
>  "76 topogeoms in 2 layers"
>
> Which means all of the 76 topogeoms are in 2 of the layers.
>
> You may be looking for something like this instead:
>
>  "76 topogeoms, 3 layers"
>
> As we give more info for each layer I agree the latter may
> be more useful than the former...
>
> > Anyway what you propose is equivalent ( If there is no more than 1
> topology
> > per schema, but I think this is the case by construction), so do as you
> > please. I was trying to imitate your way of coding to blend in.
> >
> > I'm stopping to work on topology for the moment anyway as it is very
> > unstable in this version, so I'll install the new version before going
> on.
>
> Make sure to also upgrade GEOS, which makes a difference.
>
> --strk;
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20130926/459600ff/attachment.html>


More information about the postgis-devel mailing list