This project is read-only.


May 21, 2012 at 1:55 PM

Hello everybody,

I included the measure-plugin (MapFunctionMeasure) into my applcation. The Form get's displayed and it seems to work but the digits shown are far to large. I checked this with DemoMap.exe to the same results. I think the problem is that the projection seems to be in Degree not meters (?) - But I didn't find a way to change this ...

Can anybody help?


Nov 16, 2012 at 8:53 AM

I have the same problem, did you solve it?

I tried to change the projection system using the appropriate esristring, but no way to fix the problem.



Nov 19, 2012 at 9:59 AM

within the sub "measure" button click related to the button I placed in my toolbar

I specified the following EsriString for my projection:

Map1.ProjectionEsriString = "PROJCS[""WGS_1984_UTM_Zone_32N"",GEOGCS[""GCS_WGS_1984"",DATUM[""D_WGS_1984"",SPHEROID[""WGS_1984"",6378137,298.257223562997]],PRIMEM[""Greenwich"",0],UNIT[""Degree"",0.0174532925199433]], PROJECTION[""Transverse_Mercator""],PARAMETER[""False_Easting"",500000],PARAMETER[""False_Northing"",0],PARAMETER[""Central_Meridian"",9],PARAMETER[""Scale_Factor"",1],UNIT[""Meter"",1]]" 

in which the linear unit specified is "meters"

Then the measure plugin works fine, telling distances and areas in meters.

I don't know why by default the units are in "degree", anyway, if you change the projection system directly while running your software (right click oon map layers root) you can make it work as well.