<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 06/17/2010 08:59 PM, stn wrote:
<blockquote
cite="mid:AANLkTil6PbZHoWiYYLnN9vrnp1kIje4a9QMlVy0nlCUs@mail.gmail.com"
type="cite">Hi,<br>
<br>
I am new to grass and don't really know where to start.<br>
</blockquote>
With the man pages ;-)<br>
<blockquote
cite="mid:AANLkTil6PbZHoWiYYLnN9vrnp1kIje4a9QMlVy0nlCUs@mail.gmail.com"
type="cite"><br>
Please give me some hints on<br>
<br>
1) how to import+project a vector-shapefile (containing one layer of
non-overlapping administrative regions) with unknown
projection+coordinate-system into a database with latitude/longitude<br>
</blockquote>
If you don't know the projection of the source layer, you're pretty
much out of luck. There's no way GRASS (or any GIS for that matter) can
use geographic data without knowing its CRS.<br>
No *.prj attached to the shapefile?? Does it overlap correctly with
other layers of known CRS?? <br>
<blockquote
cite="mid:AANLkTil6PbZHoWiYYLnN9vrnp1kIje4a9QMlVy0nlCUs@mail.gmail.com"
type="cite"><br>
2) how to import+project a e00-rasterfile into the same database
(containing rasterpoints 1kmx1km, each with one scalar property)<br>
</blockquote>
I'm not sure about e00 raster. I think you have to import as a vector
then convert to raster, so:<br>
v.in.e00<br>
then use one of the interpolation modules (i.e. v.surf.rst)<br>
Another way might be to use ogr2ogr to convert the e00 file to an ascii
grid, then import that as a raster.<br>
<blockquote
cite="mid:AANLkTil6PbZHoWiYYLnN9vrnp1kIje4a9QMlVy0nlCUs@mail.gmail.com"
type="cite"><br>
3) how to export an ascii/excel/csv-list of every raster-point with a)
the corresponding scalar and b) the administrative region and c) the
coordinates lat/long of the raster-point <br>
<br>
</blockquote>
r.out.xyz does that<br>
<br>
<blockquote
cite="mid:AANLkTil6PbZHoWiYYLnN9vrnp1kIje4a9QMlVy0nlCUs@mail.gmail.com"
type="cite">I could not import because the files be imported have a
different coordinate system and import was refused because of that.<br>
<br>
I tried to google for a commandline/gui-program that reprojects, found
a few like shpproj, g.proj, m.proj, none of which seem to have anything
to do with reprojecting a shape-file.<br>
<br>
</blockquote>
If you do find the correct projection of the original shapefile, then
you'll need to create two GRASS locations: one defined by the
projection of the shapefile, and the second defined by Lon/Lat WGS84 .
Then you <br>
* import the shapefile into the Location that matches its projection<br>
* switch to the target (WGS84) Location <br>
* and from there, you run v.proj to reproject into the target
projection. <br>
<blockquote
cite="mid:AANLkTil6PbZHoWiYYLnN9vrnp1kIje4a9QMlVy0nlCUs@mail.gmail.com"
type="cite">I use grass 6.4 on windows (linux is fine too) and have
already created a workspace fitted for germany with
lat/long-coordinates in an appropriate resolution.<br>
<br>
</blockquote>
Keep us posted on your progress.<br>
<blockquote
cite="mid:AANLkTil6PbZHoWiYYLnN9vrnp1kIje4a9QMlVy0nlCUs@mail.gmail.com"
type="cite">Thanks<br>
stn<br>
<div style="visibility: hidden; display: inline;"
id="avg_ls_inline_popup"></div>
<style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style><br>
This mail was received via Mail-SeCure System.<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<br>
<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>