<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="UTF-8" bgcolor="#ffffff"
text="#000000">
On 08/19/2011 07:34 PM, Moritz Lennert wrote:
<blockquote cite="mid:4E4E9082.4080309@club.worldonline.be"
type="cite">On 19/08/11 18:09, Rich Shepard wrote:
<br>
<blockquote type="cite"> It's been about 18 months since I
converted lon/lat coordinates to
<br>
projected locations, and I need to add 2 more locations to my
analyses and
<br>
maps. I re-read the cs2cs man page but cannot get the conversion
to run. A
<br>
clue stick is appreciated.
<br>
<br>
Here's my script (and I made it executable):
<br>
<br>
cs2cs +proj=longlat +datum=NAD83 +to +proj=lcc +datum=NAD83
+ellps=GRS80
<br>
+lat_1=43.0 +lat_2=45.5 +lat_0=41.75 +lon_0=-120.5 +x_0=400000
+y_0=0
<br>
+nadgrids=WO <<EOF
<br>
<br>
122d30'32.43"W 45d19'19.49"N
<br>
122d30'55.67"N 45d19'36.44"N
<br>
</blockquote>
</blockquote>
<br>
Is this a typo ^^^ ??<br>
<blockquote cite="mid:4E4E9082.4080309@club.worldonline.be"
type="cite">
<blockquote type="cite">122d30'33.14"N 45d23'90.87"N</blockquote>
</blockquote>
again here ^^<br>
<blockquote cite="mid:4E4E9082.4080309@club.worldonline.be"
type="cite">
<blockquote type="cite">
<br>
122d30'17.92"W 45d18'52.45"N
<br>
122d29'34.08"W 45d18'47.16"N
<br>
EOF
<br>
<br>
When I invoke the script it sits there and does nothing. What am
I
<br>
missing?
<br>
</blockquote>
<br>
</blockquote>
<br>
Here's what I get when I changed the degrees to W:<br>
micha@hayun-820:~$ cs2cs +init=epsg:4269 +to +init=epsg:2991
<< EOF<br>
> 122d30'32.43"W 45d19'19.49"N<br>
> 122d30'55.67"W 45d19'36.44"N <br>
> EOF<br>
242511.68 398796.64 0.00<br>
242018.57 399332.13 0.00 <br>
<br>
<blockquote cite="mid:4E4E9082.4080309@club.worldonline.be"
type="cite">There are line breaks at the end of each line of your
command. Erase these line breaks, or put a '\' at the end of each
line:
<br>
<br>
cs2cs +proj=longlat +datum=NAD83 +to +proj=lcc +datum=NAD83
+ellps=GRS80 \
<br>
+lat_1=43.0 +lat_2=45.5 +lat_0=41.75 +lon_0=-120.5 +x_0=400000
+y_0=0 \
<br>
+nadgrids=WO <<EOF
<br>
<br>
<br>
Moritz
<br>
_______________________________________________
<br>
grass-user mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
<br>
<br>
This mail was received via Mail-SeCure System.
<br>
<br>
<br>
</blockquote>
<p><br>
</p>
<br>
<pre class="moz-signature" cols="72">--
Micha Silver
Arava Development Co. +972-52-3665918
<a class="moz-txt-link-freetext" href="http://surfaces.co.il">http://surfaces.co.il</a>
</pre>
</body>
</html>