I have a query on table that contains a geometry type named shape:
select shape.STX from Vehicle;
The return value I get is: 278.440065912902
Any ideas how I could end up with a Geometry column in a SQL table with such a result? I get the data from Geoevent which comes from Verizon. Verizon passes me a shape (geometry) and also a lat and long column. The lat and long columns are correct. However, when I try to use a select statement to see the longitude using STX, I get this weird result. If I use shape.STX - 360 I get the correct longitude. I'm puzzled.
I need to be able to use the shape column in an STDistance() query to see how far away my vehicles are from a work order task on another object on our map. Obviously, with a longitude value of 278... the STDistance is giving me erroneous information.
Note: when querying for shape.STY I get the correct latitude. So only the longitude is wrong in the shape column??