Hello all,

I have posted the following question on GIS StackExchange, then remembered the 
GeoServer lists, so I thought I would see if any one has any input. 
https://gis.stackexchange.com/questions/306456/how-should-arrays-be-stored-in-postgresql-when-used-as-a-datastore-with-geoserve

The crux of my question is how to represent string data in arrays within 
PostgreSQL to utilize the feature for reading and writing from PostGIS arrays 
released in version 2.14.  As stated in the question, I have created two 
columns: one is a character varying array and one is a text array.  When 
registering the table in GeoServer as a layer, the text array column doesn’t 
show up in the feature type details, but the column with character varying data 
type does.  When trying to access the data via WFS, the character varying data 
type data is not serialized as a string, but is shown as 
"[Ljava.lang.String;@1748e3a9" for example.  Is there additional configuration 
needed in GeoServer, such as creating a custom schema, to handle the 
serialization of array data from PostgreSQL?

~ Phil

_______________________________________________
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

Reply via email to