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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -