Ciao Amir,
the correct steps to do this in geotools are:
1> create a java2d raster with your data
2> wrap it as a gridcoverage2d
3> write it down using a geotiffwriter.
If you don't manage to move forward I will be more specific.
Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928
http://www.geo-solutions.ithttp://geo-solutions.blogspot.com/http://simboss.blogspot.com/http://www.linkedin.com/in/simonegiannecchini-------------------------------------------------------
On Fri, Jul 3, 2009 at 12:40 PM, Amir Neziri<
[hidden email]> wrote:
> Hello to everyone,
>
> I’m very new in GeoTools and GeoTiFF and I’ve some problems to create
> GeoTIFF. Maybe you can help me.
>
> What I want to implement is:
>
> I’ve some data like: latitude, longitude and a value. A value is an
> “int”-number.
> I want to create a GeoTIFF by using of e.g. such methods/functions like
> this: saveValue(double lat, double lon, int value) i.e. create a
> TIFF-Image and save a value on position (lat,lon). After creation of an
> TIFF-image, it should be possible to read the same data again from the
> TIFF-Image i.e. lat, lon and the value
>
> My question is: is it possible to implement it with GeoTools and can you
> explain it to me with an example or do you know any other
> JAVA-Frameworks, which helps me to solve such problems???
>
> Thanks in advance.
>
> Regards,
> Amir
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Geotools-gt2-users mailing list
>
[hidden email]
>
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users>
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at:
http://p.sf.net/sfu/Challenge_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users