National CRS (not) supported by WPS?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

National CRS (not) supported by WPS?

Jan Slegr
Hi,

after some testing and configuration changes, I am able to run 52°North 3.3.1 in Tomcat agains QGIS 2.12.1 with WPS Client 2.0.9.

A test using org.52n.wps.server.algorithm.convexhull.ConvexHullAlgorithm works fine if I use default CRS (EPSG:4326), but if I use Czech National CRS (can be EPSG:5514 or EPSG:102067),
Java exception is reported:

...
Caused by: java.lang.RuntimeException: Could not create crs: urn:ogc:def:crs:EPSG::5514
Caused by: org.opengis.referencing.NoSuchIdentifierException: No transform for classification "Krovak (North Orientated)".
...

Is there a recommendation what to test or how to add own CRS identified by a specific EPSG? I don't need to implement general support for more CRSs, one is enough, because the project in QGIS will use one EPSG only.

With regards,

  Jan
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: National CRS (not) supported by WPS?

Jan Slegr
It seems the problem is caused by 52°North WPS 3.1.1 uses GeoTools 8.7 and GeoTools 8.7 included EPSG database version 6.5, which is quite old (2004) and doesn't contain definition for the mentined EPSG:5514.

Maybe a solution can be to build 52°North WPS with some newer GeoTools version, but because I don't know GeoTools well, I am not sure how compatible API in different versions is. Seems I will have to try it ;-)

Regards,

  Jan
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: National CRS (not) supported by WPS?

BenjaminPross
Hi Jan,

Yes, I was also suspecting the old version of Geotools. This definitely needs to be updated but at the moment there is too much other stuff happening here. Let us know how the update works for you. Hopefully it will be straight forward..

Cheers,

Benjamin
Loading...