When published on a geo-server postgis layer that has more than one geometry field (for example, polygon geometry and signature point geometry), the geo-serer does not define Native SRS, which even with SRS handling = Force Declared causes incorrect display of object data. In postgis versions earlier than 2.0, this was decided by writing the table / view into public.geometry_columns. In postgis versions older than 2, this table has become an automatically generated view.

Question: how to solve the problem of correctly determining the Native SRS layer on the geoserver?

  • As a temporary solution, the problem made the division of the layer into several and prescribing them as a Layer Group, but this solution is not very good, because it deprives many functions and generally requires a lot of work to publish - lokks

1 answer 1

You can simply act in order: 1. Publish a layer with 1 geometry - Native SRS will be determined 2. Create additional fields with geometry in the table / view 3. In the layer menu - reload feature type