I'm using the SDE API to retrieve the coordinates of one member of a feature class by way of the SeLayer. I use a query to retrieve the row and I get the shape element from the row and invoke the getAllCoords( ) method to retrieve the X,Y,Z values of the points. The values are rather large numbers: x:1936050.449370861 y:234372.5455697477 I want to map the points in a window -- just enough to get a general idea of what the feature looks like so I want to convert these values to window-relative X and Y values. I know that the raw values are in coordinate system values and I'm pretty sure I want to adjust them based on the origin of the coordinate system and the units. I can find the units but I don't know how to locate the origin so I can't convert the values.
... View more