[geos-devel] [GEOS] #439: St9bad_alloc GEOS throws intersect error!

GEOS geos-trac at osgeo.org
Wed May 11 10:32:27 EDT 2011


#439: St9bad_alloc GEOS throws intersect error!
------------------------+---------------------------------------------------
 Reporter:  marquis103  |       Owner:  geos-devel@…              
     Type:  defect      |      Status:  new                       
 Priority:  major       |   Milestone:                            
Component:  Default     |     Version:  3.2.0                     
 Severity:  Unassigned  |    Keywords:  ST9bad_alloc              
------------------------+---------------------------------------------------
 I have a huge repository of geospatial data (17M) data objects.  I'm
 attempting to build a view of the data by United States Command area.  I
 have a shapefile built that divides countries up by polygon and command
 area.  I can build all command areas except for northcom (United States,
 Puerto Rico, Canada, Mexico).  The rest of the entire world builds great.
 I can't attach the geometries because I can't see which ones are causing
 the errors.

 I just always get:
 NOTICE:  St9bad_alloc
 CONTEXT:  SQL statement "CREATE TABLE products_by_location_mv AS SELECT *
 FROM vw_products_by_location"
 PL/pgSQL function "create_matview" line 17 at EXECUTE statement
 ERROR:  GEOS intersects() threw an error!
 CONTEXT:  SQL statement "CREATE TABLE products_by_location_mv AS SELECT *
 FROM vw_products_by_location"
 PL/pgSQL function "create_matview" line 17 at EXECUTE statement

 but no real documentation on an error to see what the case may be.  All
 the polygons return valid.  Is there anything I can do to problem get an
 idea of what geometries are causing the errors?

 I'm on Windows 64 bit 2008
 32GB Memory
 Postgres 8.3
 Postgis 1.5.2
 GEOS 3.2

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/439>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list