On Sun, Jan 23, 2011 at 1:03 AM, midyetava <[email protected]> wrote:
>
>
>
> afrispatial wrote:
>>
>> In the case of an imagemosaic store we replaced the index catalog
>> shapefile's
>> prj WKT (which came from gdal-generated geotiff headers) with geoserver's
>> 900913
>> WKT and restarted Tomcat and voila, the mosaic renders perfectly, no
>> misalignment.
>>
>> For a geotiff store one would have to get the geotiff header WKT to match
>> geoserver's exactly.
>>
>
> Yes, I have the same problem
> :http://old.nabble.com/Projection-problem-of-a-gdalwarp-EPSG%3A900913-file-td29562707.html#a30653318
>
> Isn't it unbelievable that the developers are not interested in fixing such
> an evident and important problem?
----------------------------------------------------------------
There was once a group of cooks that decided to make their creations
available to
everybody, even to people they knew nothing about, even crazier, they made they
recipes available also to cooks that wouldn't share theirs.
Lots of people were eating, and there was much rejoicing. Other cooks saw what
was happening and decided to help and join, more meals were prepared and cook
could learn from each other tricks and new recipes.
People were surprised and started telling around about these free
meals, and started
help with serving, or did bring drinks, chairs and tables and the like.
One day a new person joined the table bringing nothing of his own, but
expecting to
get the best meal for free.
Unfortunately he could not find the one dish he was looking for, and started
complaining aloud and offending cooks for not preparing it.
Many people were disturbed by such attitude, but they decided arguing was not
worth the trouble, as the person did not really get what was going on.
Cooks looked at the guy and showed him there was one
more place in the kitchen for whoever wanted to work on that new dish.
The guy left in anger, never realizing the difference between a community
of people helping each other, and a restaurant that happened to have
0 as the price tag on each item in the menu.
----------------------------------------------------------------
For the record, 900913 is ill defined and its WKT definition cannot
be shared among systems, as it does not say anywhere that the
datum ought to be equated to WGS84, but the projection has to work as if
it was spherical.
Use the official EPSG code instead, EPSG:3785, as that one
contains all the information needed (TOWGS84 equal to 0
to force the identity between that one and WGS84, and explict request
to use a spherical expression):
PROJCS["Popular Visualisation CRS / Mercator",
GEOGCS["Popular Visualisation CRS",
DATUM["Popular Visualisation Datum",
SPHEROID["Popular Visualisation Sphere", 6378137.0, 0.0,
AUTHORITY["EPSG","7059"]],
TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
AUTHORITY["EPSG","6055"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4055"]],
PROJECTION["Mercator (1SP) (Spherical)", AUTHORITY["EPSG","9841"]],
PARAMETER["latitude_of_origin", 0.0],
PARAMETER["central_meridian", 0.0],
PARAMETER["scale_factor", 1.0],
PARAMETER["false_easting", 0.0],
PARAMETER["false_northing", 0.0],
UNIT["m", 1.0],
AXIS["Easting", EAST],
AXIS["Northing", NORTH],
AUTHORITY["EPSG","3785"]]
Cheers
Andrea
--
Ing. Andrea Aime
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584962313
fax: +39 0584962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-----------------------------------------------------
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users