[OpenLayers-Users] 3D coordinates

Andreas Hocevar ahocevar at opengeo.org
Mon Apr 8 04:21:03 PDT 2013


What you need should work with the latest from OpenLayers master, at
least for GML. Retaining the 3rd dimension was introduced after 2.12.

Andreas.

On Mon, Apr 8, 2013 at 11:15 AM, Jani Tiainen <redetin at gmail.com> wrote:
> Hi,
>
> I've following needs to be fulfilled with OL 2.x
>
> - Be able to read 3d geometries (preferably WKT)
> - Be able to retain 3rd coordinate (Z)
> - Be able to create new vertices with predefined Z.
>
> I don't need calcs and such to take into account 3rd dimension. I just want
> to retain it and later on when creating new features add a new ones with
> some given Z coordinate (through custom tool).
>
> So far I've found following:
>
> WKT doesn't support it and adding support for 3rd coordinate might work by
> modifying point adding.
>
> GML tries to preserve 3rd coordinate but actually doesn't do that.
>
> All ideas or pointers are welcome.
>
> --
> Jani Tiainen
>
> - Well planned is half done and a half done has been sufficient before...
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list