The lat/long coordinates you get from DB.out.ogr probably comes from your vector attributes, which contains the old coordinates.<div><br></div><div>When you project the data in Grass, the coordinates in the vector geometry are updated but the attribute table is not changed. Try using v.to.db to add the coordinates of each point to the attribute table and then export it using DB.out.ogr.</div><div><br></div><div>Cheers</div><div>Daniel<br><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 9, 2018, 19:54 Rich Shepard <<a href="mailto:rshepard@appl-ecosys.com">rshepard@appl-ecosys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> I have precipitation data for all stations within a county. The geographic<br>
coordinates of the source are lon/lat. These were imported to a lon/lat<br>
directory using v.in.ogr then reprojected (v.proj) to the standard state<br>
projection (EPSG 2838).<br>
<br>
I want to run spatial analyses on these data in R using the state<br>
projection coordinates, so I used db.out.ogr and was surprised to see the<br>
output is still in lon/lat. The project directory's PROJ_INFO led me to<br>
believe the attribute database values should be converted, but they're not.<br>
<br>
Do I run proj.4 on the command line to transform the lon/lat to EPSG 2838<br>
or can I do this within grass7.x?<br>
<br>
Rich<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a></blockquote></div></div>