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.

  1. there multiple polygons, each polygon set of vectors
  2. each polygon have single unique value
  3. 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

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -