I see that GeoTools has a few auto projections[1]. I tried setting them in the GeoServer UI and that isn't working as I would hope/expect. The strings I tried were variations on "AUTO:97002,-74,40.7".
Incidentally, that does work in a WFS 2.0 request.
Is it possible to set the CRS on an entire layer to be one of these AUTO CRSes?
The clients are supposed to be smart enough to pass in the lat/lon when making the getmap request. I am not sure if any clients are outside of testbeds.
Hmm… I suppose I’m expecting that a string like “AUTO:97002,-74,40.7” is sufficient to specify a layer’s CRS.
Are you saying that setting the CRS on a layer to “AUTO:97002” should work? And that clients would have to be required to provide a lat/lon at request time?
Cheers,
Jim
···
On 6/28/2021 6:46 PM, Jody Garnett wrote:
The clients are supposed to be smart enough to pass in the lat/lon when making the getmap request. I am not sure if any clients are outside of testbeds.
I see that GeoTools has a few auto projections[1]. I tried setting them
in the GeoServer UI and that isn’t working as I would hope/expect. The
strings I tried were variations on “AUTO:97002,-74,40.7”.
Incidentally, that does work in a WFS 2.0 request.
Is it possible to set the CRS on an entire layer to be one of these AUTO
CRSes?
That is my understanding. I recall taking part in a test bed with uDig and watching the UTM change as we panned across the map changing lat,long location with each GetMap request.
Usually AUTO:97002 is one of the SRS options listed, and any client that chooses that should know what to do.
Note the upcoming temporal based coordinate reference systems are parametrized in a similar fashion.