On Wed, Dec 31, 2014 at 9:51 AM, Andy Turner
wrote:
> Hi geotools-users,
>
> I want a method to convert data from a polygon type coverage (data
> currently stored in shapefile) to a square celled raster.
>
> I want something a bit more sophisticated than assigning the value at the
> raster cell c
Hi geotools-users,
I want a method to convert data from a polygon type coverage (data currently
stored in shapefile) to a square celled raster.
I want something a bit more sophisticated than assigning the value at the
raster cell centroid: The method is to do a form of areal interpolation, taki
> doesn't has a null ColorModel.
Good grief, I should proof-read before I send :-(
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Hello Agossa,
> the GridCoverage got from VectorToRasterProcess cannot be resampled or
> saved to tif. It has no ColorModel.
> What's wrong?
Ah, you're quite right. The image backing the output grid coverage
doesn't has a null ColorModel.
The cause is the flattenXXX methods in VectorToRasterPro
>> your
>> developing skills, take BlackBerry mobile applications to market and
>> stay
>> ahead of the curve. Join us from November 9-12, 2009. Register
>> now!
>> http://p.sf.net/sfu/devconf___
>> Geotools-
Yes - sorry about that last post where I referred you to the
RasterToVectorProcess class - my brain was in reverse :-(
The class you want is, of course, VectorToRasterProcess and its static
helper method: process.
Here is an example...
FeatureCollection features = ...
// name of the feature att
Hello Michael
Thanks for your answer. I am rather talking about the FeatureCollection to
Raster conversion using the FeatureRasterizer class. Switching to Geotools
2.6 will give me so much to do. I am using Geotools 2.4.
Agossa.
mbedward wrote:
>
> Hello,
>
> Steve's raster to vector code is n
Hello,
Steve's raster to vector code is now included in the gt-process module
in GeoTools version 2.6. Parts of the code were rewritten while
porting it to GeoTools so, if possible, could you try switching to
that version and see if you still get the same registration error ?
You will need to inc
Hello ,
I am using FeatureRasterizer of Steve Ansari . It is great! Thanks. I have
a little problem. I always get a little displacement between the result of
the rasterizing and the original Feature on displaying. (See attachment).
how can I avoid that?
Thank you.
FeatureCollection fc=;
Gri
y modernization
>>> capabilities :)
>>>
>>> If I find bugs along the way I'll try to fix them - progress can be
>>> followed
>>> at
>>> http://ecoinformatics.uvm.edu/crucible/browse/ThinklabGeospacePlugin/org/int
>>> egratedmodellin
Many thanks for this update Steve, I'll be using your code in the near future :)
Michael
2009/1/21 Steve Ansari :
> Hello all,
>
> I received a question about the rasterization code (Features to Grid
> Coverage) and upgraded the code to Geotools 2.5.2. I've attached the main
> class (FeatureRas
rmatics.uvm.edu/crucible/browse/ThinklabGeospacePlugin/org/int
>> egratedmodelling/geospace/gis/FeatureRasterizer.java.
>>
>> Bottom line: Thanks Steve!
>>
>> Cheers,
>> ferdinando
>>
>>
>> -Original Message-
>> From: Jody Garnett [mailt
AIL PROTECTED]
Sent: Tuesday, April 01, 2008 3:28 PM
To: Ferdinando Villa
Cc: 'Steve Ansari'; geotools-gt2-users@lists.sourceforge.net
Subject: Re: [Geotools-gt2-users] Vector to Raster conversion
Hey guys; we are setting up a "Process" module in geotools (see this
weeks IRC). Afte
sari'; geotools-gt2-users@lists.sourceforge.net
Subject: Re: [Geotools-gt2-users] Vector to Raster conversion
Hey guys; we are setting up a "Process" module in geotools (see this
weeks IRC). After you do your "testing and modernize" do you want to
send it our way? It woudl be great to have
Sure thing! At some point I'll be upgrading it for Geotools 2.4+ for
use in some other projects. I'll be sure to pass it along at that point.
Steve
Jody Garnett said the following on 4/1/2008 3:28 PM:
> Hey guys; we are setting up a "Process" module in geotools (see this
> weeks IRC). After yo
Hey guys; we are setting up a "Process" module in geotools (see this
weeks IRC). After you do your "testing and modernize" do you want to
send it our way? It woudl be great to have examples of different kinds
of processes to make sure the API works out okay.
Jody
---
Hi Steve,
Thanks so much for contributing this - it's going to save me a lot of work!
I'll do some testing and modernize where needed (although I don't see any
deprecated geotools methods used in FeatureRasterizer.java) and let the list
know.
Thanks again,
ferdinando
---
Ferdinando
Hello all,
I've worked a little on rasterizing based on Java 2D using Graphics &
BufferedImage classes. Initially my need was just to handle Polygon objects, so I
have little testing with other Geometry types although they should work (I've tested
with LineString and MultiPolygon). I've had
18 matches
Mail list logo