Hi, 

Im using Geoserver and PostGis .. 

On database i have table 
I also have  materialized view, wich is updated periodically: 


If I create a layer /"geoCoordinate-1"/ via /"Configure new SQL view..."/
and use this select:


Then, when i check /DescribeFeatureType:
http://localhost:8080/geoserver/wfs?service=WFS&request=DescribeFeatureType&version=1.1.0&typeName=lge:geoCoordinate-1/

the result is: 


BUT, if I create a layer /"geoCoordinate-2"/ via /"Configure new SQL
view..."/ and use this select:

NOTE: i just changed word /"point"/ to the word /"location"/ in the select.

Then the result of DescribeFeatureType:
/http://localhost:8080/geoserver/wfs?service=WFS&request=DescribeFeatureType&version=1.1.0&typeName=lge:geoCoordinate-2/
is:


Element /"location"/ is missing in the schema. But when I use /GetFeature/
request, the /locations/ are correctly in the result.
Why does it happen? Is the /"location"/ some keyword? Is it possible to use
word /"location"/ somehow as a column name of the select (and the element of
the layer)?

Thanks a lot,
Tomas



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


_______________________________________________
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


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to