Re: [geos-devel] [GEOS] #721: WKBReader fails reading little-endian MULTIPOINT M EWKB

2015-03-23 Thread GEOS
#721: WKBReader fails reading little-endian MULTIPOINT M EWKB
--+-
 Reporter:  benmorel  |Owner:  geos-devel@…  
 Type:  defect|   Status:  closed
 Priority:  blocker   |Milestone:  3.4.3 
Component:  Default   |  Version:  svn-trunk 
 Severity:  Critical  |   Resolution:  duplicate 
 Keywords:|  
--+-
Changes (by strk):

  * status:  new = closed
  * resolution:  = duplicate


Comment:

 Duplicate of #460

-- 
Ticket URL: http://trac.osgeo.org/geos/ticket/721#comment:1
GEOS http://trac.osgeo.org/geos
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite 
(JTS).
___
geos-devel mailing list
geos-devel@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geos-devel

[geos-devel] [GEOS] #721: WKBReader fails reading little-endian MULTIPOINT M EWKB

2015-03-22 Thread GEOS
#721: WKBReader fails reading little-endian MULTIPOINT M EWKB
--+-
 Reporter:  benmorel  |   Owner:  geos-devel@…  
 Type:  defect|  Status:  new   
 Priority:  blocker   |   Milestone:  3.4.3 
Component:  Default   | Version:  svn-trunk 
 Severity:  Critical  |Keywords:
--+-
 This seemed related to my previous ticket #707 at first glance, but I
 double-checked this is EWKB and not ISO WKB, so it should be handled
 properly by libGEOS.

 Test code (executed with PHP bindings):

 $reader = new GeosWKBReader();
 
$reader-readHEX('0104400200010140f03f00400840010140004008401040');

 The reader fails with ParseException: Unknown WKB type 0.

 Although this is valid EWKB, as confirmed by PostGIS:

 SELECT
 
ST_AsText(ST_GeomFromEWKB(DECODE('0104400200010140f03f00400840010140004008401040',
 'HEX')));

  MULTIPOINT M (1 2 3,2 3 4)

-- 
Ticket URL: http://trac.osgeo.org/geos/ticket/721
GEOS http://trac.osgeo.org/geos
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite 
(JTS).
___
geos-devel mailing list
geos-devel@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geos-devel