isciences / exactextract

Fast and accurate raster zonal statistics
Apache License 2.0
233 stars 31 forks source link

How to avoid the INSERT 0 1 in the cli output #124

Closed automataIA closed 3 weeks ago

automataIA commented 3 weeks ago

Hi I'm using python binding with files tiff and shp file saved in the storage. How to avoid the INSERT 0 1 output for each line? If i want only error as a message. I

dbaston commented 3 weeks ago

Sorry, I don't understand. Can you share the full command you're using?

automataIA commented 3 weeks ago

Sorry, I don't understand. Can you share the full command you're using?

this, in python: stats = exact_extract(raster_file, vector_file, statistics,) and give me this output for each line

Screenshot 2024-06-24 162519
dbaston commented 3 weeks ago

I don't see how those messages would be generated by exactextract, especially if as in the example above the data is being read from a file and returned as a Python list.

automataIA commented 3 weeks ago

sorry, was postgis. you can delete this discussion