algorithm - How do I convert a set of polygons into a bitmap -
how take set of polygons contain arbitrary values , create corresponding bitmap each pixel contains value of polygon @ location?
to put question context, polygons contain information average number of people per square kilometre within polygon. need create raster/bitmap contains pixels representing population in 200 metre bins.
i've done similar in past i've used polygon create mask drawing bitmap , filling values, converting bitmap array can manipulate. i'm sure there's better method doing this!
i'm clarifying question bit more requested.
- there multiple polygons, each polygon set of vectors
- each polygon have single unique value
- the polygons don't overlap
thanks
nick
@nick r
i using arcgis 9.2, doesn't work c# , 64 bit, using gdal (http://www.gdal.org).
doesn't gdal_rasterize want?
Comments
Post a Comment