I got this snippet which is part of GPX data, can't figure what format the lat/lon pairs are though...
<rte><number>0</number><name>0</name><cmt>2.10000000000e+001</cmt>
<rtept lat="151234.04567902" lon="982651.91230503"></rtept>
<rtept lat="151172.75643152" lon="982728.52370036"></rtept>
<rtept lat="151172.75643152" lon="982835.49986435"></rtept>
<rtept lat="151195.41944394" lon="982998.67473486"></rtept>
<rtept lat="151217.32983318" lon="983156.42868444"></rtept>
<rtept lat="151163.84175119" lon="983446.15612336"></rtept>
<rtept lat="151128.18302986" lon="983713.59653336"></rtept>
<rtept lat="151119.26834951" lon="983945.37855011"></rtept>
<rtept lat="151118.97110602" lon="983947.85426694"></rtept>
<rtept la开发者_Python百科t="151092.52430852" lon="984168.24555844"></rtept>
<rtept lat="151059.42758994" lon="984332.72915336"></rtept>
<rtept lat="150115.61320460" lon="984460.79845102"></rtept>
<rtept lat="149996.49861343" lon="984385.56795844"></rtept>
<rtept lat="149883.65336668" lon="984410.64500803"></rtept>
<rtept lat="149902.46074377" lon="984592.45140295"></rtept>
<rtept lat="149653.23683277" lon="984630.62947619"></rtept>
Any ideas?
Looks like State Plane New York projection (East?). I tried importing your xy data in ArcGIS with that projection (NAD83 State Plane NY East, meters), then setting the dataframe projection to WGS84 lat/long, which returns lat/long values similar to what you would expect for NY...
EDIT: State Plane uses a mix of transverse Mercator and Lambert Conformal Conic projections, so you should also try these.
I did some calculations... Is it possible that the very first coordinates indicate a position somewhere near chicago?
In my calculation any coordinate is provided in seconds. So I divided the value / 3600 to get h and so on ...
I get the following values for the first coordinates
lat: 42,00945713
lng: 272,9588645
if you need my excel sheet - send me an mail to franz.pilgerstorfer@gmx.at and I'll respond.
hth
I believe this data is invalid. This looks like GPX data and the values for lat
/ lon
need to be within -90.0 and +90.0 (-180.0 / +180.0).
shp2text doesn't do any validation on the shape file data, it simply exports the shape vertex coordinates as GPX data. So the lat / lon numbers you are seeing are the coordinates of your original shape file. Are you converting geographical data?
精彩评论