[postgis-devel] [PostGIS] #538: Problem with rendering PostgreSQL 9.0 beta ST_AsBinary
PostGIS
trac at osgeo.org
Fri Jun 4 00:17:38 PDT 2010
#538: Problem with rendering PostgreSQL 9.0 beta ST_AsBinary
-----------------------------------+----------------------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 1.5.2
Component: postgis | Version: 1.5.X
Keywords: postgresql9.0 windows |
-----------------------------------+----------------------------------------
I'm not sure if this is my install or something wrong with OpenJump or the
ST_AsBinary output emitted by PostgreSQL 9.0. I just tried displaying my
PostgreSQL 9.0 beta 1 PostGIS 1.5.2SVN install on Windows in OpenJump, and
I can't.
It gives the error (Unknown WKB type 48(Parse Exception) when I run this
query
{{{
SELECT ST_AsBinary(geom)
FROM
bay_area_cities
}}}
It fails for any geometry table in my PostgreSQL 9.0. However I can
render the geometries fine in QuantumGIS.
I can also render my PostgreSQL 8.4 PostGIS 1.5 geometries fine as well in
OpenJump.
I'm not sure if this is just a windows thing or something strange that the
PostgreSQL 9.0 is tacking on to the ST_AsBinary output that is tripping up
OpenJump.
Can someone running a Linux PostgreSQL 9.0 beta 1 install test it out.
As far as I can tell, the geometries are fine. I can union them, run
areas etc. So seems like it might be isolated to the output.
Details of my install (that I built around 2010-05-11) -- the one on
Windows Experimental page.
"POSTGIS="1.5.2SVN" GEOS="3.2.2-CAPI-1.6.2" PROJ="Rel. 4.6.1, 21 August
2008" LIBXML="2.7.6" USE_STATS"
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/538>
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