[postgis-devel] [PostGIS] #2099: GEOSOffsetCurve: IllegalArgumentException: RobustDeterminant encountered non-finite numbers

PostGIS trac at osgeo.org
Sun Nov 18 22:30:31 PST 2012


#2099: GEOSOffsetCurve: IllegalArgumentException: RobustDeterminant encountered
non-finite numbers
----------------------------+-----------------------------------------------
 Reporter:  mamay           |       Owner:  pramsey      
     Type:  defect          |      Status:  new          
 Priority:  medium          |   Milestone:  PostGIS 2.1.0
Component:  postgis         |     Version:  2.0.x        
 Keywords:  ST_OffsetCurve  |  
----------------------------+-----------------------------------------------
 When running following query:

 {{{
 select
 st_asewkt(ST_Transform(St_Buffer(ST_OffsetCurve(st_geomfromtext('LINESTRING(149.544806520518
 -26.2699794095638,149.544767045802 -26.2699496303918,149.544767045802
 -26.2699496303918,149.544762544299 -26.269945128889)', 4283), 3.0,
 'quad_segs=4 join=mitre mitre_limit=2.0'), (abs(3.0))::FLOAT, 'quad_segs=4
 endcap=flat join=mitre'), 4283))
 }}}

 postgresql either closes connection or completely crashes, depending on
 os.

 1. opensuse 12.2 64 - The connection to the server was lost
 2. ubuntu 11.10 64/32 - the query just hangs.
 3. windows 7 64  - conecction closed, postgresql service shut down, reuire
 manual start.
 4. windows 7 32 - GEOSOffsetCurve: IllegalArgumentException:
 RobustDeterminant encountered non-finite numbers

 postgis version installed on opensuse:
 "POSTGIS="2.0.1 r9979" GEOS="3.3.5-CAPI-1.7.5" PROJ="Rel. 4.8.0, 6 March
 2012" GDAL="GDAL 1.9.2, released 2012/10/08" LIBXML="2.7.8" TOPOLOGY
 RASTER"

 With other geometry the query runs ok. For example:

 {{{
 select
 st_asewkt(ST_Transform(St_Buffer(ST_OffsetCurve(st_geomfromtext('LINESTRING(149.501849
 -26.274435,149.50227 -26.274437,149.502272 -26.274145,149.502315
 -26.274144,149.502411 -26.274142,149.502415 -26.274142,149.502448
 -26.274139,149.502481 -26.274131,149.502512 -26.274121,149.502541
 -26.274106,149.502568 -26.274088,149.502592 -26.274067,149.502612
 -26.274043,149.502629 -26.274017,149.502642 -26.27399,149.502651
 -26.273961,149.502655 -26.273931,149.502656 -26.273921,149.502656
 -26.273919)', 4283), 3.0, 'quad_segs=4 join=mitre mitre_limit=2.0'),
 (abs(3.0))::FLOAT, 'quad_segs=4 endcap=flat join=mitre'), 4283))
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2099>
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