Re: [postgis-users] Inconsistency between St_Value and ST_DumpAsPolygons

2013-06-07 Thread Jean Marchal
Ok, I will do it asap, thanks again, Jean 2013/6/6 dustymugs > Can you file a ticket for this? Make sure to include your example. It > looks like something is wrong in GDAL's GDALFPolygonize() function. > > -bborie > > On 06/06/2013 01:50 PM, Jean Marchal wrote: > > I am using GDAL 1.9.2, yep

Re: [postgis-users] Inconsistency between St_Value and ST_DumpAsPolygons

2013-06-06 Thread dustymugs
Can you file a ticket for this? Make sure to include your example. It looks like something is wrong in GDAL's GDALFPolygonize() function. -bborie On 06/06/2013 01:50 PM, Jean Marchal wrote: > I am using GDAL 1.9.2, yep ST_PixelAsPolygons() works fine, > > Jean > > 2013/6/6 dustymugs > >> What

Re: [postgis-users] Inconsistency between St_Value and ST_DumpAsPolygons

2013-06-06 Thread dustymugs
ST_DumpAsPolygons() is special as that calls a GDAL function while ST_PixelAsPolyons() is completely internal to PostGIS. I'll do some digging. -bbori On 06/06/2013 01:50 PM, Jean Marchal wrote: > I am using GDAL 1.9.2, yep ST_PixelAsPolygons() works fine, > > Jean > > 2013/6/6 dustymugs > >>

Re: [postgis-users] Inconsistency between St_Value and ST_DumpAsPolygons

2013-06-06 Thread Jean Marchal
I am using GDAL 1.9.2, yep ST_PixelAsPolygons() works fine, Jean 2013/6/6 dustymugs > What version of GDAL are you using? ST_DumpAsPolygons() uses GDAL for > processing. I notice that ST_PixelAsPolygons() works correctly... > > -bborie > > On 06/06/2013 01:04 PM, Jean Marchal wrote: > > Bborie,

Re: [postgis-users] Inconsistency between St_Value and ST_DumpAsPolygons

2013-06-06 Thread dustymugs
What version of GDAL are you using? ST_DumpAsPolygons() uses GDAL for processing. I notice that ST_PixelAsPolygons() works correctly... -bborie On 06/06/2013 01:04 PM, Jean Marchal wrote: > Bborie, > > I used ST_Value to prove that the value for pixel with coordinates (8,2) > does exist. I did n

Re: [postgis-users] Inconsistency between St_Value and ST_DumpAsPolygons

2013-06-06 Thread Jean Marchal
Bborie, I used ST_Value to prove that the value for pixel with coordinates (8,2) does exist. I did not mention it but adjacent pixels contains different values (see reproducible example). Jean 2013/6/6 Bborie Park > ST_Value and ST_DumpAsPolygons do very different things. ST_Value gets a > val

Re: [postgis-users] Inconsistency between St_Value and ST_DumpAsPolygons

2013-06-06 Thread Bborie Park
ST_Value and ST_DumpAsPolygons do very different things. ST_Value gets a value for a specific pixel while ST_DumpAsPolygons() dumps values by merging pixels with same value in an area. -bborie On Thu, Jun 6, 2013 at 12:38 PM, Jean Marchal wrote: > Dear List, > > value's number 4 in this raster

[postgis-users] Inconsistency between St_Value and ST_DumpAsPolygons

2013-06-06 Thread Jean Marchal
Dear List, value's number 4 in this raster come out with ST_Value: SELECT ST_Value(rast, 1, 8, 2), ST_BandnoDataValue(rast), ST_BandPixelType(rast) FROM (SELECT ' 010188C3400088C3C03FF0F16F910F29C1F38C064BB32D2441C67D0A000A0045FF