Hi,
Is it possible to produce WMS maps with Orthographic projection? I already
tried adding a corresponding WKT to user_projections\epsg.properties, but so
far without any success (2 examples below). Can anyone help?
1.
42003=PROJCS["WGS 84 / Auto Orthographic",GEOGCS["WGS
84",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Orthographic"],PARAMETER["central_meridian","%.16g"],PARAMETER["latitude_of_origin","%.16g"],UNIT["Meter",1],AUTHORITY["EPSG","42003"]]
Error in GeoServer:
java.text.ParseException: Error in "PARAMETER": Parameter "value" is
missing.
at org.geotools.referencing.wkt.Element.pullDouble(Element.java:372)
at org.geotools.referencing.wkt.Parser.parseProjection(Parser.java:606)
at org.geotools.referencing.wkt.Parser.parseProjCS(Parser.java:897)
at org.geotools.referencing.wkt.Parser.parseCoordinateReferenceSystem(Pa
rser.java:222)
at org.geotools.referencing.wkt.Parser.parseCoordinateReferenceSystem(Pa
rser.java:201)
at org.geotools.referencing.factory.PropertyAuthorityFactory.createCoord
inateReferenceSystem(PropertyAuthorityFactory.java:394)
... 64 more
2.
100010=PROJCS["Orthographic.WGS84.lat32.87894.lon-96.99886",GEOGCS["WGS84",DATUM["WGS84",SPHEROID["WGS84",
6378137.0, 298.257223563]],PRIMEM["Greenwich", 0.0],UNIT["degree",
0.017453292519943295],AXIS["Geodetic longitude", EAST],AXIS["Geodetic
latitude", NORTH]],PROJECTION["Orthographic"],PARAMETER["central_meridian",
-96.99886],PARAMETER["latitude_of_origin",
32.87894000000001],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]]
Error in GeoServer:
Caused by: org.opengis.referencing.FactoryException: Error in "PROJCS": Elliptic
al projection not supported.
at org.geotools.referencing.factory.PropertyAuthorityFactory.createCoord
inateReferenceSystem(PropertyAuthorityFactory.java:397)
at org.geotools.referencing.factory.BufferedAuthorityFactory.createCoord
inateReferenceSystem(BufferedAuthorityFactory.java:781)
at org.geotools.referencing.factory.FallbackAuthorityFactory.createCoord
inateReferenceSystem(FallbackAuthorityFactory.java:642)
at org.geotools.referencing.factory.FallbackAuthorityFactory.createCoord
inateReferenceSystem(FallbackAuthorityFactory.java:642)
at org.geotools.referencing.factory.AuthorityFactoryAdapter.createCoordi
nateReferenceSystem(AuthorityFactoryAdapter.java:798)
at org.geotools.referencing.factory.ThreadedAuthorityFactory.createCoord
inateReferenceSystem(ThreadedAuthorityFactory.java:729)
at org.geotools.referencing.DefaultAuthorityFactory.createCoordinateRefe
renceSystem(DefaultAuthorityFactory.java:179)
at org.geotools.referencing.CRS.decode(CRS.java:435)
at org.geotools.referencing.CRS.decode(CRS.java:363)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.read(GetMapKvpRequestRea
der.java:151)
... 55 more
Caused by: java.text.ParseException: Error in "PROJCS": Elliptical projection no
t supported.
at org.geotools.referencing.wkt.Parser.parseProjCS(Parser.java:913)
at org.geotools.referencing.wkt.Parser.parseCoordinateReferenceSystem(Pa
rser.java:222)
at org.geotools.referencing.wkt.Parser.parseCoordinateReferenceSystem(Pa
rser.java:201)
at org.geotools.referencing.factory.PropertyAuthorityFactory.createCoord
inateReferenceSystem(PropertyAuthorityFactory.java:394)
... 64 more
Caused by: org.opengis.referencing.FactoryException: Elliptical projection not s
upported.
at org.geotools.referencing.operation.projection.Orthographic$Provider.c
reateMathTransform(Orthographic.java:198)
at org.geotools.referencing.operation.DefaultMathTransformFactory.create
ParameterizedTransform(DefaultMathTransformFactory.java:462)
at org.geotools.referencing.operation.DefaultMathTransformFactory.create
BaseToDerived(DefaultMathTransformFactory.java:351)
at org.geotools.referencing.factory.ReferencingObjectFactory.createProje
ctedCRS(ReferencingObjectFactory.java:1019)
at org.geotools.referencing.wkt.Parser.parseProjCS(Parser.java:910)
... 67 more
(Adding semi_major and semi_minor radius definitions to the WKT didn't work as
well, no errors but empty images).
Regards,
Udo
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users