[Geoserver-users] [Geoserver-devel] Convert custom projection from meters to degrees

I am not sure about your projection, but wanted to ask:
a) can you take this question to geoserver user list - we use geoserver-devel for working on the project not answering questions :slight_smile:
b) Did you register your projection as a custom projection - with user_projections/epsg.properties file? http://docs.geoserver.org/latest/en/user/advanced/crshandling/customcrs.html

Commercial support is available here: http://geoserver.org/display/GEOS/Commercial+Support

···

Jody Garnett

On Tue, Apr 8, 2014 at 2:00 AM, aschabow <aschabow@anonymised.com> wrote:

I am trying to convert projection EPSG:3413 from meters to degrees.

Below is the WKT for the projection:
PROJCS[“WGS 84 / NSIDC Sea Ice Polar Stereographic North”,
GEOGCS[“WGS 84”,
DATUM[“World Geodetic System 1984”,
SPHEROID[“WGS 84”, 6378137.0, 298.257223563,
AUTHORITY[“EPSG”,“7030”]],
AUTHORITY[“EPSG”,“6326”]],
PRIMEM[“Greenwich”, 0.0, AUTHORITY[“EPSG”,“8901”]],
UNIT[“degree”, 0.017453292519943295],
AXIS[“Geodetic longitude”, EAST],
AXIS[“Geodetic latitude”, NORTH],
AUTHORITY[“EPSG”,“4326”]],
PROJECTION[“Polar Stereographic (variant B)”, AUTHORITY[“EPSG”,“9829”]],
PARAMETER[“central_meridian”, -45.0],
PARAMETER[“Standard_Parallel_1”, 70.0],
PARAMETER[“false_easting”, 0.0],
PARAMETER[“false_northing”, 0.0],
UNIT[“m”, 1.0],
AXIS[“Easting”, “South along 45 deg East”],
AXIS[“Northing”, “South along 135 deg East”],
AUTHORITY[“EPSG”,“3413”]]

I followed these steps
(https://www.lizardtech.com/support/knowledge-base-article/how-do-i-create-a-custom-wkt-to-change-meters-to-feet/)
to convert the above projection into degrees and this is what I came up
with:
PROJCS[“WGS 84 / NSIDC Sea Ice Polar Stereographic North”,
GEOGCS[“WGS 84”,
DATUM[“World Geodetic System 1984”,
SPHEROID[“WGS 84”, 6378137.0, 298.257223563,
AUTHORITY[“EPSG”,“7030”]],
AUTHORITY[“EPSG”,“6326”]],
PRIMEM[“Greenwich”, 0.0, AUTHORITY[“EPSG”,“8901”]],
UNIT[“degree”, 0.017453292519943295],
AXIS[“Geodetic longitude”, EAST],
AXIS[“Geodetic latitude”, NORTH],
AUTHORITY[“EPSG”,“4326”]],
PROJECTION[“Polar Stereographic (variant B)”, AUTHORITY[“EPSG”,“9829”]],
PARAMETER[“central_meridian”, -45.0],
PARAMETER[“Standard_Parallel_1”, 70.0],
PARAMETER[“false_easting”, 0.0],
PARAMETER[“false_northing”, 0.0],
UNIT[“degree”, 0.017453292519943295],
AXIS[“Easting”, “South along 45 deg East”],
AXIS[“Northing”, “South along 135 deg East”]]

When I attempt to display a layer in this projection, no data (an empty
image) is returned by GeoServer and GeoServer does not throw any errors.

I am using the area of validity as my bbox: 90°00’00.0"N, 180°00’00.0"W -
60°00’00.0"N, 180°00’00.0"E
(which I translated to bbox: -180,60,180,90).

Can anyone tell me if my translation of the projection or bbox is incorrect?
Thanks.

–
View this message in context: http://osgeo-org.1560.x6.nabble.com/Convert-custom-projection-from-meters-to-degrees-tp5133614.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.


Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees_APR


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel