Hello Christian,

Without seeing a code snippet to understand what you are doing at the
moment it's hard to say what the problem is.

Are you using the GeoTools vector to raster methods ? In GeoTools
2.7.x this is the VectorToRasterProcess class which can deal with
point features:

http://docs.geotools.org/stable/javadocs/org/geotools/process/raster/VectorToRasterProcess.html

(In GeoTools version 8 the class name is the same but for some reason
it isn't included in the online javadocs)

If you have coded your own method you might like to compare it to how
VectorToRasterProcess handles point features. Otherwise, please get
back to the ilst with more information.

Michael


On 13 October 2011 04:04, Christian Sanelli <[email protected]> wrote:
> Hello.  I'm trying to convert a CSV file with a single record (lat, lon,
> value) to a GeoTIFF file.  Using the GeoTools libraries, I get an error
> about a determinant being 0:
>
> Caused by:
> org.opengis.referencing.operation.NoninvertibleTransformException:
> Determinant is 0
>  at
> org.geotools.referencing.operation.transform.AffineTransform2D.inverse(AffineTransform2D.java:192)
>  at
> org.geotools.coverage.grid.GridGeometry2D.inverse(GridGeometry2D.java:641)
>  ... 6 more
> Caused by: java.awt.geom.NoninvertibleTransformException: Determinant is 0
>  at java.awt.geom.AffineTransform.createInverse(AffineTransform.java:2697)
>  at
> org.geotools.referencing.operation.transform.AffineTransform2D.inverse(AffineTransform2D.java:188)
>  ... 7 more
> Is this a GeoTools bug?  Is there a workaround?
>
> Thank you very much,
> Christian
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to