Hi, I am quite new to geoserver, have understanding of GIS in general, but it seems I misunderstand something here. So if someone would please be so kind to enlighten me.
What I want is that some of my "normal" Attributes, coming from a shapefile or GeoJSON, is a unique key which i'd like to use later on as the fid. Probably here is the first part to change something - I found no way of importing a shapefile into a Oracle-DB setting an attribute from a shapefile as PK. I have exposed primary keys and even named the additional metadata table inside the config file with Primary key metadata table = GT_PK_METADATA according to the website: https://docs.geoserver.org/stable/en/user/data/database/primarykey.html As I already said, maybe I completely misunderstand but the fid (which is not generated somehow by geoserver and coming (for me) out of nowhere - in the format: layername.fid--some_random_-numbers is "created" while I would expect the fid (now that it is linked via the metadata-table) to be value of the (manually entered, but surely unique)attribute coming from GeoJSON or shapefile. So while I would expect to have "31f78566-75e0-47d6-9a37-a3deef25077e" as (F)ID (which I assumed to have linked to the "ID" Attribute Column from the imported data- AlI get is ---JSON snip {"type":"FeatureCollection","features":[{"type":"Feature","id":"tablename.fid--62217e83_172e54c5422_-5ba2","geometry":{"type":"Point","coordinates":[1836413.0............ ---JSON snip 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)? Thanks and regards Werner _______________________________________________ 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
