On 7/9/20 2:53 PM, Werner Macho wrote: > Is there a way to exchange the > "tablename.fid--62217e83_172e54c5422_-5ba2" with the data from the > attribute "31f78566-75e0-47d6-9a37-a3deef25077e"? > > Where is my mind going in the wrong direction here? > What am I doing wrong (or expecting wrong things to happen)?
Hi Werner, I think you are just right: If you create a table 'gt_pk_metadata' as described in the manual, and you fill the table_schema, table_name and pk_column then (as I did) then IF you have a (unique PK) column 'id' then the gml:id AND/OR the geojson fid's will be have the as value 'viewname.<id-value>' So in my view the record with id 39163 has gml:id="viewname.39163" in the gml and "id":"viewname.39163" in the geojson So: did you restart you geoserver (or refreshed the definitions)? Is the table actually readable by the same user your geoservers uses? I think there is also something logged in the start of geoserver. Anyway: I think you are just right, and some small thing is still playing up. Regards, Richard Duivenvoorde _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html 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 [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
