On vendredi 30 juin 2017 07:00:40 CEST Michael Smith wrote:
> What os? I know the mapserver docker packages
> (https://hub.docker.com/r/mapserver/mapserver/)  have it but most of the
> windows versions, MS4W, GisInternals, don’t. Don’t know about OSGeo4W.

I'm wondering if we shouldn't revisit the decision to have USE_POINT_Z_M 
disabled by 
default. This is often annoying.

Apparently, adding USE_POINT_Z_M defaulting to OFF was driven by performance 
reasons 
per https://github.com/mapserver/mapserver/issues/1244 . But this was 12 years 
ago. 
Perhaps with recent hardware the performance difference isn't that big. The 
ticket 
unfortunately doesn't contain a test case to bench (likely lots of 
lines/polygons, or large 
lines/polygons to render). If the perf difference is still there, a more 
involved change would 
be indeed to move the z and m components into separate arrays.


> 
> 
> Michael Smith
> Remote Sensing/GIS Center
> US Army Corps of Engineers
> 
> > On Jun 30, 2017, at 6:12 AM, Daniel Hardes <[email protected]> wrote:
> > 
> > Ok. Is there a prebuild version with USE_POINT_Z_M somewhere?
> > 
> >> Michael Smith <[email protected]> hat am 30. Juni 2017 um
> >> 12:02 geschrieben:
> >> 
> >> Daniel,
> >> 
> >> There is a section in the OGC WFS Server docs that explains this. Look at
> >> http://mapserver.org/ogc/wfs_server.html#reference-section, specifically
> >> the Layer section. You have to have mapserver compiled with
> >> USE_POINT_Z_M support and you have to set the geometry type to a 2.5D
> >> type, eg something like "ows_geomtype" "Polygon25D"
> >> 
> >> Michael Smith
> >> Remote Sensing/GIS Center
> >> US Army Corps of Engineers
> >> 
> >>> On Jun 30, 2017, at 5:49 AM, Daniel Hardes <[email protected]> wrote:
> >>> 
> >>> Hello,
> >>> 
> >>> i have a PostGIS database with point, line and polygon geometries and
> >>> all have a Z-coordinate.
> >>> 
> >>> First problem: Is it possible to create a layer in the mapfile without a
> >>> fixes type? i think a layer has to have a Type property but there ist
> >>> no general geometry type.
> >>> 
> >>> Second problem: All coordinates have only X and Y values.... but no Z
> >>> value... they have the value in the database. Is it possible zu get the
> >>> Z-coordinate from the WFS?
> >>> 
> >>> 
> >>> 
> >>> Greetings Daniel
> >>> 
> >>> _______________________________________________
> >>> mapserver-users mailing list
> >>> [email protected]
> >>> https://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to