[postgis-devel] [PostGIS] #1106: OpenJump (JTS): Unknown WKB type 48

PostGIS trac at osgeo.org
Tue Jul 5 19:06:52 PDT 2011


#1106: OpenJump (JTS): Unknown WKB type 48
-----------------------+----------------------------------------------------
 Reporter:  aperi2007  |       Owner:  pramsey      
     Type:  defect     |      Status:  new          
 Priority:  critical   |   Milestone:  PostGIS 2.0.0
Component:  postgis    |     Version:  trunk        
 Keywords:             |  
-----------------------+----------------------------------------------------

Comment(by robe):

 Andrea -- how are you querying OpenJump?  I don't get the error you have
 above about wkb type, but I'm running a slightly newer PostGIS.  With ad-
 hoc tool it gives that error if you don't do an ST_AsBinary on the column
 but that has always been the case.

 SO:

 {{{
 -- this works
 SELECT ST_AsBinary(geom)
 FROM tl_2010_25_zcta510
 }}}


 {{{
 -- this will give a type 48 error in ad-hoc tool
 SELECT geom
 FROM tl_2010_25_zcta510;
 }}}


 FWIW -- if I install the missing legacy functions, my OpenJump works fine
 with the add data store layer option also.  So I don't think there is an
 issue with OpenJump, just QGIS.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1106#comment:11>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list