Hi Patricia,
I have not used SQLServer in a long while, but wonder if it might be
related to the serialization
flag, among the datastore configuration params: what happens if you flip
the native serialization flag (either on or off, depending on what you
currently have)?

I see there are tests for "3D" data (actually 2D+1, just like in your case,
flat CRS with a third additional ordinate)
and they are currently passing in our builds... so there is at least some
3D support built into the store.

Cheers
Andrea


On Fri, Aug 19, 2022 at 5:46 AM Patricia Kneen <pkn...@quailhavenfarm.ca>
wrote:

> I have published layers from my Azure SQL server. All is working well
> EXCEPT that the Z values of the points are not returned in the WFS.
>
> The SQL Server instance contains a spatial table which is registered in
> the geometry_columns table with the following information:
> f_table_catalog = testdb
> f_table_schema = qc
> f_table_name = pts_with_elevation
> f_geometry_column = shape
> coord_dimension = 3
> srid = 4326
> geometry_type = point
>
> I have created a store in GeoServer using Microsoft SQL Server vector data
> source and specified the dbo.geometry_columns table. I published the
> pts_with_elevation layer and have confirmed in SQL Server that the shape
> column contains Z values using
> select shape.STX, shape.STY, shape.Z, shape.STSrid from
> qc.pts_with_elevation
> which returns e.g.
> -121.187741391525 50.5423015254986 *1124.495* 4326
>
> All records in the table have a Z value.
>
> When I call
> https://<server>/geoserver/fieldqc/ows?service=WFS&version=2.0.0&request=GetFeature&typeName=qc%3A
> pts_with_elevation &maxFeatures=50
>
> only the X and the Y values of the coordinates are included (snippet below)
> <qc:shape>
> <gml:Point srsName="http://www.opengis.net/gml/srs/epsg.xml#4326";>
> <gml:coordinates decimal="." cs="," ts="
> ">-121.18951779,50.54197942</gml:coordinates>
> </gml:Point>
> </qc:shape>
>
> Can anyone please suggest what I might be doing wrong? This is using
> GeoServer version 2.20.4.
>
> Many thanks,
>
> Patricia
>
>
>
> _______________________________________________
> 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
>


-- 

Regards,

Andrea Aime

==
GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions Group
phone: +39 0584 962313

fax:     +39 0584 1660272

mob:   +39  339 8844549

https://www.geosolutionsgroup.com/

http://twitter.com/geosolutions_it

-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail
_______________________________________________
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