[postgis-users] what function to "dissolve" data?
Milo van der Linden
mlinden at zeelandnet.nl
Wed Aug 15 11:39:07 PDT 2007
And if that won't do, consider exporting the data to a well known GIS
format and operate a join in the GIS. After joining, you can then upload
the data back into a table and perform joins and so with postGIS
Burgholzer,Robert schreef:
> Andreas,
> I have used the following query with varying degrees of success (that is, sometimes the memory requirements seem to be too much, and it takes forever to complete). The resulting shape occasionally renders strangely in Qgis.
>
> SELECT landuse_name, memgeomunion(the_geom)
> GROUP BY landuse_name
>
> Regular geomunion (instead of memGeomUnion) can also work, but seems to choke on larger collections.
>
> r.b.
>
> Robert W. Burgholzer
> Surface Water Modeler
> Office of Water Supply and Planning
> Virginia Department of Environmental Quality
> rwburgholzer at deq.virginia.gov
> 804-698-4405
> Open Source Modeling Tools:
> http://sourceforge.net/projects/npsource/
> Web-Based Water Supply Planning Demo:
> http://soulswimmer.dynalias.net/models/wsdemo/demo_hsi.php
>
> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Andreas Laggner
> Sent: Wednesday, August 15, 2007 12:30 PM
> To: PostGis_Mailinglist
> Subject: [postgis-users] what function to "dissolve" data?
>
> Hi,
>
> i want to simplify my data by dissolving lines (borders) between
> Polygons (the polygons share one line or at least one point) with the
> same attributes to get a smaller dataset and i did not find a function
> for that operation (so far). For example i have one million polygons
> with the same landuse but a different polygon_number or what else and i
> only want to distinguish between landuse in my data. Thus i can reduce
> my dataset to same hundred polygons (or perhaps even one big polygon if
> all polygons touches).
>
> thanks for help Andreas
>
>
>
>
--
Milo van der Linden
skype: milovanderlinden <skype:milovanderlinden?add>
mlinden at zeelandnet.nl <mailto:mlinden at zeelandnet.nl>
milovanderlinden at gmail.com <mailto:milovanderlinden at gmail.com>
milo at 3dsite.nl <mailto:milo at 3dsite.nl>
http://www.3dsite.nl
De informatie in dit bericht reflecteert mijn persoonlijke mening en
niet die van een bedrijf of instantie. Aan de informatie kunnen geen
rechten worden ontleend. Indien dit bericht onderdeel is van een forum,
mailing-list of community dan gelden automatisch de bij het betreffende
medium behorende voorwaarden. The information in this message reflects
my personal opinion and not that of a company or public body. All rights
reserved.If this message is contained in a mailing-list or community,
the rights on the medium are automatically adapted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070815/65aa9818/attachment.html>
More information about the postgis-users
mailing list