In reference to this post I am trying to create a map based web application using gvNIX to hold location data on health faciilities. Am following this tutorial as a guide. When issuing the command:
web mvc geo controller --class ~.web.MapViewerController --preferredMapping Tanzania --projection EPSG4210
I get the error:
java.lang.IllegalArgumentException: Failed to convert 'EPSG4210' to type ProjectionCRSTypes for option 'projection'
No enum constant org.gvnix.addon.geo.addon.ProjectionCRSTypes.EPSG4210
Am new to GIS and am assuming that EPSG4210 is the correct Coordinate Referencing System for Tanzania? How may I overcome this error?
Kind regards, T
This projection is not included on gvNIX, so it can't handle it by default.
To use this projection you must follow this steps:
Register this projection in proj4leaflet-custom-proj.js file (there you can find an example which defines EPSG:25830) (see leaflet plugin project )
Good luck!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.