Hi all,
I am new to GeoTools. I was trying to load a file that represents all US
states downloaded from here.
http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_1_states_provinces.zip
and the following GeoTIFF file
http://commondatastorage.googleapis.com/earthenginepartners-hansen/GFC2013/Hansen_GFC2013_treecover2000_00N_000E.tif
I also use the ImageLab example from GeoTools website to load the two files.
http://docs.geotools.org/stable/tutorials/_downloads/ImageLab.java
I use getools 17.0
What happens is that the shapefile is rotated 90 degrees. The same files
are loaded correctly in QGIS. It happens with other files as well that are
also loaded correctly in QGIS.
When I investigate the problem closely, I found that both files are loaded
correctly. However, when the Shapefile is projected to the
CoordinateReferenceSystem of the GeoTIFF file, the latitudes and longitudes
are exchanged. This results in incorrect results when they are combined.
Can you provide any help in why this problem happens and how I can solve it?
Best regards,
Ahmed Eldawy
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users