Hello,

 

I have several shapefiles and a raster (a Hillshade created in ArcMap from
elevation data) that align perfectly when I view them in ArcMap (10.0).  I
then export the hillshade to a tiff file using the extent and CRS of the
ArcMap data frame.  When I load them into my geotools application, the
raster is offset from the shapefile.

 

Below is the output of getCoordinateReferenceSystem().  I first called it on
my mapContent instance.  Next I called
getFeatureSource().getSchema().getCoordinateReferenceSystem() on the raster
layer and one of the shapefile layers.

 

Any suggestions are appreciated!

 

Hal

 

map CRS: PROJCS["unnamed", 

  GEOGCS["NAD83", 

    DATUM["North American Datum 1983", 

      SPHEROID["GRS 1980", 6378137.0, 298.257222101,
AUTHORITY["EPSG","7019"]], 

      TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 

      AUTHORITY["EPSG","6269"]], 

    PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], 

    UNIT["degree", 0.017453292519943295], 

    AXIS["Geodetic latitude", NORTH], 

    AXIS["Geodetic longitude", EAST], 

    AUTHORITY["EPSG","4269"]], 

  PROJECTION["Lambert_Conformal_Conic_2SP"], 

  PARAMETER["central_meridian", -116.25], 

  PARAMETER["latitude_of_origin", 32.166666666666664], 

  PARAMETER["standard_parallel_1", 33.88333333333333], 

  PARAMETER["false_easting", 21527734.722222216], 

  PARAMETER["false_northing", 5381933.680555556], 

  PARAMETER["scale_factor", 1.0], 

  PARAMETER["standard_parallel_2", 32.78333333333333], 

  UNIT["foot_survey_us", 0.30480060960121924], 

  AXIS["Easting", EAST], 

  AXIS["Northing", NORTH]]

 

Layer Hillshade CRS: PROJCS["unnamed", 

  GEOGCS["NAD83", 

    DATUM["North American Datum 1983", 

      SPHEROID["GRS 1980", 6378137.0, 298.257222101,
AUTHORITY["EPSG","7019"]], 

      TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 

      AUTHORITY["EPSG","6269"]], 

    PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], 

    UNIT["degree", 0.017453292519943295], 

    AXIS["Geodetic latitude", NORTH], 

    AXIS["Geodetic longitude", EAST], 

    AUTHORITY["EPSG","4269"]], 

  PROJECTION["Lambert_Conformal_Conic_2SP"], 

  PARAMETER["central_meridian", -116.25], 

  PARAMETER["latitude_of_origin", 32.166666666666664], 

  PARAMETER["standard_parallel_1", 33.88333333333333], 

  PARAMETER["false_easting", 21527734.722222216], 

  PARAMETER["false_northing", 5381933.680555556], 

  PARAMETER["scale_factor", 1.0], 

  PARAMETER["standard_parallel_2", 32.78333333333333], 

  UNIT["foot_survey_us", 0.30480060960121924], 

  AXIS["Easting", EAST], 

  AXIS["Northing", NORTH]]

 

Layer Base Map CRS:
PROJCS["NAD_1983_StatePlane_California_VI_FIPS_0406_Feet", 

  GEOGCS["GCS_North_American_1983", 

    DATUM["D_North_American_1983", 

      SPHEROID["GRS_1980", 6378137.0, 298.257222101]], 

    PRIMEM["Greenwich", 0.0], 

    UNIT["degree", 0.017453292519943295], 

    AXIS["Longitude", EAST], 

    AXIS["Latitude", NORTH]], 

  PROJECTION["Lambert_Conformal_Conic_2SP"], 

  PARAMETER["central_meridian", -116.25], 

  PARAMETER["latitude_of_origin", 32.166666666666664], 

  PARAMETER["standard_parallel_1", 33.88333333333333], 

  PARAMETER["false_easting", 6561666.666666667], 

  PARAMETER["false_northing", 1640416.666666667], 

  PARAMETER["scale_factor", 1.0], 

  PARAMETER["standard_parallel_2", 32.78333333333333], 

  UNIT["foot_survey_us", 0.3048006096012192], 

  AXIS["X", EAST], 

  AXIS["Y", NORTH]]

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to