[postgis-devel] ST_Intersection(raster, geom).val returning integer while expecting float

Bborie Park dustymugs at gmail.com
Sun Dec 4 18:18:22 PST 2011


>> Bborie,
>>
>> please correct me if I misspoke.  Never quite understood that floating point
>> setting, but never sat down long enough to see what the issue was there
>> whether its our GDAL compile or PostGIS picking up our GDAL settings.
>>
>> Thanks,
>> Regina
>> http://www.postgis.us
>
> Regina,
>
> Quickest way to tell if PostGIS's configure picked up GDALFPolygonize
> (floating-point polygons) properly is to see if raster/raster_config.h
> has GDALFPOLYGONIZE defined to 1.  If that is set, then PostGIS Raster
> has been configured to use GDALFPolygonize.
>
> From what I remember, GDALFPolygonize does not need GEOS to work.
> I'll have to build GDAL without GEOS to confirm though.
>
> http://trac.osgeo.org/gdal/browser/trunk/gdal/alg/fpolygonize.cpp
>
> After the code freeze, I'll be wading into Windows world to see what's
> breaking and how to debug in that world.
>
> -bborie

I just tested PostGIS Raster's regression suite with GDAL compiled
WITHOUT GEOS support (with-geos=no) and I don't have any issues.

-bborie



More information about the postgis-devel mailing list