One of the new features in PostgreSQL 8.4 was the “WITH RECURSIVE” clause available for queries. It allows you to define a subquery based on a recursive term — fancy language for a function that calls itself. One of the favorite uses of recursion is walking a network. Geospatial applications use networks all the time: electrical grids, stream systems, and storm sewers are all directed networks (they have unidirectional flow).
Here’s an example of network walking using a simple collection of segments. As is common in many GIS applications, the segment are implicitly connected — their end points are coincident with the start points of other segments.

Mas:

http://blog.opengeo.org/2010/07/21/network-walking-in-postgis/

Post comment

*

Buscar en DbRunas

Descargar versiones libres recomendadas actualizadas

Revistas

PostgreSQL Magazine (ingles): PostgreSQL Magazine
SQL Server (ingles): SolidQ SQL Server Journal
SQL Server (ingles): Code Magazine
PostgreSQL (ingles): Postgres OnLine Journal
Oracle (ingles): oraclemagazine-digital
SQL Server (español): MSDN Magazine
MySQL (ingles): MySQL Magazine

Manuales

Recursos

Archivo diario de noticias

July 2010
M T W T F S S
« Jun   Aug »
 1234
567891011
12131415161718
19202122232425
262728293031  

Archivo por mes y año

Comentarios recientes

RSS Ayudas Oracle

RSS Ayudas PostgreSQL

RSS Ayudas MySQL

RSS Ayudas SQL Server

RSS Ayudas DB2

RSS Ayudas SQL

RSS Feeds Planeta PostgreSQL-es

RSS Feeds Planet PostgreSQL

RSS Feeds Planeta PostgreSLQ Brazil

RSS Feeds Planet MySQL

Blogroll

Clouds

Desde donde nos visitan

Prueba tu Velocidad de Acceso

Site5 | Experts In Reseller Hosting.