[postgis-users] You've found a bug!

John Cole john.cole at uai.com
Tue Jul 17 12:02:51 PDT 2007


Running pgsql2shp with the following query on a tiger lkA table, I get a
notice that I've found a bug :-)  This query worked with 8.1.

 

"select coalesce(fedirp || ' ', '') || fename || coalesce(' ' || fetype, '')
|| coalesce(' ' || fedirs, '') as name, case when substring(fename, '(Old)')
is not null then null else substring(fename,
'(?:I[[:space:]]?-?|Highway|Hwy|County[[:space:]]Road|Co[[:space:]]Rd|County
|State[[:space:]]Route|Parish|Parish[[:space:]]Road|S[[:space:]]R|C[[:space:
]]R|Sr|Co|Carretera|St[[:space:]]Rt|C Rd|Co
R|County[[:space:]]Route|Cr-?)+[[:space:]]?([[:digit:]]+)') end  as hwy_num,
cfcc, transform(simplify(segmentize(transform(collect(the_geom), 1000000),
1), 3), 4326) as the_geom from TGR01001 where substring(cfcc,
'(A[456789])+') is not null group by cfcc, hwy_num, fedirp, fename, fetype,
fedirs order by cfcc desc"  

Preparing table for user query... Done.

Initializing... type 'GEOMETRYCOLLECTION' is not Supported at this time.

The DBF file will be created but not the shx or shp files.

You've found a bug! (pgsql2shp.c:2869)

 

 

Thanks,

 

John

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070717/22b8d666/attachment.html>


More information about the postgis-users mailing list