[postgis-tickets] [PostGIS] #2635: Geography Regress difference between 2.0.4 and 2.1.1 ST_Buffer

PostGIS trac at osgeo.org
Wed Feb 5 20:03:53 PST 2014


#2635: Geography Regress difference between 2.0.4 and 2.1.1 ST_Buffer
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.1.2
Component:  postgis  |     Version:  2.1.x        
 Keywords:           |  
---------------------+------------------------------------------------------
 Paul,

 This may be nothing but thought I'd ticket it just in case. I'm guessing
 it may have to do with the segmentizing work you did in 2.1 so the 2.1
 answer may be right.  Feel free to dismiss as a non-issue.


 {{{
 SELECT ST_Area(geog), ST_AsText(geog) As wkt
 FROM ST_Buffer(ST_GeogFromText('POLYGON((-8.1111111 60,-8.16875525879031
 59.4147290339516,-8.33947250246614 58.8519497029047,-8.61670226309236
 58.3332893009412,-8.98979075644036 57.8786796564404,-9.44440040094119
 57.5055911630924,-9.96306080290473 57.2283614024661,-10.5258401339516
 57.0576441587903,-11.1111111 57,-11.6963820660484
 57.0576441587903,-12.2591613970953 57.2283614024661,-12.7778217990588
 57.5055911630924,-13.2324314435596 57.8786796564404,-13.6055199369076
 58.3332893009412,-13.8827496975339 58.8519497029047,-14.0534669412097
 59.4147290339516,-14.1111111 60,-14.0534669412097
 60.5852709660484,-13.8827496975339 61.1480502970953,-13.6055199369076
 61.6667106990588,-13.2324314435597 62.1213203435596,-12.7778217990588
 62.4944088369076,-12.2591613970953 62.7716385975339,-11.6963820660484
 62.9423558412097,-11.1111111 63,-10.5258401339516
 62.9423558412097,-9.96306080290474 62.7716385975339,-9.4444004009412
 62.4944088369076,-8.98979075644036 62.1213203435596,-8.61670226309237
 61.6667106990588,-8.33947250246614 61.1480502970953,-8.16875525879031
 60.5852709660484,-8.1111111 60))'),0.5)  As geog;

 }}}

 In POSTGIS="2.1.2dev r12220" GEOS="3.4.2-CAPI-1.8.2 r0" PROJ="Rel. 4.8.0,
 6 March 2012" GDAL="GDAL 1.10.0, released 2013/04/24" LIBXML="2.7.8"
 LIBJSON="UNKNOWN" RASTER PostgreSQL 9.2.4, compiled by Visual C++ build
 1600, 32-bit


 {{{
 174586245121.787;
 POLYGON((-8.11110222676862 60.0000001123177,-8.11110222756612
 59.9999996529674,-8.16874654571452 59.4147286928243,-8.16874664506243
 59.4147282009185,-8.33946403009328 58.8519488836975,-8.33946425740642
 58.8519483409453,-8.61669413225065 58.333287959632,-8.61669454377614
 58.3332873500412,-8.98978311640787 57.8786777311844,-8.9897838091721
 57.8786770459371,-9.4443934919845 57.5055885804876,-9.44439462077365
 57.5055878357803,-9.96305501709095 57.2283581014174,-9.96305678017842
 57.2283573825071,-10.5258360648787 57.0576401583567,-10.5258372711419
 57.0576398578416,-10.5258385543783 57.0576396729186,-11.1111094479643
 56.9999955216097,-11.1111108915067 56.9999954494718,-11.11111234172
 56.9999955228753,-11.6963832359368 57.0576396745597,-11.6963845762407
 57.0576398684158,-11.6963858447501 57.05764018493,-12.2591651318438
 57.228357409453,-12.2591670238365 57.2283581812281,-12.777827424573
 57.5055879162765,-12.7778286347834 57.5055887143522,-13.2324383232393
 57.8786771811134,-13.2324390547882 57.8786779042161,-13.6055276330769
 58.3332875251025,-13.6055280588178 58.3332881552299,-13.8827579382924
 58.8519485391979,-13.8827581685808 58.851949088513,-14.0534755565227
 59.4147284088229,-14.0534756552979 59.4147288971683,-14.1111199742848
 59.9999998606063,-14.1111199751599 60.0000003092618,-14.0534759820891
 60.5852712810569,-14.0534758964603 60.5852717124745,-13.8827588127288
 61.1480510572808,-13.8827586299052 61.1480514969214,-13.6055290113663
 61.6667119197437,-13.6055286889924 61.6667123986508,-13.2324403072682
 62.1213220695603,-13.232439744958 62.1213226256614,-12.777830169063
 62.4944111485805,-12.7778291516122 62.494411817498,-12.2591687642903
 62.7716416071738,-12.2591668861125 62.7716423669067,-11.6963875113353
 62.9423596333884,-11.6963859831522 62.9423600049927,-11.6963843312279
 62.9423602450222,-11.1111132779988 63.0000044128573,-11.1111112726256
 63.0000045075187,-11.1111092599455 63.0000044113329,-10.5258382075
 62.9423602435568,-10.5258364928066 62.9423599938316,-10.5258348994918
 62.9423596056344,-9.96305552763739 62.7716423393292,-9.96305353718583
 62.7716415338708,-9.4443931548388 62.4944117448422,-9.44439207393719
 62.494411034233,-8.98978250399359 62.1213225126375,-8.98978190857326
 62.1213219238521,-8.61669353266982 61.6667122549516,-8.61669319297732
 61.6667117503886,-8.33946357928109 61.148051330162,-8.33946338787195
 61.1480508699993,-8.16874630740451 60.5852715282209,-8.1687462185399
 60.5852710808434,-8.11110222676862 60.0000001123177))
 }}}

 In POSTGIS="2.0.4" GEOS="3.4.2-CAPI-1.8.2 r0" PROJ="Rel. 4.8.0, 6 March
 2012" GDAL="GDAL 1.10.0, released 2013/04/24" LIBXML="2.7.8"
 LIBJSON="UNKNOWN" (core procs from "2.0.4" need upgrade) RASTER (raster
 procs from "2.0.4" need upgrade) PostgreSQL 9.2.4, compiled by Visual C++
 build 1600, 32-bit


 {{{
 174585845315.925;POLYGON((-8.11110661378164
 60.0000001098461,-8.11110661397496 59.9999998881884,-8.16875077276527
 59.4147289201606,-8.1687508208231 59.4147286812904,-8.33946806449893
 58.8519493443789,-8.33946817617189 58.8519490773287,-8.61669793679811
 58.3332886659866,-8.61669814344717 58.3332883596781,-8.98978663679517
 57.8786787030531,-8.98978699480701 57.8786783488813,-9.44439663930784
 57.5055898419469,-9.44439724209829 57.5055894443578,-9.96305764406183
 57.2283596706437,-9.96305861424042 57.2283592751908,-10.5258379452873
 57.0576420216394,-10.5258386198499 57.0576418546683,-10.525839335611
 57.0576417503919,-11.1111103016594 56.9999975878485,-11.1111111
 56.9999975488188,-11.1111118983406 56.9999975878485,-11.696382864389
 57.0576417503919,-11.6963835801501 57.0576418546683,-11.6963842547127
 57.0576420216394,-12.2591635857596 57.2283592751908,-12.2591645559382
 57.2283596706437,-12.7778249579017 57.5055894443578,-12.7778255606922
 57.5055898419469,-13.232435205193 57.8786783488813,-13.2324355632048
 57.8786787030531,-13.6055240565528 58.3332883596781,-13.6055242632018
 58.3332886659866,-13.8827540238281 58.8519490773287,-13.8827541355011
 58.8519493443789,-14.0534713791769 59.4147286812904,-14.0534714272347
 59.4147289201606,-14.111115586025 59.9999998881884,-14.1111155862184
 60.0000001098461,-14.0534714274281 60.5852710739391,-14.0534713844434
 60.585271289349,-13.8827541407676 61.1480506147303,-13.8827540485882
 61.148050835841,-13.6055242879619 61.6667112289035,-13.6055241254696
 61.666711469928,-13.2324356321217 62.1213211030274,-13.2324353506388
 62.1213213811136,-12.7778257061379 62.4944098616311,-12.7778252024295
 62.4944101925362,-12.259164800466 62.7716399405138,-12.2591638816464
 62.7716403119769,-11.6963845505995 62.9423575456898,-11.6963838136893
 62.9423577259882,-11.696383016166 62.9423578409172,-11.1111120501176
 63.0000019957568,-11.1111111 63.0000020419649,-11.1111101498824
 63.0000019957568,-10.525839183834 62.9423578409172,-10.5258383863107
 62.9423577259882,-10.5258376494005 62.9423575456898,-9.96305831835364
 62.7716403119769,-9.96305739953408 62.7716399405138,-9.44439699757054
 62.4944101925362,-9.44439649386208 62.4944098616311,-8.98978684936124
 62.1213213811136,-8.98978656787831 62.1213211030274,-8.61669807453032
 61.666711469928,-8.61669791203804 61.6667112289035,-8.33946815141182
 61.148050835841,-8.33946805923243 61.1480506147303,-8.1687508155566
 60.585271289349,-8.16875077257195 60.5852710739391,-8.11110661378164
 60.0000001098461))
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2635>
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-tickets mailing list