> Both your descriptions are logically correct, but insanely
> inefficient approaches.
Yes, I believe insane is absolutely the right word :)
> Another way of saying "vector to raster" is "rendering". The
> existing rendering code in geotools should provide some fine examples
> of turning vectors
Andrea,
Both your descriptions are logically correct, but insanely
inefficient approaches.
Another way of saying "vector to raster" is "rendering". The
existing rendering code in geotools should provide some fine examples
of turning vectors into rasters.
For raster to vector, your earlier
Some time ago I posted a question about how to convert features to
rasters and back.
I thought an simple way would be the following, assuming that my
raster is represented by a matrix grid.
v.to.rast:
looping through the rows and columns of the matrix, query if the point
given by the coordinates (