Hi,
Today I stumbled uppon an issue regarding the GetArea method.
var wkt = "POLYGON((-10050200.5917225 3972575.2145659,-10050182.7805979 3972579.49037142,-10050167.6411356 3972579.49037142,-10050148.0489115 3972581.62829033,-10050133.8000119 3972588.57646731,-10050125.7849993 3972605.67971874,-10050118.6605754 3972626.52433682,-10050113.3172251 3972643.62761343,-10050102.6305504 3972660.7309465,-10050097.287226 3972685.85150906,-10050103.5211131 3972707.76524327,-10050121.3322376 3972723.26521234,-10050131.1283497 3972740.36866353,-10050128.4566875 3972759.6100609,-10050127.5661247 3972777.7825437,-10050118.6605754 3972786.33430655,-10050110.6455629 3972801.29989126,-10050107.9739007 3972820.5413903,-10050107.083338 3972841.92088862,-10050107.083338 3972864.90387408,-10050106.1927753 3972888.95589334,-10050105.3022385 3972910.87001353,-10050104.4116758 3972931.18068732,-10050102.6305504 3972954.69834775,-10050100.8494509 3972976.07809481,-10050095.5061005 3972996.92338248,-10050087.4911139 3973020.441177,-10050078.5855387 3973044.4935207,-10050071.4610889 3973070.14942173,-10050064.336665 3973095.27087624,-10050059.8838774 3973119.85788076,-10050058.9933146 3973144.4449377,-10050057.2122151 3973169.03204707,-10050053.6499902 3973193.61920887,-10050044.744415 3973209.11983106,-10050031.3860781 3973204.84379205,-10050031.3860781 3973182.39463662,-10050035.8388657 3973151.92796002,-10050041.1821901 3973121.99586875,-10050046.5255404 3973094.20186912,-10050052.7594275 3973066.94243876,-10050058.9933146 3973038.07956992,-10050067.898864 3973009.75127293,-10050071.4610889 3972992.11292335,-10050076.8044392 3972968.59518661,-10050078.5855387 3972939.19806758,-10050080.3666641 3972909.26652853,-10050080.3666641 3972880.93854801,-10050079.4761014 3972854.21411421,-10050081.2572268 3972828.55869364,-10050082.1477636 3972801.83438124,-10050088.3816507 3972778.31703258,-10050089.2722134 3972764.42042304,-10050076.8044392 3972760.679037,-10050066.1177645 3972773.50666464,-10050057.2122151 3972799.16193162,-10050047.4161031 3972833.36908453,-10050040.2916533 3972867.04184591,-10050030.4955154 3972900.18021106,-10050019.8088665 3972933.85313642,-10050010.9032913 3972968.06068891,-10050002.8883047 3973003.33731037,-10049991.3110672 3973038.61407086,-10049984.1866174 3973072.82190303,-10049972.60938 3973104.89188259,-10049963.7038307 3973138.0309002,-10049951.2360564 3973171.17004418,-10049948.5643942 3973201.10226311,-10049945.8927061 3973221.41344814,-10049937.8777195 3973232.63805838,-10049928.0816075 3973256.69084474,-10049917.3949327 3973286.08877324,-10049910.2704829 3973318.15931487,-10049900.4743709 3973349.69546143,-10049893.3499211 3973381.76617998,-10049885.3349085 3973414.9060245,-10049879.1010214 3973447.51144435,-10049876.4293592 3973480.65147784,-10049874.6482338 3973513.25708362,-10049875.5387965 3973545.8627816,-10049875.5387965 3973579.53759271,-10049877.319896 3973614.28158854,-10049878.2104587 3973646.35304308,-10049879.1010214 3973677.89005624,-10049879.1010214 3973710.49621983,-10049879.9915841 3973740.96437246,-10049879.9915841 3973772.50164442,-10049879.1010214 3973806.17714864,-10049881.7726836 3973838.24913701,-10049882.6632463 3973868.18308784,-10049882.6632463 3973897.04803483,-10049888.8971334 3973924.84396995,-10049895.1310206 3973941.94920368,-10049893.3499211 3973957.450832,-10049888.0065707 3973976.6942606,-10049888.0065707 3974003.42132743,-10049890.6782589 3974033.89022312,-10049890.6782589 3974067.03194222,-10049892.4593584 3974098.57010619,-10049892.4593584 3974129.57383599,-10049893.3499211 3974161.64672408,-10049893.3499211 3974191.58151465,-10049896.0215833 3974220.98179604,-10049910.2704829 3974238.08746918,-10049942.3304812 3974237.55291262,-10049981.5149552 3974234.3456049,-10050020.6994033 3974229.53462944,-10050061.6649768 3974224.18913116,-10050100.8494509 3974220.98179604,-10050141.8150244 3974214.56719072,-10050183.6711347 3974206.01436843,-10050222.8556087 3974199.59977143,-10050261.14952 3974193.71970139,-10050300.3339681 3974189.97785151,-10050336.846754 3974195.32336504,-10050369.797341 3974214.03263525,-10050401.8573392 3974231.13829808,-10050431.2457012 3974246.10575831,-10050463.3056995 3974262.14235331,-10050492.6940615 3974277.10988491,-10050511.3957229 3974287.26640528,-10050514.9579478 3974289.40464089,-10050579.968533 3974282.45540773,-10050581.7496584 3974276.0407682,-10050589.764645 3974253.58949572,-10050599.560757 3974223.12001935,-10050611.1379945 3974189.44329718,-10050622.715206 3974152.02483584,-10050631.6207812 3974115.1410468,-10050639.6357938 3974077.18830862,-10050660.1185805 3974043.51201276,-10050690.3974793 3974013.57760668,-10050723.3480403 3973985.24691275,-10050755.4080645 3973956.38174493,-10050793.7019499 3973917.36044596,-10050828.4336363 3973890.63357863,-10050869.3992098 3973876.20111969,-10050898.7875459 3973853.21608715,-10050905.9119957 3973813.66060046,-10050917.4892332 3973723.85943694,-10050921.9420208 3973678.95911748,-10050929.0664447 3973631.92088994,-10050936.1908945 3973582.74474938,-10050943.3153443 3973528.75813553,-10050950.4397942 3973479.0479136,-10050965.5792565 3973380.16262949,-10050973.5942431 3973328.31502158,-10050986.9525801 3973277.53663972,-10051010.1070549 3973232.10354844,-10051038.6048283 3973190.94669956,-10051066.2120649 3973150.3244415,-10051087.5854144 3973114.51286585,-10051098.2720891 3973091.52938286,-10051104.5059762 3973068.01144335,-10051107.1776384 3973039.68307283,-10051108.9587638 3973008.14777418,-10051111.630426 3972976.61259289,-10051111.630426 3972945.61199448,-10051111.630426 3972913.54245793,-10051112.5209887 3972884.67997306,-10051113.4115255 3972854.21411421,-10051113.4115255 3972823.21384487,-10051112.5209887 3972791.67913823,-10051114.3020882 3972760.679037,-10051115.1926509 3972730.21347466,-10051114.3020882 3972700.81696336,-10051104.5059762 3972678.36878919,-10051084.0231895 3972669.81710641,-10051059.0876151 3972667.1447185,-10051039.495391 3972661.26542996,-10051024.3559546 3972654.85169234,-10051010.9975917 3972647.36899259,-10050991.4053677 3972643.62761343,-10050971.8131436 3972639.35181523,-10050947.768132 3972635.07598751,-10050927.2853452 3972631.86909443,-10050906.8025584 3972630.80016137,-10050886.3197717 3972629.73119731,-10050866.7275476 3972626.52433682,-10050861.3841973 3972626.52433682,-10050860.4936605 3972630.80016137,-10050845.3541982 3972628.1277514,-10050827.5430736 3972629.19671531,-10050815.9658621 3972629.73119731,-10050802.6075251 3972628.66223334,-10050788.3586255 3972626.52433682,-10050774.1097258 3972629.73119731,-10050764.3136138 3972636.67940327,-10050759.8608262 3972638.28285037,-10050754.5175018 3972634.54150527,-10050744.7213898 3972624.92089136,-10050730.4724901 3972617.97269248,-10050712.6613656 3972615.30028548,-10050693.0691415 3972615.30028548,-10050677.0391424 3972614.76583527,-10050659.2280178 3972609.42105448,-10050644.9791182 3972605.67971874,-10050630.7302185 3972603.00731459,-10050615.5907821 3972602.47286494,-10050598.6702202 3972605.14523786,-10050580.8590957 3972606.74868057,-10050563.0479711 3972606.21419964,-10050547.9085088 3972605.67971874,-10050530.9879469 3972605.14523786,-10050514.0673851 3972603.00731459,-10050498.0373859 3972601.93838421,-10050479.3357246 3972600.33494217,-10050459.7434746 3972598.1970509,-10050440.1512506 3972596.59360937,-10050417.8873643 3972594.99016807,-10050394.7328894 3972594.45571879,-10050369.797341 3972591.24883701,-10050348.4239915 3972588.57646731,-10050326.1601052 3972586.97302713,-10050301.2245309 3972583.76617853,-10050278.0700819 3972580.02485111,-10050256.6967324 3972576.81800445,-10050240.6667333 3972577.35248402,-10050223.7461714 3972576.28352491,-10050200.5917225 3972575.2145659))";
var feature = new Feature(wkt);
var shape = (AreaBaseShape) feature.GetShape();
var area = shape.GetArea(GeographyUnit.Meter, AreaUnit.Acres);
The wkt is in Google projection and the GetArea() call returns ~398 acres while the correct value is ~277 acres.
I am using MapSuiteCore Services Edition version 6.0.243.0
Am I doing something wrong in the code? ... because of the big diff, I am confused.
Thanks