POST
|
Hi Guys, What Products have the following ArcObjects SDK bundled? -Java -C++ Thanks!
... View more
04-07-2014
08:13 AM
|
0
|
1
|
3020
|
POST
|
Hi I have a polyline that I'm drawing on the map and I'd like to calculate its length in meters. Currently I do this:
distanceSeg=new Polyline();
double len1=distanceSeg.calculateLength2D();
double m_len=Unit.convertUnits(len1, Unit.create(AngularUnit.Code.DEGREE) ,Unit.create(LinearUnit.Code.METER)); but the call to Unit.convertUnits throws a GeometryException...any idea what I'm doing wrong? Thanks,
... View more
09-18-2012
03:57 AM
|
0
|
1
|
719
|
POST
|
Hello I have a simple question, I'm creating a polyline on a map and when I'm done creating it I would like to display the distance in meters. I have this code: distanceSeg=new Polyline(); .... double len1=distanceSeg.calculateLength2D(); I would like to convert len1 to meter units.. I tried this: double m_len=Unit.convertUnits(len1, Unit.create(AngularUnit.Code.DEGREE) ,Unit.create(LinearUnit.Code.METER)); but I get an exception with GeometryException: invalid_call Any help would be appreciated. Thanks
... View more
09-17-2012
07:42 PM
|
0
|
4
|
3160
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|