I've loaded a LOCAL_CS into a GeoServer instance as follows:
LOCAL_CS["ImageCS",
LOCAL_DATUM["MyDummyDatum", 0],
UNIT["m", 1.0],
AXIS["X", EAST],
AXIS["Y", SOUTH]]
and it parses perfectly well. There's only one problem: it appears in the available SRS list as:
LOCAL_CS["ImageCS",
LOCAL_DATUM["MyDummyDatum", 0],
UNIT["m", 1.0],
AXIS["X", EAST],
AXIS["Y", SOUTH],
AUTHORITY["EPSG","1"]]
which, strictly speaking, isn't true (if I understand the WKT projection format correctly). I have no authority from EPSG to discuss this (strictly local, to be used for image annotation) CRS as "EPSG:1".
I couldn't find out where this is happening. I looked in GeoserverCustomWKTFactory, but that doesn't seem to be any problem, and I couldn't find the culprit in a quick search through GeoTools. Any suggestions? Although the services to be produced from this data should be pretty obviously -not- in any EPSG-coded CRS, I'd like to be as accurate as possible.
---
A. Soroka / Digital Scholarship Services R & D
the University of Virginia Library