[postgis-users] St_dumpAsPolygons function is too slow

Paul Ramsey pramsey at cleverelephant.ca
Mon Jul 20 06:18:37 PDT 2015


I would expect the vectorization of a raster to be fairly slow.
Exactly how slow is another question.

On Mon, Jul 20, 2015 at 6:14 AM, Elmehdi OUADOUD
<ouadoud.elmehdi at gmail.com> wrote:
> Hi,
>
> I wonder know if the very very slow process is normal or i'm missing
> something?
>
> thanks in advance
>
> Le mercredi 15 juillet 2015 10:11:46 UTC+2, Elmehdi OUADOUD a écrit :
>>
>> Hi All,
>>
>> I want to transfom a raster data to polygons but the process is too slow
>> it takes 35 minutes.
>> The querie i'm using :
>>
>>        select (ST_DumpAsPolygons(a.raster)).geom,
>> (ST_DumpAsPolygons(a.raster)).val
>>        from my_raster a
>>
>> Dimensions of my_raster
>>
>> X: 5261 Y: 4401
>>
>>
>> I'm missing something or it's normal ?
>>
>>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users


More information about the postgis-users mailing list