Hi Pierre,<div><br></div><div>I mean: Rasters and Vectors in GDAL are only related in functions like GDALPolygonize, GDALContourGenerate or GDALRasterizeLayers. This functions, in any way, "switch" from one world to another one. Something different to the goal of WKTRaster project (raster support and raster/vector integration in *PostGIS*). More correct?</div>

<div><br></div><div>Thanks again!</div><div><br></div><div>Best regards,</div><div><br></div><div>Jorge<br>
<br><br><div class="gmail_quote">On Wed, Jun 17, 2009 at 11:19 PM, Pierre Racine <span dir="ltr"><<a href="mailto:Pierre.Racine@sbf.ulaval.ca">Pierre.Racine@sbf.ulaval.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi Jorge,<br>
<br>
You should actually say: "This integration between raster and vectors in ***PostGIS*** is related with other methods like..." There is no such things as ST_Intersection, ST_Union in GDAL... It is true however that this integration work will rely on the GDAL library.<br>


<div class="im"><br>
Pierre<br>
<br>
From: <a href="mailto:postgis-devel-bounces@postgis.refractions.net">postgis-devel-bounces@postgis.refractions.net</a> [mailto:<a href="mailto:postgis-devel-bounces@postgis.refractions.net">postgis-devel-bounces@postgis.refractions.net</a>] On Behalf Of Jorge Arévalo<br>


</div>Sent: 17 juin 2009 16:27<br>
To: PostGIS Development Discussion<br>
Subject: Re: [postgis-devel] GDAL WKT Raster Driver weekly report #3<br>
<div><div></div><div class="h5"><br>
Hi Pierre,<br>
<br>
I've read the introduction again, and totally agree: shows confusion, concept mixing. But I must say that I wrote these sentences very late at night, and in different moments, when I had finished the rest of the document. Now, I think that they have no sense... <br>


<br>
I understand the limits between :<br>
- the work in GDAL (A driver able to read a new type of raster: a new PostGIS type called "WKT Raster")<br>
- the work in PostGIS (this new type that adds raster support in PostGIS)<br>
<br>
This new PostGIS type will be able to be integrated in raster/vector operations with vector data: ST_Intersection, ST_Union, etc. This integration between raster and vectors in GDAL is related with other methods like, as you said, GDALPolygonize, GDALContourGenerate and GDALRasterizeLayers), not directly with my job, of course. <br>


<br>
I apologize for that. I feel really stupid just now, I see the error perfectly. I'm going to correct the document just now. And, by the way, I'm going to add an "Acknowledgements" section.<br>
<br>
Many thanks for your help, and sorry again for this stupid mistake<br>
<br>
Best Regards<br>
Jorge<br>
<br>
On Wed, Jun 17, 2009 at 3:41 PM, Pierre Racine <<a href="mailto:Pierre.Racine@sbf.ulaval.ca">Pierre.Racine@sbf.ulaval.ca</a>> wrote:<br>
Hi Jorge,<br>
<br>
At first sight there seems to be a confusion between "raster/vector integration in PostGIS" VS "raster/vector integration in GDAL".<br>
<br>
When you say "And these new type of GDAL data will be used to perform seamless operations with VECTOR DATA (Geometry type, in OGR-Syntax), from OGR library." and "This new abstract Raster objects will be used together with the OGR Geometry objects in functions like ST_Intersection or ST_Union. " you are mixing what we intend to do in PostGIS and something that does not really exist in GDAL/OGR (except for the GDALPolygonize, GDALContourGenerate and GDALRasterizeLayers methods). Your goal, it seems to me, should not be to care about raster/vector operations in GDAL but just to be able to read WKT Rasters from PostGIS so that GDAL can do whatever is can do with raster. Implementing raster/vector seemless operations over GDAL/OGR is a very interesting and desirable project, but I don't think it is part of this driver project. You should not have to care about OGR at all.<br>


<br>
Pierre<br>
<br>
<br>
From: <a href="mailto:postgis-devel-bounces@postgis.refractions.net">postgis-devel-bounces@postgis.refractions.net</a> [mailto:<a href="mailto:postgis-devel-bounces@postgis.refractions.net">postgis-devel-bounces@postgis.refractions.net</a>] On Behalf Of Jorge Arévalo<br>


Sent: 16 juin 2009 00:11<br>
To: <a href="mailto:soc@lists.osgeo.org">soc@lists.osgeo.org</a>; <a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>; PostGIS Development Discussion<br>
Subject: [postgis-devel] GDAL WKT Raster Driver weekly report #3<br>
<br>
Here is the report #3<br>
<br>
<a href="http://www.gis4free.org/blog/2009/06/16/gsoc-09-weekly-report-3-0506-1206/" target="_blank">http://www.gis4free.org/blog/2009/06/16/gsoc-09-weekly-report-3-0506-1206/</a><br>
<br>
And, as usual, the project can be followed here<br>
<br>
<a href="http://trac.osgeo.org/gdal/wiki/WKTRasterDriver" target="_blank">http://trac.osgeo.org/gdal/wiki/WKTRasterDriver</a><br>
<br>
Best regards<br>
Jorge<br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br>
<br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br>
</div></div></blockquote></div><br></div>