pointcoordslabel.qry

  Download

More scripts: Label By Script

Syntax Highlighing:

comments, key words, predefined symbols, class members & methods, functions & classes
            
#22 Dec 2015 by crobbins
numeric obj_x, obj_y, map_x, map_y;
georefVect = GetLastUsedGeorefObject(Vect);
obj_x = Internal.x;
obj_y = Internal.y;
ObjectToMap(Vect,obj_x,obj_y,georefVect,map_x,map_y);
Label$=sprintf("%.2f, %.2f",map_x, map_y);
return Label$;