[Geoserver-users] Setting AUTO CRSes

Hi all,

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?

Thanks in advance,

Jim

1. https://docs.geotools.org/latest/userguide/library/referencing/crs.html

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.

···


Jody Garnett

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.


Jody Garnett

On Mon, 28 Jun 2021 at 15:35, Jim Hughes <jhughes@anonymised.com> wrote:

Hi all,

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?

Thanks in advance,

Jim

  1. https://docs.geotools.org/latest/userguide/library/referencing/crs.html

Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

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.

Jody

···


Jody Garnett