<HTML><BODY DEFANGED_STYLE="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>I'm still struggling a bit with this. I have a text file with the following site information:</DIV><DIV><FONT class="Apple-style-span" face="Times" size="4"><SPAN class="Apple-style-span" DEFANGED_STYLE="font-size: 16px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><SPAN style=""><FONT class="Apple-style-span" face="Times" size="4"><SPAN class="Apple-style-span" DEFANGED_STYLE="font-size: 16px;">-85.74792719|42.98678484</SPAN></FONT></SPAN> </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I use v.in.ascii to generate a vector layer. When I try to display it in my location, I receive an error ("command not found").</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If I set use g.region to set the region to match the vector layer, my point displays. Using g.where to identify the location, I get:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>EAST: NORTH: LON: LAT:</DIV><DIV> -85.76293174 42.98644948 -91.48951223 0.00038771</DIV><DIV><BR class="khtml-block-placeholder"></DIV>So it seems that Grass is trying to interpret my decimal degree locations as northing and easting data. Does that seem to be the case? If so, do I need to include additional parameters in v.in.ascii to get the software to recognize decimal degrees?<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks for any suggestions.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Dave </DIV><DIV><BR><DIV><DIV>On Jul 18, 2005, at 2:35 AM, Hamish wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Dave:</DIV> <BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I'm attempting to us v.in.ascii to import sites.<SPAN class="Apple-converted-space"> </SPAN>Things work fine</DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">when I use Eastings/Northings.<SPAN class="Apple-converted-space"> </SPAN>However, I would like to import</DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">points in latitude/longiture.<SPAN class="Apple-converted-space"> </SPAN>When I attempt to import positions</DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">such as:</DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">85:46:05.14203W | 43:00:07.320715N</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I receive the error message:</DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ERROR: x column is not of number type</DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Is there a way to have the program recognize lat./long as legitimate</DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">entries?</DIV> <BR></BLOCKQUOTE><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Ian:</DIV> <BR><BLOCKQUOTE type="cite"><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Dave (or anyone else),</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I was wondering if you ever found out how to import lat-long data into</DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">grass?<SPAN class="Apple-converted-space"> </SPAN>I would like to do the same thing.</DIV> <BR></BLOCKQUOTE><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">As it stands only numerical data can be used for x,y columns.</DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">It should be possible to change it to try G_scan_easting() and</DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">G_scan_northing() if a coordinate column is of type string, but it</DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">hasn't been done yet.</DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">You'll have to format the data as +/- DDD.DDDDDDD for now.</DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV DEFANGED_STYLE="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hamish</DIV> <BR class="Apple-interchange-newline"></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>