I have several png files with polygons that I get via http request. I'd like to vectorize that polygons. Firstly, png file can contain several polygons, that means that this is multipolygon, or contain holes => polygon/multipolygon with holes. So, there is postgis function ST_DumpAsPolygons, that takes as an argument postgis raster, but I don't want to use postgis raster and I dont want to create temporary table. Is there any other solutions?
Also I have got library, that use marching square algorithm based on canvas tools, but it didn't find holes, and I can't to update it (javascript).
Server use node.js with orm node-postgresql.
via Triple -B
No comments:
Post a Comment