<div dir="ltr"><div class="gmail_default" style="color:rgb(0,0,255)">Thank you very much ,</div><div class="gmail_default" style="color:rgb(0,0,255)"><br></div><div class="gmail_default" style="color:rgb(0,0,255)">inserting the aggregate values into the dissolve table by trigger is what I want.</div><div class="gmail_default" style="color:rgb(0,0,255)">The sql command below works well as I wanted to.</div><div class="gmail_default" style="color:rgb(0,0,255)"><br></div><div class="gmail_default" style="color:rgb(0,0,255)"><span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:12.8000001907349px">------</span><span style="font-family:monospace,monospace;font-size:12.8000001907349px;color:rgb(34,34,34)">----------------------------------------------</span><br></div><div class="gmail_default"><span style="font-size:12.8000001907349px"><font color="#000000" face="monospace, monospace"><br></font></span></div><div class="gmail_default"><div class="gmail_default"><font face="monospace, monospace" color="#000000">-- Function: public.a_dissolve_trigger_func()</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000">-- DROP FUNCTION public.a_dissolve_trigger_func();</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"><br></font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000">CREATE OR REPLACE FUNCTION public.a_dissolve_trigger_func()</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"> RETURNS trigger AS</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000">$BODY$</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"><span style="white-space:pre-wrap"> </span>BEGIN<span style="white-space:pre-wrap"> </span></font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"><span style="white-space:pre-wrap"> </span>DELETE FROM a_polygon_dissolve</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"><span style="white-space:pre-wrap"> </span>WHERE gid>0;</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"><br></font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"><span style="white-space:pre-wrap"> </span>INSERT INTO public.a_polygon_dissolve (geom) </font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"><span style="white-space:pre-wrap"> </span>SELECT ST_Union(geom) AS geom FROM a_polygon ; --GROUP BY geom ;</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"><br></font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"><span style="white-space:pre-wrap"> </span>RETURN NEW;</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"><span style="white-space:pre-wrap"> </span>END;</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"><br></font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000">$BODY$</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"> LANGUAGE plpgsql VOLATILE</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"> COST 100;</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000">ALTER FUNCTION public.a_dissolve_trigger_func()</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"> OWNER TO postgres;</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"><br></font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"><br></font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000">-- Trigger: a_dissolve_trigger on public.a_polygon</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000">-- DROP TRIGGER a_dissolve_trigger ON public.a_polygon;</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"><br></font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000">CREATE TRIGGER a_dissolve_trigger</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"> AFTER INSERT OR DELETE OR UPDATE </font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"> ON public.a_polygon</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"> FOR EACH ROW</font></div><div class="gmail_default"><font face="monospace, monospace" color="#000000"> EXECUTE PROCEDURE public.a_dissolve_trigger_func();</font></div><div><font color="#0000ff" face="monospace, monospace"><br></font></div></div><div class="gmail_default" style="color:rgb(0,0,255)"><span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:12.8000001907349px">------</span><span style="font-family:monospace,monospace;font-size:12.8000001907349px;color:rgb(34,34,34)">----------------------------------------------</span><span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:12.8000001907349px"><br></span></div><div class="gmail_default" style="color:rgb(0,0,255)"><br></div><div class="gmail_default" style="color:rgb(0,0,255)">I've used INSERT instead of UPDATE.</div><div class="gmail_default" style="color:rgb(0,0,255)">I create a dissolve layer for the first time and it get updated by trigger all the time.</div><div class="gmail_default" style="color:rgb(0,0,255)"><br></div><div class="gmail_default" style="color:rgb(0,0,255)">Thank you very much again for your explanation and help</div><div class="gmail_default" style="color:rgb(0,0,255)"><br></div><div class="gmail_default" style="color:rgb(0,0,255)">Best regards</div><div class="gmail_default" style="color:rgb(0,0,255)"><br></div><div class="gmail_default" style="color:rgb(0,0,255)">-</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 8, 2015 at 10:06 PM, Rémi Cura <span dir="ltr"><<a href="mailto:remi.cura@gmail.com" target="_blank">remi.cura@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hey,<br></div><div class="gmail_default" style="font-family:monospace,monospace">you must think in term of geometry and not layer,<br></div><div class="gmail_default" style="font-family:monospace,monospace">because the function you use works on geometry and not layer.<br></div><div class="gmail_default" style="font-family:monospace,monospace">For instance<br>----<span class=""><br><div class="gmail_default">UPDATE public.a_polygon_dissolve SET geom = ST_Union(geom)<br></div></span><div class="gmail_default">where ...<br></div>----<br></div><div class="gmail_default" style="font-family:monospace,monospace">will take one row by one row, and for each row geometry (geomA), compute st_union(geomA),<br></div><div class="gmail_default" style="font-family:monospace,monospace">which is obviously not what you want.<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">On the opposite,<br></div><div class="gmail_default" style="font-family:monospace,monospace"><span class=""><div class="gmail_default"><span style="color:rgb(0,0,0);font-family:monospace,monospace">-------------------------</span></div><div class="gmail_default"><span style="color:rgb(0,0,0);font-family:monospace,monospace">SELECT ST_Union(geom) AS geom</span><font color="#000000" face="monospace, monospace"> FROM a_polygon;</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace">-------------------------</font></div></span>will take all the row from a_polygon, and compute the union of all the row geom.<br><br><br></div><div class="gmail_default" style="font-family:monospace,monospace">You can use CTE within INSERT to emulate that <br></div><div class="gmail_default" style="font-family:monospace,monospace">(e.g.<br></div><div class="gmail_default" style="font-family:monospace,monospace">WITH to_insert AS (<br></div><div class="gmail_default" style="font-family:monospace,monospace"> --do my computing<br></div><div class="gmail_default" style="font-family:monospace,monospace"> SELECT ...<br></div><div class="gmail_default" style="font-family:monospace,monospace">)<br></div><div class="gmail_default" style="font-family:monospace,monospace">INSERT INTO ...<br></div><div class="gmail_default" style="font-family:monospace,monospace">USING ...<br></div><div class="gmail_default" style="font-family:monospace,monospace">)<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">Anyway, I can't understand what you are trying to do .<br><br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">What you call 'not visible' in qgis is simply that you can't access it from the regular menu because QGIS can't understand it.<br></div><div class="gmail_default" style="font-family:monospace,monospace">This is because you didn't specified the type of geometry you are producing, and don't have a primary key or unique row id.<br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">creating the table like this <br><span class="">----<br><div class="gmail_default" style="color:rgb(34,34,34)"><span style="color:rgb(0,0,0);font-family:monospace,monospace">SELECT ST_Union(geom) AS geom INTO a_</span><span style="color:rgb(0,0,0);font-family:monospace,monospace">polygon_</span><span style="color:rgb(0,0,0);font-family:monospace,monospace">dissolve</span></div><div class="gmail_default"><font color="#000000" face="monospace, monospace">FROM a_polygon GROUP</font><span style="color:rgb(0,0,0);font-family:monospace,monospace"> BY geom;</span></div>----<br></span></div><div class="gmail_default" style="font-family:monospace,monospace">is a bad idea.<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">You should use<br></div><div class="gmail_default" style="font-family:monospace,monospace">-------not so clean- ----<br></div><div class="gmail_default" style="font-family:monospace,monospace"><div class="gmail_default" style="color:rgb(34,34,34)"><span style="color:rgb(0,0,0);font-family:monospace,monospace">SELECT row_number() over() as example_of_unique_id, ST_Union(geom)::geometry(polygon,4326) AS geom INTO a_</span><span style="color:rgb(0,0,0);font-family:monospace,monospace">polygon_</span><span style="color:rgb(0,0,0);font-family:monospace,monospace">dissolve</span></div><span class=""><div class="gmail_default"><font color="#000000" face="monospace, monospace">FROM a_polygon GROUP</font><span style="color:rgb(0,0,0);font-family:monospace,monospace"> BY geom;</span></div><br></span></div><div class="gmail_default" style="font-family:monospace,monospace">-- OR (very clean) <br></div><div class="gmail_default" style="font-family:monospace,monospace"><br>CREATE TABLE public.<span style="color:rgb(0,0,0);font-family:monospace,monospace">a_</span><span style="color:rgb(0,0,0);font-family:monospace,monospace">polygon_</span><span style="color:rgb(0,0,0);font-family:monospace,monospace">dissolve (<br></span></div><div class="gmail_default" style="font-family:monospace,monospace"><span style="color:rgb(0,0,0);font-family:monospace,monospace"> gid serial,<br></span></div><div class="gmail_default" style="font-family:monospace,monospace"><span style="color:rgb(0,0,0);font-family:monospace,monospace"> geom geometry(polygon,4326)<br></span></div><div class="gmail_default" style="font-family:monospace,monospace"><span style="color:rgb(0,0,0);font-family:monospace,monospace">);<br></span></div><div class="gmail_default" style="font-family:monospace,monospace"><span style="color:rgb(0,0,0);font-family:monospace,monospace">INSERT INTO </span>public.<span style="color:rgb(0,0,0);font-family:monospace,monospace">a_</span><span style="color:rgb(0,0,0);font-family:monospace,monospace">polygon_</span><span style="color:rgb(0,0,0);font-family:monospace,monospace">dissolve (geom) <br>SELECT </span><span style="color:rgb(0,0,0);font-family:monospace,monospace">ST_Union(geom) AS geom INTO a_</span><span style="color:rgb(0,0,0);font-family:monospace,monospace">polygon_</span><span style="color:rgb(0,0,0);font-family:monospace,monospace">dissolve</span><span style="color:rgb(0,0,0);font-family:monospace,monospace"></span><font color="#000000" face="monospace, monospace">FROM a_polygon GROUP</font><span style="color:rgb(0,0,0);font-family:monospace,monospace"> BY geom</span></div><div class="gmail_default" style="font-family:monospace,monospace">------<br><br><br></div><div class="gmail_default" style="font-family:monospace,monospace">Cheers,<br></div><div class="gmail_default" style="font-family:monospace,monospace">Rémi-C<br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2015-06-08 14:25 GMT+02:00 KhunSanAung <span dir="ltr"><<a href="mailto:khunsanaung.gis@gmail.com" target="_blank">khunsanaung.gis@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div class="gmail_default" style="color:rgb(0,0,255)">Hi All,</div><div class="gmail_default" style="color:rgb(0,0,255)"><br></div><div class="gmail_default" style="color:rgb(0,0,255)">I'd like to create a trigger that will </div><div class="gmail_default" style="color:rgb(0,0,255)">update the dissolve layer when there is any change on a polygon layer.</div><div class="gmail_default" style="color:rgb(0,0,255)">I need a dissolve layer (big polygon) to get the boundary of all small polygons layer.</div><div class="gmail_default" style="color:rgb(0,0,255)">But not able to get it successfully yet.</div><div class="gmail_default" style="color:rgb(0,0,255)"><br></div><div class="gmail_default" style="color:rgb(0,0,255)">My PGSQL trigger code is as below.<br></div><div class="gmail_default" style="color:rgb(0,0,255)"><br></div><div class="gmail_default" style="color:rgb(0,0,255)">------------------------- CODE Start------------------</div><div class="gmail_default"><div class="gmail_default"><font color="#00ff00" face="monospace, monospace">-- Function: public.a_dissolve_trigger_func()</font></div><div class="gmail_default"><font color="#00ff00" face="monospace, monospace">-- DROP FUNCTION public.a_dissolve_trigger_func();</font></div><div class="gmail_default"><font color="#0000ff" face="monospace, monospace"><br></font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace">CREATE OR REPLACE FUNCTION public.a_dissolve_trigger_func()</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace"> RETURNS trigger AS</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace">$BODY$</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace"><span style="white-space:pre-wrap"> </span>BEGIN<span style="white-space:pre-wrap"> </span></font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace"><span style="white-space:pre-wrap"> </span>UPDATE public.a_polygon_dissolve </font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace"><span style="white-space:pre-wrap"> </span>SET </font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace"><span style="white-space:pre-wrap"> </span>geom = ST_Union(geom)</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace"><span style="white-space:pre-wrap"> </span>where a_polygon_dissolve.gid=1;</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace"><span style="white-space:pre-wrap"> </span>END;</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace">$BODY$</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace"> LANGUAGE plpgsql VOLATILE</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace"> COST 100;</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace">ALTER FUNCTION public.a_dissolve_trigger_func()</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace"> OWNER TO postgres;</font></div><div class="gmail_default"><font color="#0000ff" face="monospace, monospace"><br></font></div><div class="gmail_default"><font color="#0000ff" face="monospace, monospace"><br></font></div><div class="gmail_default"><font color="#00ff00" face="monospace, monospace">-- Trigger: a_dissolve_trigger on public.a_polygon</font></div><div class="gmail_default"><font color="#00ff00" face="monospace, monospace">-- DROP TRIGGER a_dissolve_trigger ON public.a_polygon;</font></div><div class="gmail_default"><font color="#0000ff" face="monospace, monospace"><br></font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace">CREATE TRIGGER a_dissolve_trigger</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace"> AFTER INSERT OR DELETE OR UPDATE </font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace"> ON public.a_polygon</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace"> FOR EACH ROW</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace"> EXECUTE PROCEDURE public.a_dissolve_trigger_func();</font></div></div><div class="gmail_default" style="color:rgb(0,0,255)"><br></div><div class="gmail_default" style="color:rgb(0,0,255)">---------------------------------------- END OF CODE -------</div><div class="gmail_default"><div class="gmail_default" style="color:rgb(0,0,255)"><br></div><div class="gmail_default" style="color:rgb(0,0,255)"><br></div><div class="gmail_default" style="color:rgb(0,0,255)">When I tried to modified the input polygon in QGIS, </div></div><div class="gmail_default"><font color="#0000ff" face="arial, helvetica, sans-serif">the error message says 'aggregate function - ST_Union() is not allowed in Update as below.</font></div><div class="gmail_default"><font color="#0000ff" face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font color="#000000" face="arial narrow, sans-serif">--------------- error message start --------------------</font></div><div class="gmail_default"><p style="margin:0px"><font color="#000000" face="arial narrow, sans-serif">Could not commit changes to layer a_polygon</font></p>
<p style="margin:0px"><font color="#000000" face="arial narrow, sans-serif"><br></font></p>
<p style="margin:0px"><font color="#000000" face="arial narrow, sans-serif">Errors: ERROR: 1 feature(s) not added.</font></p>
<p style="margin:0px"> </p>
<p style="margin:0px"><font color="#000000" face="arial narrow, sans-serif"> Provider errors:</font></p>
<p style="margin:0px"><font color="#000000" face="arial narrow, sans-serif"> PostGIS error while adding features: ERROR: aggregate functions are not allowed in UPDATE</font></p>
<p style="margin:0px"><font color="#000000" face="arial narrow, sans-serif"> LINE 3: geom = ST_Union(geom)</font></p>
<p style="margin:0px"><font color="#000000" face="arial narrow, sans-serif"> ^</font></p>
<p style="margin:0px"><font color="#000000" face="arial narrow, sans-serif"> QUERY: UPDATE public.a_polygon_dissolve </font></p>
<p style="margin:0px"><font color="#000000" face="arial narrow, sans-serif"> SET </font></p>
<p style="margin:0px"><font color="#000000" face="arial narrow, sans-serif"> geom = ST_Union(geom)</font></p>
<p style="margin:0px"><font color="#000000" face="arial narrow, sans-serif"> where a_polygon_dissolve.gid=1</font></p>
<p style="margin:0px"><font color="#000000" face="arial narrow, sans-serif"> CONTEXT: PL/pgSQL function a_dissolve_trigger_func() line 3 at SQL statement</font></p><p style="color:rgb(0,0,255);margin:0px">----------------- error message end ----------------------</p></div><div class="gmail_extra"><div><br></div><div><div class="gmail_default" style="color:rgb(0,0,255)"><b>Question 1.</b></div><div class="gmail_default" style="color:rgb(0,0,255)"><b>If someone could suggest a better method dissolving layer in trigger, it would be very helpful for me.</b></div><div class="gmail_default" style="color:rgb(0,0,255)"><br></div><br></div><div><div class="gmail_default" style="color:rgb(0,0,255)">I search and found some methods for creating a dissolve polygon.</div><div class="gmail_default" style="color:rgb(0,0,255)">When I select the geom by Union, as follow</div><div class="gmail_default"><br></div><div class="gmail_default"><span style="color:rgb(0,0,0);font-family:monospace,monospace">-------------------------</span></div><div class="gmail_default"><span style="color:rgb(0,0,0);font-family:monospace,monospace">SELECT ST_Union(geom) AS geom</span><font color="#000000" face="monospace, monospace"> FROM a_polygon;</font></div><div class="gmail_default"><div class="gmail_default"><font color="#000000" face="monospace, monospace">-------------------------</font></div><div class="gmail_default">Query returned successfully: one row affected, <br></div><div class="gmail_default"><br></div></div><div class="gmail_default" style="color:rgb(0,0,255)">I can see the geometry values in output result.</div><div class="gmail_default" style="color:rgb(0,0,255)">But When I tried to write the result into a new dissolve table as follow;<br></div><div class="gmail_default" style="color:rgb(0,0,255)"><div class="gmail_default" style="color:rgb(34,34,34)"><br></div><div class="gmail_default" style="color:rgb(34,34,34)"><span style="color:rgb(0,0,0);font-family:monospace,monospace">-------------------------</span></div><div class="gmail_default" style="color:rgb(34,34,34)"><span style="color:rgb(0,0,0);font-family:monospace,monospace">SELECT ST_Union(geom) AS geom INTO a_</span><span style="color:rgb(0,0,0);font-family:monospace,monospace">polygon_</span><span style="color:rgb(0,0,0);font-family:monospace,monospace">dissolve</span></div><div class="gmail_default" style="color:rgb(34,34,34)"><div class="gmail_default"><font color="#000000" face="monospace, monospace">FROM a_polygon GROUP</font><span style="color:rgb(0,0,0);font-family:monospace,monospace"> BY geom;</span></div><div class="gmail_default"><font color="#000000" face="monospace, monospace">-------------------------</font></div><div class="gmail_default"><br></div></div><div class="gmail_default">The layer is not visible when I tried to connect using QGIS.</div><div class="gmail_default">I cannot open that file using QGIS. <br></div><div class="gmail_default">Sometimes (testing with other polygon layers) the geom column is blank and I cannot open the newly form '<span style="color:rgb(0,0,0);font-family:monospace,monospace">a_</span><span style="color:rgb(0,0,0);font-family:monospace,monospace">polygon_</span><span style="color:rgb(0,0,0);font-family:monospace,monospace">dissolve'</span> file in QIGS too. </div><div class="gmail_default">I'd tried to add a primary key, 'gid' column but it doesn't work.</div><div class="gmail_default">In this case, I need to drop the 'dissolve polygon' first in order to write a new file.<br></div><div class="gmail_default"><br></div><div class="gmail_default"><b>Question 2.</b></div><div class="gmail_default"><b>If this is the option to use the ST_Union, how can I fix the above geometry problem ?</b></div></div></div><div><br></div><div><br></div><div><div class="gmail_default" style="color:rgb(0,0,255)">I'm using, postgres-9.3 and postgis-2.1 version in Window OS version.</div><div class="gmail_default" style="color:rgb(0,0,255)">The input 'a_polygon' as text is below.</div></div><div><div class="gmail_default" style="color:rgb(0,0,255)"><br></div><div class="gmail_default"><div class="gmail_default"><font color="#000000" face="monospace, monospace">------------- input 'a_polygon' as text --------------</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace">"st_astext"</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace">"MULTIPOLYGON(((96.1484380679014 16.781203891314,96.1507922871521 16.7810815942101,96.1505171186682 16.777748998128,96.1505022713357 16.7777492102328,96.1483769193495 16.777779572404,96.1484380679014 16.781203891314)))"</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace">"MULTIPOLYGON(((96.1507922871521 16.7810815942101,96.1507922871521 16.7810815942101,96.152657317987 16.7810510199341,96.1523821495031 16.777779572404,96.1505171186682 16.777748998128,96.1507922871521 16.7810815942101)))"</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace">"MULTIPOLYGON(((96.152657317987 16.7810510199341,96.1540178732682 16.7810357327961,96.1538497147503 16.77788658237,96.1523821495031 16.777779572404,96.152657317987 16.7810510199341)))"</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace">"MULTIPOLYGON(((96.1540178732682 16.7810357327961,96.1555465870673 16.7810815942101,96.1554242899634 16.7781006023018,96.1538497147503 16.77788658237,96.1540178732682 16.7810357327961)))"</font></div><div class="gmail_default"><font color="#000000" face="monospace, monospace">---------------- end of text ------------------</font></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div></div></div><div class="gmail_default" style="color:rgb(0,0,255)">Thank you very much for any idea.</div><div class="gmail_default" style="color:rgb(0,0,255)"><br></div><br><div><div dir="ltr"><span style="color:rgb(0,0,153)">Have a nice day!</span><br>--<br><p style="line-height:115%"><b><span style="font-size:9pt;line-height:115%;color:rgb(127,127,127)" lang="EN-GB">Mr. Khun San Aung</span></b></p><u><span style="font-size:9pt;line-height:115%;color:blue" lang="EN-GB"><a href="http://geoportal.icimod.org/" target="_blank"></a></span></u><u><span style="font-size:9pt;line-height:115%;color:rgb(127,127,127)" lang="EN-GB"></span></u></div></div>
</div></div>
<br></div></div>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span style="color:rgb(0,0,153)">Have a nice day!</span><br>--<br><p style="line-height:115%"><b><span style="font-size:9.0pt;line-height:115%;color:#7f7f7f" lang="EN-GB">Mr. Khun San Aung</span></b></p><u><span style="font-size:9.0pt;line-height:115%;color:blue" lang="EN-GB"><a href="http://geoportal.icimod.org/" target="_blank"></a></span></u><u><span style="font-size:9.0pt;line-height:115%;color:#7f7f7f" lang="EN-GB"></span></u></div></div>
</div>