Re: [Geotools-gt2-users] GridCoverage, Error Points of LinearRing do not form a closed linestring, raster attribute matrix?

2010-03-24 Thread Simone Giannecchini
On Tue, Mar 23, 2010 at 3:02 PM, Adnila adn...@web.de wrote: hi at all. I am trying to reproject a shape file into another transformation and write it into a new file. everything runs fine. but when I am trying to read in the new written shape file, it gets this error. and I have no idea

Re: [Geotools-gt2-users] GridCoverage, Error Points of LinearRing do not form a closed linestring, raster attribute matrix?

2010-03-24 Thread Michael Bedward
On 24 March 2010 20:46, Simone Giannecchini wrote: So what you are talking about is feasible but you need to code most part of that yourself. As an instance you might want to create a WritableRaster of specific (W,H) and with a specific number of bands ( I assume one is enough for your case),

Re: [Geotools-gt2-users] GridCoverage, Error Points of LinearRing do not form a closed linestring, raster attribute matrix?

2010-03-24 Thread Simone Giannecchini
Michael, Adnila, I apologize for my ignorance, I did know we had a Raster2Vector process but I did not know we had a Vector2Raster process. Michael, I think it is wiser for me to let you speak out on this. I will probably try to check your eventual suggestion. Simone.

Re: [Geotools-gt2-users] GridCoverage, Error Points of LinearRing do not form a closed linestring, raster attribute matrix?

2010-03-24 Thread Michael Bedward
Hi Simone, The VectorToRasterProcess class definitely needs more work so your checking and feedback would be very much appreciated :) The class is based on code that was kindly provided by Steve Ansari (who sometimes posts on this list) but in its present form it has quite a few limitations. For

[Geotools-gt2-users] GridCoverage, Error Points of LinearRing do not form a closed linestring, raster attribute matrix?

2010-03-23 Thread Adnila
hi at all. I am trying to reproject a shape file into another transformation and write it into a new file. everything runs fine. but when I am trying to read in the new written shape file, it gets this error. and I have no idea what to do. SCHWERWIEGEND: Points of LinearRing do not form a

Re: [Geotools-gt2-users] GridCoverage, Error Points of LinearRing do not form a closed linestring, raster attribute matrix?

2010-03-23 Thread Michael Bedward
Hi Linda I am trying the following: I want to receive a shape file from the user, put it into another crs and then rasterize it by give the user the opportunity to choose an attribute. the other attributes shall be put in kind of a matrix like an appendix. and every cell needs a new and