Jérémy DE ROYER a écrit :
Where can I find a tutorial explaining :
- how to load the files (geotiff ou tif+tfw)

I can't tell on this one...

- how to define the projection (for me Lambert2E)

I don't know how to defines a projection in the particular case of the GeoTIFF data store. However, there is how to creates a CoordinateReferenceSystem object in the general case:

- Connect to an EPSG database. If you have the MS-Access software, you
  can download the database from http://www.epsg.org, register it as an
  ODBC datasource named "EPSG" (uppercase) and make sure that
  gt2-epsg-access.jar is in yours classpath. If you can't or don't want
  to use the MS-Access version, just make sure that hsqldb.jar and
  gt2-epsg-hsql.jar are in yours classpath (an EPSG database in bundled
  into gt2-epsg-hsql.jar).

- Gets the EPSG code for Lambert 2 étendue (I don't know it from memory.
  If you have MS-Access, you can browse the Access database. They have
  nice forms for that).

- Lets suppose that the EPSG code is 4326. You can write the following:

  CoordinateReferenceSystem crs = CRS.decode("EPSG:4326");

Thats it. An alternative is to express yours CRS in "Well Known Text" format and use CRS.parseWKT(theWKT).

There is tutorials on www.geotools.org for that, but unfortunatly they seems to have disaspear recently because of a Confluence server update. I don't know when they will be back.


I've seen things about GridCoverage (see below) but the loading doesn't
work (I receive a "Only Geographic & Projected Systems are supported").

See previous mail. It may be a missing field in the GeoTIFF file, but I have the feeling that this field is not essential and that our GeoTIFF module could be made more tolerant.

        Martin.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to