[OSM-talk-fr] [Corine] Polygone geant (Attention SQL a faire peur)
Christophe Merlet (RedFox)
redfox at redfoxcenter.org
Lun 12 Oct 20:30:18 UTC 2009
Le lundi 12 octobre 2009 à 21:01 +0100, Emilie Laffray a écrit :
> Bonsoir,
'soir
> j'ai regardé ce soir comment résoudre le problème des polygones de
> très grandes tailles.
>
> SELECT p.geomdump,
> p.pathdump[1]
> FROM ( SELECT (ST_Dump(ST_Difference(l.the_geom, mp.way))).geom AS
> geomdump,
> (ST_Dump(ST_Difference(l.the_geom, mp.way))).path AS
> pathdump
> FROM ( SELECT ST_Multi(ST_Union(pop.way)) AS way
> FROM planet_osm_polygon AS pop
> INNER JOIN
> landuse AS l
> ON l."CLC:id" = 'FR-6749'
> AND ST_Intersects(pop.way, l.the_geom)
> WHERE pop.landuse IS NOT NULL
> OR pop.aeroway IS NOT NULL
> OR pop.natural IS NOT NULL
> OR pop.wood IS NOT NULL
> OR pop.waterway='riverbank'
> ) AS mp,
> landuse AS l
> WHERE l."CLC:id" = 'FR-6749'
> ) AS p
>
Je ne comprends absolument rien a cette requête oO
Mais je te fais confiance ;o)
Librement,
--
Christophe Merlet (RedFox)
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: signature.asc
Type: application/pgp-signature
Taille: 197 octets
Desc: Ceci est une partie de message numériquement signée
URL: <http://lists.openstreetmap.org/pipermail/talk-fr/attachments/20091012/4fea17c0/attachment.sig>
Plus d'informations sur la liste de diffusion Talk-fr