I am using the GeoServer REST API to dynamically create coverage stores,
resources, and layers and then view them using OpenLayers. This is all fine
and good, however one layer was being rendered in the wrong location. Thus,
I checked the SRS of this layer, and it turns out that it did not match any
in the native GeoServer SRS List. So I added the WKT projection string to
the epsg.properties file, and now the projection shows up in the SRS List.
However, this did not fix the rendering problem. It appears that GeoServer
still does not correlate the projection of the TIF file to the custom
projection. If I go into the GeoServer web GUI, I am able to find the
custom EPSG code in the list and set it as the Declared SRS, and by doing
so the rendering works properly. But again, I don't want to have to use the
GUI at all. Shouldn't the GeoServer match my file to the custom SRS
dynamically?
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to