bugMapOSMatic - Bugs: bug #36244, GEOS Intersection() threw an error...

 
 

bug #36244: GEOS Intersection() threw an error while rendering some cities and bounding boxes

Submitted by:  None
Submitted on:  Wed 18 Apr 2012 06:29:20 PM UTC  
 
Category: ocitysmapSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 23 Apr 2012 07:41:00 PM UTC, comment #2:

Fixed by http://git.savannah.gnu.org/cgit/maposmatic/ocitysmap.git/commit/?id=b376ba5c097226e4bf5c1175ff5dd4ca5859835a.

Thomas Petazzoni <tpetazzoni>
Project Administrator
Wed 18 Apr 2012 06:48:56 PM UTC, comment #1:

The basic request is correct (I have checked all polygons involved with ST_IsValid function).

So I have installed PostGIS 2.0 to see if it fixes the failing query (this kind of error is generally corrected with new versions).
It doesn't by the error is more precise:
TopologyException: side location conflict

After some googling I have found that to correct this kind of error we should clean up a bit the polygons by using ST_Buffer (http://postgis.refractions.net/docs/ST_Buffer.html) with a radius equal to 0.
This doesn't work.

PS: in PostGIS 2.0 some function have changed like GeomFromText which is now ST_GeomFromText. Some queries in ocitysmap need to be change to work with this new version.

Étienne Loks <nim>
Wed 18 Apr 2012 06:29:20 PM UTC, original submission:

Here is a sample of error send.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tpetazzoni (Posted a comment)
  • -unavailable- added by nim (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 23 Apr 2012 07:41:00 PM UTCtpetazzoniStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1