Hi,

Pasting this thread 
https://lists.osgeo.org/pipermail/geos-devel/2013-December/006757.html for 
making it easier to find from the OpenJUMP archives what is the difference 
between XYZ  geometries as they appear in OGC WKT and in the PostGIS EWKB. 
Adding also some keywords from the original error:
unknown wkb type 235

It seems that the fix requires enhancement to JTS WKBReader/Writer for making 
it possible to the OGC style XYZ, XYM, and XYZM WKB.



Quotation from JTS 1.14 source file 
https://sourceforge.net/p/jts-topo-suite/code/HEAD/tree/trunk/jts/java/src/com/vividsolutions/jts/io/WKBWriter.java

* This implementation also supports the <b>Extended WKB</b>
 * standard. Extended WKB allows writing 3-dimensional coordinates
* and including the geometry SRID value.
 * The presence of 3D coordinates is signified
* by setting the high bit of the <tt>wkbType</tt> word.
* The presence of an SRID is signified
 * by setting the third bit of the <tt>wkbType</tt> word.
* EWKB format is upward compatible with the original SFS WKB format.

If you will write to JTS list you could perhaps suggest to at least add here 
and there in the code and javadocs a clear notice telling that only 2D OGC WKB 
is supported.

-Jukka Rahkonen-
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to