Dear GeoTools-users,
I am trying to perform a vector to raster conversion in GeoTools 2.7.4
by using the following command:


  GridCoverage2D raster = VectorToRasterProcess.process(collection,
              "test", new Dimension(100,100), collection.getBounds(),
"mask", null);

  // (output)
  GeoTiffWriter gt = new GeoTiffWriter(new File("d:/test.tif"));
  gt.write(raster, null);


As you can see in the image at [1], the the created raster does not
exactly overlap the input feature. It seem to be shifted to the left.
What is the reason for this?
Thanks a lot,
Mario

[1] http://tinypic.com/r/107m9na/6

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to