[Argentina] Agregar o "Mergear" lineas (polilíneas) en PostGIS

Vicky Vergara vicky en georepublic.de
Lun Oct 16 12:32:26 PDT 2017


Hola

No se el porqué. (La opción que te dí es lo que se usa en pgRoutingLayer
desde postGIS 2.0.0)

http://www.postgis.net/docs/ST_Union.html
http://www.postgis.net/docs/ST_MakeLine.html
http://www.postgis.org/docs/ST_LineMerge.html

Pudes usar \timing para comparar cual es la más rápida?

Vicky



2017-10-16 8:12 GMT-05:00 Luciano Campagnolo <luciano.campagnolo en gmail.com>:

> Hola Vicky, muchas gracias!
>
> Creí haber llegado a un resultado usando:
>
> SELECT ST_MakeLine(ST_LineMerge(geom)) FROM foo WHERE nombreruta LIKE
> '%algo%';
>
> Veo que llego a un mismo resultado usando tu sugerencia:
>
> SELECT ST_LineMerge(ST_Union(geom)) FROM foo;
>
> Son diferentes? Como?
>
> Nuevamente, GRACIAS
> Luciano
> _______________________________________________
> Argentina mailing list
> Argentina en lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/argentina
>



-- 

Georepublic UG (haftungsbeschränkt)
Salzmannstraße 44,
81739 München, Germany

Vicky Vergara
Operations Research

eMail: vicky en georepublic.de
Web: https://georepublic.info

Tel: +49 (089) 4161 7698-1
Fax: +49 (089) 4161 7698-9

Commercial register: Amtsgericht München, HRB 181428
CEO: Daniel Kastl
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.osgeo.org/pipermail/argentina/attachments/20171016/7d38e36e/attachment.html>


Más información sobre la lista de distribución Argentina