[postgis-devel] [WKT Raster] For clearer andfriendlygeoreferencing
Mateusz Loskot
Mateusz.Loskot at cadcorp.com
Wed Jun 3 04:51:08 PDT 2009
Pierre Racine wrote:
> Mateusz Loskot wrote:
> >> -We are becoming more and more good friends with GDAL
> >
> > So far, Only gdal2wktraster uses GDAL.
>
> and we will soon link with GDAL to implement RT_AsImage(),
> RT_AsPolygon() and RT_Intersections()
OK
> >> To better stick to GDAL and to make everything clearer, I will
> >> change the specs this way:
> >>
> >> -RT_UpperLeftX() and RT_UpperLeftY() will now return the coordinate
> >> of the top left CORNER of the top left pixel. This is also what we
> >> are going to store as ipX & ipY in the future.
> >
> > Does it mean after you change these SQL functions, raster header will
> > still return center of the top left pixel?
>
> No. It will return the upper left corner of the upper left pixel. I'll
> change the specs.
Good.
> >> -RT_GeoReference(raster) will be renamed RT_GdalGeoTransform(raster)
> >> -There will ge a new RT_ESRIWorldFile() function doing basically the
> >> same as RT_GdalGeoTransform() but according to the world file specs
> >
> > Gdal is probably wrong spelling, if you care about spelling ESRI
> > correctly :-)
>
> RT_GDALGeoTransform(raster)?
IMHO, yes.
Best regards,
--
Mateusz Loskot
Senior Programmer, Cadcorp
http://www.cadcorp.com
More information about the postgis-devel
mailing list