Hi there,<br><br>How are your points spatially distributed? It could that 1) the region you're working with doesn't contain all points or 2) the resolution is so low that the three points are aggregated to one point.<br>
<br>My suggestion would be to do g.region vect=gfa_niep_work to match the region spatially to your vector map and then to set the resolution with g.region res=X to something that you know will place each point in a discrete pixel. Hope that helps!<br>
<br>Best,<br>Daniel<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"></span></p><p>--<br>
</p><p>B.Sc. Daniel Lee<br>Geschäftsführung für Forschung und Entwicklung<br>ISIS - International Solar Information Solutions GbR<br>Vertreten durch: Daniel Lee, Nepomuk Reinhard und Nils Räder<br></p><p>Deutschhausstr. 10<br>
35037 Marburg<br>Festnetz: <a value="+4964213796256" style="color:rgb(28,81,168)">+49 6421 379 6256</a><br>Mobil: <a value="+4917661277269" style="color:rgb(28,81,168)">+49 176 6127 7269</a><br>E-Mail: <a href="mailto:Lee@isi-solutions.org" style="color:rgb(28,81,168)" target="_blank">Lee@isi-solutions.org</a><br>
Web: <a href="http://www.isi-solutions.org/" style="color:rgb(28,81,168)" target="_blank">http://www.isi-solutions.org</a></p><p>ISIS wird gefördert durch die Bundesrepublik Deutschland, Zuwendungsgeber: Bundesministerium für Wirtschaft und Technologie aufgrund eines Beschlusses des Deutschen Bundestages, sowie durch die Europäische Union, Zuwendungsgeber: Europäischer Sozialfonds.<br>
Zusätzliche Unterstützung erhält ISIS von dem Entrepreneurship Cluster Mittelhessen, der Universität Marburg, dem Laboratory for Climatology and Remote Sensing und dem GIS-Lab Marburg.</p><p></p><br>
<br><br><div class="gmail_quote">Am 22. März 2012 11:59 schrieb TheGeographer <span dir="ltr"><<a href="mailto:dalura86@googlemail.com">dalura86@googlemail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi community,<br>
<br>
I'm trying to convert my 3 vector points to raster points. The aim is to use<br>
this raster points as input for r.surf.nnbathy.<br>
<br>
I created a region with following command:<br>
g.region --verbose vect=gfa_niep_work@PERMANENT nsres=1 ewres=1<br>
<br>
This is the output of the region:<br>
<br>
projection: 99 (Transverse Mercator)<br>
zone: 0<br>
datum: potsdam<br>
ellipsoid: bessel<br>
north: 5699460<br>
south: 5698740<br>
west: 3328920<br>
east: 3329940<br>
nsres: 1<br>
ewres: 1<br>
rows: 720<br>
cols: 1020<br>
cells: 734400<br>
<br>
<br>
In the next step I used v.to.rast with following commands:<br>
<br>
v.to.rast --overwrite --verbose input=gfa_niep_work@PERMANENT type=point<br>
output=gfa_niep_rast use=attr column=werte<br>
<br>
The metadata are these:<br>
<br>
+----------------------------------------------------------------------------+<br>
| Layer: gfa_niep_rast@PERMANENT Date: Thu Mar 22 11:49:26 2012<br>
|<br>
| Mapset: PERMANENT Login of Creator: danny<br>
|<br>
| Location: Test<br>
|<br>
| DataBase: /home/danny/GIS<br>
|<br>
| Title: Labels ( gfa_niep_rast@PERMANENT )<br>
|<br>
| Timestamp: none<br>
|<br>
<br>
|----------------------------------------------------------------------------|<br>
|<br>
|<br>
| Type of Map: raster Number of Categories: 0<br>
|<br>
| Data Type: DCELL<br>
|<br>
| Rows: 720<br>
|<br>
| Columns: 1020<br>
|<br>
| Total Cells: 734400<br>
|<br>
| Projection: Transverse Mercator<br>
|<br>
| N: 5699460 S: 5698740 Res: 1<br>
|<br>
| E: 3329940 W: 3328920 Res: 1<br>
|<br>
| Range of data: min = 5.89 max = 5.89<br>
|<br>
|<br>
|<br>
| Data Source:<br>
|<br>
| Vector Map: gfa_niep_work@PERMANENT in mapset PERMANENT<br>
|<br>
| Original scale from vector map: 1:1<br>
|<br>
|<br>
|<br>
| Data Description:<br>
|<br>
| generated by v.to.rast<br>
|<br>
|<br>
|<br>
| Comments:<br>
|<br>
| v.to.rast input="gfa_niep_work@PERMANENT" layer=1 type="point" outpu\<br>
|<br>
| t="gfa_niep_rast@PERMANENT" use="attr" column="werte" value=1 rows=4\<br>
|<br>
| 096<br>
|<br>
|<br>
|<br>
<br>
+----------------------------------------------------------------------------+<br>
<br>
My problem is now that i get only 1 raster point with the value 5.89 instead<br>
of 3 points.<br>
The correct range of the values should be min: 1.853 max: 5.89<br>
<br>
What did i wrong?<br>
<br>
Cheers<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/TIN-Linear-interpolation-from-points-tp4627723p4644182.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/TIN-Linear-interpolation-from-points-tp4627723p4644182.html</a><br>
<div class="im HOEnZb">Sent from the Grass - Users mailing list archive at Nabble.com.<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</div></div></blockquote></div><br>