<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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<br>
<br>
Burgholzer,Robert schreef:
<blockquote
 cite="mid:6C097DA58429B743A67070F98BE73A37025DD65A@deqex01.deq.local"
 type="cite">
  <pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:rwburgholzer@deq.virginia.gov">rwburgholzer@deq.virginia.gov</a>
804-698-4405
Open Source Modeling Tools:
<a class="moz-txt-link-freetext" href="http://sourceforge.net/projects/npsource/">http://sourceforge.net/projects/npsource/</a>
Web-Based Water Supply Planning Demo:
<a class="moz-txt-link-freetext" href="http://soulswimmer.dynalias.net/models/wsdemo/demo_hsi.php">http://soulswimmer.dynalias.net/models/wsdemo/demo_hsi.php</a>

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a> [<a class="moz-txt-link-freetext" href="mailto:postgis-users-bounces@postgis.refractions.net">mailto:postgis-users-bounces@postgis.refractions.net</a>] 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



  </pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<title>3DSite</title>
<meta http-equiv="Content-Type" content="text/html; ">
<style type="text/css">
<!--
body {
        background-color: #FFFFFF;
        margin-left: 5px;
        margin-top: 5px;
        margin-right: 5px;
        margin-bottom: 5px;
}
body,td,th {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #333333;
}
.style4 {font-size: 9px; }
.style5 {font-size: 9px; color: #CCCCCC; }
-->
</style>
<meta content="MSHTML 6.00.2900.2912" name="GENERATOR">
<br>
<table border="0" cellpadding="0" cellspacing="0" width="400">
  <tbody>
    <tr>
      <td rowspan="3" align="left" height="0" valign="bottom" width="15"><br>
      </td>
      <td colspan="2" align="left" height="78" valign="top" width="0">
      <p class="style4">Milo van der Linden
      <br>
      <a href="skype:milovanderlinden?add">skype: milovanderlinden</a><br>
      <a href="mailto:mlinden@zeelandnet.nl">mlinden@zeelandnet.nl</a><br>
      <a href="mailto:milovanderlinden@gmail.com">milovanderlinden@gmail.com</a><br>
      <a href="mailto:milo@3dsite.nl">milo@3dsite.nl</a><br>
      <a href="http://www.3dsite.nl">http://www.3dsite.nl</a><br>
      </p>
      </td>
      <td rowspan="3" align="left" height="0" valign="top" width="15"> </td>
      <td valign="top" width="300">
      <p class="style5"><span lang="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.</span>
      <span lang="EN">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.</span></p>
      </td>
    </tr>
  </tbody>
</table>
</div>
</body>
</html>