tag:blogger.com,1999:blog-348973232008-08-27T00:41:38.919+02:00GFOSS - Free Software GIS at your fingertipsmarkusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comBlogger41125tag:blogger.com,1999:blog-34897323.post-11486758391660142352008-06-28T14:31:00.005+02:002008-07-06T21:22:23.603+02:00OGR vector data tips and tricks<span style=";font-family:arial;font-size:180%;" >Get vector map extent<br /><span style="font-size:100%;">You can easily grep the map extent of a vector map (bounding box):</span><br /></span><span style="font-family: courier new;font-family:arial;" >ogrinfo /cdrom/ITALY_GC.SHP ITALY_GC | grep Extent</span><br /><span style="font-family: courier new;font-family:arial;" >Extent: (9.299460, 43.787362) - (13.911350, 47.070188)</span><br /><br /><span style="font-family:arial;"><span style="font-size:180%;">M</span></span><span style=";font-family:arial;font-size:180%;" >erge of two SHAPE files</span><span style="font-family:arial;"><br />M</span><span style="font-family:arial;">erge of two SHAPE files </span><span style="font-family:arial;">'file1.shp' and 'file2.shp' into a new</span><span style="font-family:arial;"> file 'file_merged.shp' is performed like this:</span><br /><span style="font-family: courier new;font-family:arial;" >ogr2ogr file_merged.shp file1.shp</span><br /><span style="font-family: courier new;font-family:arial;" >ogr2ogr -update -append file_merged.shp file2.shp -nln file_merged file2</span><br /><br /><span style="font-family:arial;">The second command is opening <span style="font-weight: bold;">file_merged.shp</span> in update mode, and trying to</span><span style="font-family:arial;"> find existing layers and append the features being copied.</span><span style="font-family:arial;"> The <span style="font-weight: bold;">-nln</span> option sets the name of the layer to be copied to.<br /><br /></span><span style=";font-family:arial;font-size:180%;" >Vector map reprojection</span><br /><span style="font-family:arial;">We reproject from the source projection (as defined in .prj file) to WGS84/LL:</span><br /><span style="font-family:arial;"><span style="font-family:courier new;">ogr2ogr vmap0rd_ll.shp -t_srs "EPSG:4326" vmap0rd.shp</span><br /><br /></span><span style="font-family:arial;">If the .prj file is missing, you can use the 'epsg_tr.py' utility</span><span style="font-family:arial;"> to create it if you know the EPSG code:</span><br /><span style="font-family: courier new;font-family:arial;" >epsg_tr.py -wkt 4326 > cities.prj</span><br /><br /><span style="font-family:arial;">Reproject to current GRASS location projection:</span><br /><span style="font-family: courier new;font-family:arial;" >ogr2ogr -t_srs "`g.proj -wf`" polbnda_italy_GB_ovest.shp polbnda_italy_LL.shp</span><br /><br /><span style="font-family:arial;"><span style="font-size:180%;">Cut out a piece of a vector map</span><br />Use </span><span style="font-family:arial;">spatial query extents: </span><span style="font-family:arial;">-spat xmin ymin xmax ymax (</span><span style="font-family:arial;">W S E N)</span><br /><span style="font-family: courier new;font-family:arial;" >ogr2ogr ARC_BZ.shp -spat 10 45 13 47 ARC.shp</span><br /><br /><span style=";font-family:arial;font-size:180%;" >Get VMAP0 metadata info</span><br /><span style="font-family: courier new;font-family:arial;" >ogrinfo -ro gltp:/vrf/grass0/warmerdam/v0soa/vmaplv0/soamafr</span><br /><span style="font-family: courier new;font-family:arial;" >ogrinfo -ro gltp:/vrf/grass0/warmerdam/v0soa/vmaplv0/soamafr | grep bnd</span><br /><span style="font-family: courier new;font-family:arial;" >ogrinfo -ro gltp:/vrf/grass0/warmerdam/v0soa/vmaplv0/soamafr 'polbnda@bnd(*)_area'</span><br /><span style="font-family: courier new;font-family:arial;" >ogrinfo -ro gltp:/vrf/grass0/warmerdam/v0eur/vmaplv0/eurnasia 'roadl@trans(*)_line'</span><br /><br /><span style=";font-family:arial;font-size:180%;" >MAP0: Extract spatial subregion, reproject from NAD83 to WGS84</span><br /><span style="font-family:arial;"># coordinate order: W S E N</span><br /><span style="font-family: courier new;font-family:arial;" >ogr2ogr -spat 19.95035 -26.94755 29.42989 -17.72624 -t_srs 'EPSG:4326' \</span><br /><span style="font-family: courier new;font-family:arial;" >polbnda_botswana.shp gltp:/vrf/grass0/warmerdam/v0soa/vmaplv0/soamafr \</span><br /><span style="font-family: courier new;font-family:arial;" >'polbnda@bnd(*)_area'</span><br /><br /><span style="font-family:arial;"><span style="font-size:180%;">OGR and SQL</span><br />Sample 'where' statements (use -sql for PostgreSQL driver):</span><br /><span style="font-family:arial;"># -where 'fac_id in (195,196)'</span><br /><span style="font-family:arial;"># -where 'fac_id = 195'</span><br /><span style="font-family: courier new;font-family:arial;" >ogrinfo -ro -where 'fac_id in (195,196)' \</span><br /><span style="font-family: courier new;font-family:arial;" >gltp:/vrf/grass0/warmerdam/v0soa/vmaplv0/soamafr 'polbnda@bnd(*)_area'</span><br /><br /><span style=";font-family:arial;font-size:180%;" >Find out the Countries VMAP0 coding</span><br /><span style="font-family: courier new;font-family:arial;" >ogdi_info -u gltp:/vrf/grass0/warmerdam/v0soa/vmaplv0/soamafr \</span><br /><span style="font-family: courier new;font-family:arial;" > -l 'polbnda@bnd(*)_area' -f area | grep Botswana</span><br /><span style="font-family:arial;">or read the <a href="http://164.214.2.59/publications/specs/printed/89039/PRF_8903.PDF">VMAP0 Military specs</a>, page 75pp </span><br /><br /><span style="font-family:arial;">Extract Botswana, reproject on the fly from NAD83 to WGS84, store as SHAPE:</span><br /><span style="font-family: courier new;font-family:arial;" >ogr2ogr -t_srs "EPSG:4326" -where "na2 = 'BC'" polbnda_botswana.shp \</span><br /><span style="font-family: courier new;font-family:arial;" >gltp:/vrf/grass0/warmerdam/v0soa/vmaplv0/soamafr 'polbnda@bnd(*)_area'</span><br /><br /><span style="font-family:arial;">Extract Germany, reproject on the fly from NAD83 to WGS84, store as SHAPE:</span><br /><span style="font-family: courier new;font-family:arial;" >ogr2ogr -t_srs "EPSG:4326" -where "na2 = 'GM'" polbnda_germany.shp</span><br /><span style="font-family: courier new;font-family:arial;" >gltp:/vrf/grass0/warmerdam/v0eur/vmaplv0/eurnasia 'polbnda@bnd(*)_area'</span><br /><span style="font-family: courier new;font-family:arial;" >ogrinfo -summary polbnda_germany.shp polbnda_germany | grep Extent</span><br /><span style="font-family:arial;"># Extent: (5.865639, 47.275776) - (15.039889, 55.055637)</span><br /><span style="font-family:arial;"># W S E N</span><br /><br /><span style="font-family:arial;">VMAP0 Contour lines for Germany:</span><br /><span style="font-family: courier new;font-family:arial;" >ogr2ogr -t_srs "EPSG:4326" -spat 5.865639 47.275776 15.039889 55.055637 \</span><br /><span style="font-family: courier new;font-family:arial;" >contour_lines.shp \</span><br /><span style="font-family: courier new;font-family:arial;" >gltp:/vrf/grass0/warmerdam/v0eur/vmaplv0/eurnasia 'contourl@elev(*)_line'</span><br /><br /><span style="font-family:arial;">VMAP0 elevation spots (points) for Germany:</span><br /><span style="font-family: courier new;font-family:arial;" >ogr2ogr -t_srs "EPSG:4326" -spat 5.865639 47.275776 15.039889 55.055637 \</span><br /><span style="font-family: courier new;font-family:arial;" >elevation_spots.shp \</span><br /><span style="font-family: courier new;font-family:arial;" >gltp:/vrf/grass0/warmerdam/v0eur/vmaplv0/eurnasia 'elevp@elev(*)_point'</span><br /><br /><span style="font-family:arial;">VMAP0 lakes of Trentino province in Italy</span><br /><span style="font-family: courier new;font-family:arial;" >ogr2ogr -t_srs "EPSG:4326" -where "na2 = 'IT'" \</span><br /><span style="font-family: courier new;font-family:arial;" >-spat 10.340029 45.261888 10.98727 45.98993 \</span><br /><span style="font-family: courier new;font-family:arial;" >lakes_italy.shp \</span><br /><span style="font-family: courier new;font-family:arial;" >gltp:/vrf/grass0/warmerdam/v0eur/vmaplv0/eurnasia 'inwatera@hydro(*)_area'</span><br /><br /><span style=";font-family:arial;font-size:180%;" ></span><span style=";font-family:arial;font-size:180%;" >Connect OGR and PostgreSQL/PostGIS</span><br /><span style="font-family: courier new;font-family:arial;" >ogrinfo PG:'host=grass.itc.it user=postgres dbname=ogc_simple'</span><br /><span style="font-family: courier new;font-family:arial;" >ogr2ogr out.shape PG:'host=grass.itc.it user=postgres dbname=ogc_simple' lake_geom</span><br /><br /><span style="font-size:180%;"><span style="font-family:arial;">G</span></span><span style=";font-family:arial;font-size:180%;" >RASS 6 and OGR</span><span style="font-size:180%;"><br /></span><span style="font-family:arial;">Convert GRASS 6 vector map to SHAPE (needs GDAL-OGR-GRASS plugin):</span><br /><span style="font-family:arial;"># -nln is "new layer name" for the result:</span><br /><span style="font-family: courier new;font-family:arial;" >ogr2ogr archsites.shp grassdata/spearfish60/PERMANENT/vector/archsites/head 1 \</span><br /><span style="font-family: courier new;font-family:arial;" >-nln archsites</span><br /><span style="font-family:arial;"><br /></span><span style="font-family:arial;"></span><span style=";font-family:arial;font-size:180%;" >Using WKT files with ogr2ogr</span><br /><span style="font-family:arial;">The definition is in ESRI WKT format. If you save it</span><span style="font-family:arial;"> to a text file called out.wkt you can do the following in</span><span style="font-family:arial;"> a translation to reproject input latlong points to this</span><span style="font-family:arial;"> coordinate system:</span><br /><span style="font-family: courier new;font-family:arial;" >ogr2ogr -s_srs WGS84 -t_srs ESRI::out.wkt out_dir indatasource</span><br /><br /><span style="font-family:arial;">Most comand line options for GDAL/OGR tools that accept a</span><span style="font-family:arial;"> coordinate system will allow you to give the name of a file</span><span style="font-family:arial;"> containing WKT. And if you prefix the filename with <span style="font-style: italic;">ESRI::</span></span><span style="font-family:arial;"> the library will interprete the WKT as being ESRI WKT and</span><span style="font-family:arial;"> convert to "standard" format accordingly. The <span style="font-weight: bold;">-s_srs</span> switch</span><span style="font-family:arial;"> is assigning a source coordinate system to your input data</span><span style="font-family:arial;"> (in case it didn't have this properly defined already), and the</span><span style="font-family:arial;"> <span style="font-weight: bold;">-t_srs</span> is defining a target coordinate system to reproject to.</span><br /><br /><span style=";font-family:arial;font-size:180%;" >T</span><span style=";font-family:arial;font-size:180%;" >IGER files in OGR</span><br /><span style="font-family:arial;"># linear features:</span><br /><span style="font-family: courier new;font-family:arial;" >ogr2ogr tiger_lines.shp tgr46081.rt1 CompleteChain</span><br /><br /><span style="font-family:arial;"># area features:</span><br /><span style="font-family: courier new;font-family:arial;" >export PYTHONPATH=/usr/local/lib/python2.5/site-packages</span><br /><span style="font-family: courier new;font-family:arial;" >tigerpoly.py tgr46081.rt1 tiger_area.shp</span><br /><br /><span style="font-family:arial;"><span style="font-size:180%;">OGR CSV driver: easily indicate column types</span><br />You can now write a little csv help file to indicate</span><span style="font-family:arial;"> the columns types to OGR.</span><span style="font-family:arial;"> It works as follow :</span><br /><span style="font-family:arial;">Suppose you have a <span style="font-weight: bold;">foobar.csv</span> file that looks like this:</span><br /><span style="font-family: courier new;font-family:arial;" >"ID","X","Y","AREA","NAME"</span><br /><span style="font-family: courier new;font-family:arial;" >"1","1023.5","243.56","675","FOOBAR"</span><br /><span style="font-family: courier new;font-family:arial;" >...</span><br /><span style="font-family:arial;"><br />Now write a <span style="font-weight: bold;">foobar.csvt</span> file like this one:</span><br /><span style="font-family: courier new;font-family:arial;" >"Integer","Real","Real","Integer","String"</span><br /><span style="font-family:arial;">The driver will then use the types you specified for the csv columns.</span><span style="font-family:arial;"> The types recognized are Integer, Real and String, DateTime, and Date.</span><br /><br /><span style=";font-family:arial;font-size:180%;" >Convert KML to CSV (WKT)</span><br /><span style="font-family:arial;">First find layers:</span><br /><span style="font-family: courier new;font-family:arial;" >ogrinfo -so myfile.kml</span><br /><span style="font-family:arial;"><br />Then convert KML to CSV:</span><br /><span style="font-family: courier new;font-family:arial;" >ogr2ogr -f CSV out.csv myfile.kml -sql "select *,OGR_GEOM_WKT from myfilelayer"</span><br /><span style="font-family: courier new;font-family:arial;" >cat out.csv</span><br /><br /><span style="font-family:arial;">Or use the cool online converter: <a href="http://geoconverter.hsr.ch/">http://geoconverter.hsr.ch</a></span>markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-3409382632958005722008-06-28T13:57:00.003+02:002008-07-08T23:18:45.121+02:00GDAL raster data tips and tricks<span style=";font-family:arial;font-size:180%;" >Reading GRASS data through GDAL/OGR support</span><br /><br /><span style="font-family:arial;">Example 1: We write out a GRASS raster map to GeoTIFF -- this format </span><br /><span style="font-family:arial;">includes the coordinates within the file's metadata:</span><br /><br /><span style="font-family:courier new;">gdal_translate -of Gtiff /usr/local/share/grassdata/spearfish/PERMANENT/cellhd/soils soilmap.tif</span><br /><br /><span style="font-family:courier new;">ogr2ogr roadsmap.shp /usr/local/share/grassdata/spearfish/PERMANENT/vector/roads/head</span><br /><br /><span style="font-size:180%;"><span style="font-family:arial;">Fast image display with tiling</span></span><br /><span style="font-family:arial;">If you want fast access you might want to try converting e.g. a BIL</span><span style="font-family:arial;"> files to a tiled TIFF, and build overviews. You can build overviews for</span><span style="font-family:arial;"> BIL too, but it can't be directly tiled:</span><br /><br /><span style="font-family:arial;"># add -co "PROFILE=BASELINE" for TIF/TFW</span><br /><span style="font-family:courier new;">gdal_translate source_bil global30.tif -co "TILED=YES" -co "TFW=YES" -co "PROFILE=BASELINE"</span><br /><span style="font-family:courier new;">gdaladdo global30.tif 2 4 8 16</span><br /><br /><span style=";font-family:arial;font-size:180%;" >GDAL performance problem?</span><br /><span style="font-family:arial;">GDAL_CACHEMAX is normally a number of megabytes (default is 10 or so). </span><span style="font-family:arial;">So something like:</span><br /><span style="font-family:courier new;">gdal_translate -of GTIFF -co TILED=YES --config GDAL_CACHEMAX 120 madison_1f_01.jpg madison_1f_01.tif</span><br /><span style="font-family:arial;">would use a 120MB cache.</span><br /><br /><span style="font-size:180%;"><span style="font-family:arial;">GDAL and 1 bit maps</span></span><br /><span style="font-family:courier new;"><span style="font-family:arial;">With a trick you can get those:</span><br />gdal_merge.py -co NBITS=1 -o dst.tif src.tif</span><br /><br /><span style="font-family:arial;"></span><span style="font-family:arial;"></span><br /><span style="font-size:180%;"><span style="font-family:arial;">Generate 8 bit maps for Mapserver</span></span><br /><span style="font-family:arial;"></span><span style="font-family:arial;"></span><span style="font-family:courier new;"> gdal_translate -scale in.tif out.tif</span><br /><span style="font-family:arial;">Note: As of MapServer 4.4 support has been added for classifying non-8bit raster inputs<br /><br /></span><span style="font-size:180%;"><span style="font-family:arial;">Greyscale conversion</span></span><br /><span style="font-family:arial;">A "proper" conversion would involve a colorspace transformation on</span><span style="font-family:arial;"> the RGB image into IHS or something like that, and then taking the intensity. GRASS can do things like that.</span><br /><br /><span style="font-size:180%;"><span style="font-family:arial;">Generate an OGC WKT (SRS)</span></span><br /><span style="font-family:arial;">In WKT the ellipsoid is described by two parameters: the semi-major</span><span style="font-family:arial;"> axis and the inverse flattening. For a sphere the flattening is 0 and so the</span><span style="font-family:arial;"> inverse flattening is infinity.</span><br /><br /><span style="font-family:arial;"># in the GDAL source code:</span><br /><span style="font-family:courier new;">cd apps<br />make testepsg</span><br /><span style="font-family:courier new;"></span><span style="font-family:arial;"><span style="font-family:courier new;">./testepsg '+proj=lcc +lat_1=35 +lat_2=65 +lat_0=52 +lon_0=10 +x_0=4000000 +y_0=2800000 +ellps=GRS80 +units=m'</span><br /><span style="font-family:courier new;">Validate Succeeds.</span><br /><span style="font-family:courier new;">WKT[+proj=lcc +lat_1=35 +lat_2=65 +lat_0=52 +lon_0=10 +x_0=4000000 +y_0=2800000 +ellps=GRS80 +units=m] =</span><br /><span style="font-family:courier new;">PROJCS["unnamed",</span><br /><span style="font-family:courier new;"> GEOGCS["GRS 1980(IUGG, 1980)",</span><br /><span style="font-family:courier new;"> DATUM["unknown",</span><br /><span style="font-family:courier new;"> SPHEROID["GRS80",6378137,298.257222101]],</span><br /><span style="font-family:courier new;"> PRIMEM["Greenwich",0],</span><br /><span style="font-family:courier new;"> UNIT["degree",0.0174532925199433]],</span><br /><span style="font-family:courier new;"> PROJECTION["Lambert_Conformal_Conic_2SP"],</span><br /><span style="font-family:courier new;"> PARAMETER["standard_parallel_1",35],</span><br /><span style="font-family:courier new;"> PARAMETER["standard_parallel_2",65],</span><br /><span style="font-family:courier new;"> PARAMETER["latitude_of_origin",52],</span><br /><span style="font-family:courier new;"> PARAMETER["central_meridian",10],</span><br /><span style="font-family:courier new;"> PARAMETER["false_easting",4000000],</span><br /><span style="font-family:courier new;"> PARAMETER["false_northing",2800000],</span><br /><span style="font-family:courier new;"> UNIT["Meter",1]]</span><br /><br /><span style="font-family:courier new;">Simplified WKT[+proj=lcc +lat_1=35 +lat_2=65 +lat_0=52 +lon_0=10 +x_0=4000000 +y_0=2800000 +ellps=GRS80 +units=m] =</span><br /><span style="font-family:courier new;">PROJCS["unnamed",</span><br /><span style="font-family:courier new;"> GEOGCS["GRS 1980(IUGG, 1980)",</span><br /><span style="font-family:courier new;"> DATUM["unknown",</span><br /><span style="font-family:courier new;">[..]</span><br /><br /></span><br /><span style="font-size:180%;"><span style="font-family:arial;">Extracting spatial subset (subregion)</span></span><br /><span style="font-family:courier new;"> W N E S</span><br /><span style="font-family:courier new;"> gdal_translate -of GTiff -projwin 636861 5152686 745617 5054047.5 \</span><br /><span style="font-family:courier new;"> p192r28_5t19920809_nn1.tif test1_utm.tif</span><br /><br /><span style="font-family:arial;"></span><br /><span style="font-family:arial;"><span style="font-size:180%;"><span style="font-family:arial;">Fixing broken projection/datum info for raster data</span></span><br /></span><span style="font-family:courier new;">gdal_translate -of HFA -a_srs epsg:32735 /cdrom/173072lsat.img \</span><br /><span style="font-family:courier new;"> 173072lsat_fixed.img</span><br /><br /><span style="font-family:courier new;"># or, using a WKT file</span><br /><span style="font-family:courier new;">gdal_translate -of HFA -a_srs file.prj /cdrom/173072lsat.img \</span><br /><span style="font-family:courier new;"> 173072lsat_fixed.img</span><br /><br /><span style="font-size:180%;">M<span style="font-family:arial;">erge various import maps, re-project on the fly and extract spatial subset</span><span style="font-family:arial;"> according to current GRASS region</span></span><br /><span style="font-family:courier new;">eval `g.region -g`</span><br /><span style="font-family:courier new;">gdalwarp -te $w $s $e $n *.TIF \</span><br /><span style="font-family:courier new;"> srtm_cgiar3_italy_north_LL.tif</span><br /><br /><br /><span style="font-size:180%;">E<span style="font-family:arial;">xport to (limited) TIFF readers such as ArcView, or ImageMagick</span></span><br /><span style="font-family:arial;">Many tools have trouble reading multi-band TIFFs with "band interleaving", the</span><span style="font-family:arial;"> GDAL output default. Best is to use the INTERLEAVE=PIXEL </span><span style="font-family:arial;">creation option. J</span><span style="font-family:arial;">ust</span><span style="font-family:arial;"> add to the gdal_translate command line:</span><br /><span style="font-family:courier new;"> -co INTERLEAVE=PIXEL</span><br /><br /><span style="font-size:180%;"><span style="font-family:arial;">Inserting metadata (metadata tags)</span></span><br /><span style="font-family:courier new;">gdal_translate -outsize 37.5% 37.5% \</span><br /><span style="font-family:courier new;"> -mo TIFFTAG_XRESOLUTION=300 -mo TIFFTAG_YRESOLUTION=300 \</span><br /><span style="font-family:courier new;"> in.tif out.tif</span><br /><br /><span style="font-size:180%;"><span style="font-family:arial;">Raster map reprojection (warping)</span></span><br /><span style="font-family:arial;"></span><span style="font-family:arial;"></span><span style="font-family:courier new;"> gdalwarp -t_srs '+init=epsg:26591 +towgs84=-225,-65,9' test1.tif \</span><br /><span style="font-family:courier new;"> test1_gb.tif</span><br /><br /><span style="font-size:180%;"><span style="font-family:arial;">Reprojecting external map to current GRASS location externally</span></span><br /><span style="font-family:courier new;">gdalwarp -t_srs "`g.proj -wf`" aster.tif aster_tmerc.tif</span><br /><br /><span style="font-family:arial;"><span style="font-size:180%;">Cut out region of interest with gdalwarp (in target coords)</span><br /></span><span style="font-family:courier new;"><span style="font-family:arial;">Add to command line:</span><br />-te W S E N <-- damn order, differs from -projwin!!</span><br /><br /><span style="font-size:180%;"><span style="font-family:arial;">Merging many small adjacent DEMs into one big map (A)</span></span><br /><span style="font-family:arial;">This needs GDAL compiled with Python and numpy installed:<br /></span><span style="font-family:courier new;"># if not installed in standard site-packages directory<br />export PYTHONPATH=/usr/local/lib/python2.5/site-packages<br />gdal_merge.py -v -o spearfishdem.tif -n "-32768" d*.tif</span><br /><br /><span style="font-size:180%;"><span style="font-family:arial;">Merging many small adjacent DEMs into one big map (B)</span></span><br /><span style="font-family:arial;">Even easier, just use gdalwarp:<br /></span><span style="font-family:courier new;">gdalwarp C_1mX1m/dtm*.tif big.tif</span><span style="font-family:arial;"><br /></span><span style="font-family: arial;">Or just a few tiles:</span><br /><span style="font-family:courier new;">gdalwarp C_1mX1m/dtm0010[4-5]* big_selection.tif</span><span style="font-size:180%;"><span style="font-family:arial;"><br /></span></span><br /><span style="font-size:180%;"><span style="font-family:arial;">M</span><span style="font-family:arial;">erge</span><span style="font-family:arial;"> various map/bands i</span><span style="font-family:arial;">nto a RGB composite</span></span><br /><span style="font-family:courier new;">gdal_merge.py -of HFA -separate band1.img band2.img band3.img -o out.img</span><br /><br /><span style=";font-family:arial;font-size:180%;" >G</span><span style=";font-family:arial;font-size:180%;" >DAL gdalwarp interpolation comments</span><br /><span style="font-family:arial;">Which method -rn, rb, -rc or -rcs should one</span><span style="font-family:arial;"> use for DEM and which for data like e.g. Landsat TM reprojecting?</span><br /><span style="font-family:arial;"> </span><br /><span style="font-family:arial;">-tps: Enable use of thin plate spline transformer based on available GCPs. </span><br /><span style="font-family:arial;">-rn: Use nearest neighbour resampling (default, fastest algorithm, worst interpolation quality). </span><br /><span style="font-family:arial;">-rb: Use bilinear resampling. </span><br /><span style="font-family:arial;">-rc: Use cubic resampling. </span><br /><span style="font-family:arial;">-rcs: Use cubic spline resampling (slowest algorithm).</span><br /><span style="font-family:arial;"> </span><br /><span style="font-family:arial;">FrankW suggests:</span><span style="font-family:arial;"></span><br /><span style="font-style: italic;font-family:arial;" >I would suggest <span style="font-weight: bold;">-rb</span> for DEMs, and <span style="font-weight: bold;">one of the cubic kernels</span> for landsat data. Of course, there are various factors that you should take into account. Using <span style="font-weight: bold;">-rb</span> (bilinear) for the DEM will perform local averaging of the nearby pixel values in the source. This give reasonable results without introducing any risky "overshoot" effects you might see with <span style="font-weight: bold;">cubic</span> that could be disturbing for analysis or visualization in a DEM. The <span style="font-weight: bold;">cubic</span> should in theory do better at preserving edges and general visual crispness than using <span style="font-weight: bold;">bilinar</span> or <span style="font-weight: bold;">nearest neighbour</span>. However, if you are wanting to do analysis with the landsat (such as multispectral classification) I would suggest just using <span style="font-weight: bold;">-rn</span> (nearest neighbour) so as to avoid causing odd effects to the spectral values.</span><br /><span style="font-style: italic;font-family:arial;" >Nobody can't tell you what method should be used in your case. Generally speaking, in the case of upsampling spline and cubic interpolators are more suitable (<span style="font-weight: bold;">-rcs</span> and <span style="font-weight: bold;">-rc</span>). In the case of downsampling and the same resolution it is completely up to you what method looks better. Just try them all and select the one which is most appropriate for you.</span><br /><span style="font-family:arial;"></span><br /><span style="font-size:180%;"><span style="font-family:arial;">Geocoding with 'gdal_translate'</span></span><span style="font-family:arial;"><br />FrankW suggests:<span style="font-style: italic;"><br />As far as I know there is not on-screen method for doing this, but it</span></span><span style="font-style: italic;font-family:arial;" > certainly isn't too difficult with a little bit of semi-manual work. Open two OpenEV views, one with the unreferenced image, one with the geo-reference base you want to use. Move your cursor over the non-referenced one (let's call it image1), record (read: write down!) the pixel x,y values. Then look at the same location in image2. Write down the geocoordinate for the pixel. You should have four numbers for each location you want to pin the image to. And so on and so on. Then use gdal_translate to translate image1.tif to image1_georefd.tif but adding the -GCP parameter for each set of coordinates. Like so...</span><br /><br /><span style="font-family:courier new;">gdal_translate -gcp 1 1 500000 5000000 \<br />-gcp 200 400 550000 5250000 image1.tif \<br />image1_geo.tif</span><br /><br /><span style=";font-family:arial;font-size:180%;" >Reading HDF ASTER</span><br /><span style="font-family:arial;"> gdalinfo pg-PR1B0000-2002031402_100_001</span><br /><span style="font-family:arial;"><br />To select a channel and warp to UTM (or whatever is inside):</span><br /><span style="font-family:arial;"> gdalwarp HDF4_SDS:ASTER_L1B:"pg-PR1B0000-2002031402_100_001":2 aster_2.tif</span><br /><span style="font-family:arial;"> gdalinfo aster_2.tif</span><br /><span style="font-family:arial;"><br /></span><span style="font-family:arial;"></span>markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-91917043100902923692008-06-06T19:57:00.000+02:002008-06-06T20:01:33.683+02:00GDAL/OGR 1.5.2 releasedA new <a href="http://lists.osgeo.org/pipermail/gdal-dev/2008-June/017328.html">bugfix release of GDAL/OGR</a> (now at V1.5.2) was released today. This <span style="font-family:monospace;"></span>stable branch bug fix release fixes 37 issues in various drivers.markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-49642795722043825892008-06-04T22:25:00.005+02:002008-06-05T00:44:59.031+02:00Impressive GRASS GIS Web site statisticsJust to update you on the <a href="http://grass.osgeo.org/logs-bin/awstats.pl?month=05&amp;year=2008&amp;output=main&amp;config=grass.osgeo.org&amp;framename=index">GRASS Web statistics</a> development, here the <a href="http://grass.osgeo.org/">grass.osgeo.org</a> statistics (remember, we have MANY <a href="http://grass.osgeo.org/mirrors.php">mirror</a> sites):<br /><br /><span style="font-style: italic;font-family:courier new;font-size:100%;" >Month Unique Number Pages Hits Bandwidth<br /> </span><span style="font-style: italic;font-family:courier new;font-size:100%;" >visitors </span><span style="font-style: italic;font-family:courier new;font-size:100%;" >of<br /> </span><span style="font-style: italic;font-family:courier new;font-size:100%;" >visits</span><br /><span style=";font-family:courier new;font-size:100%;" >Jan 2008 39223 74088 291166 715946 101.23 GB</span><span style=";font-family:courier new;font-size:100%;" ><br /></span><span style=";font-family:courier new;font-size:100%;" >Feb 2008 38984 74043 218314 623770 107.09 GB</span><span style=";font-family:courier new;font-size:100%;" ><br /></span><span style=";font-family:courier new;font-size:100%;" >Mar 2008 40674 73389 223666 621816 107.04 GB</span><span style=";font-family:courier new;font-size:100%;" ><br /></span><span style=";font-family:courier new;font-size:100%;" >Apr 2008 5490 15702 135134 403726 220.87 GB</span><span style=";font-family:courier new;font-size:100%;" ><br /></span><span style=";font-family:courier new;font-size:100%;" ><span style="font-weight: bold;">May</span> 2008 <span style="font-weight: bold;">20613</span> <span style="font-weight: bold;">104556</span> <span style="font-weight: bold;">912263</span> <span style="font-weight: bold;">2242942</span> <span style="font-weight: bold;">1442.31</span> GB</span><br /><br /><span style="font-size:78%;">(this includes of course search engine traffic)</span><br /><br />It appears that many visitors came back in May who downloaded the long awaited <a href="http://grass.osgeo.org/announces/announce_grass630.html">GRASS 6.3.0 release</a> from 23 Apr 2008.<br /><br />Some outstanding hits for May (views, only <a href="http://grass.osgeo.org/">grass.osgeo.org</a>):<br /><span style=";font-family:courier new;font-size:85%;" >10095 /grass63/binary/mswindows/native/</span><span style="font-size:85%;"><br /></span><span style=";font-family:courier new;font-size:85%;" > 3271 /grass63/binary/mswindows/native/WinGRASS-6.3.0-Setup.exe</span><span style="font-size:85%;"><br /></span><br /><br />This points out of obvious need for a portable, in this case also MS-Windows compliant GIS which GRASS 6.3.0 now is! Fetch <a href="http://grass.osgeo.org/grass63/binary/mswindows/native/">native winGRASS with installer</a> or <a href="http://grass.osgeo.org/grass63/binary/macosx/">GRASS for MacOSX</a> or <a href="http://grass.osgeo.org/download/index.php#g63x">GRASS for Linux</a> or ...markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-20645618892597606302008-05-24T00:26:00.000+02:002008-05-24T00:27:54.324+02:00d.vect: support for z height (geometry) colors added<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_bKACv3pysVg/SDc-wQeUo6I/AAAAAAAAAAk/hK1CsDYPQoY/s1600-h/dvect_colorlines.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp2.blogger.com/_bKACv3pysVg/SDc-wQeUo6I/AAAAAAAAAAk/hK1CsDYPQoY/s200/dvect_colorlines.png" alt="" id="BLOGGER_PHOTO_ID_5203696893226689442" border="0" /></a><br /><br />After getting mad with Lidar points colorizing which till now<br />required a DB table with GRASSRGB attributes, I have<br />modified d.vect to support colors directly from z height (geometry).<br />Works for 3D points, lines (eg, 3D contours) and 3D polygons<br />(eg delaunay triangles):<p># Spearfish:<br />g.region rast=elevation.10m<br />r.random elevation.10m n=5000 vector=random3d -d<br />d.mon x0<br /># display as black points<br />d.vect random3d<br /># display 3D points colorized according to z height<br />d.vect -z random3d zcol=gyr</p><p># 3D contour lines<br />r.contour elevation.10m out=contour20m step=20<br />d.vect -z contour20m zcol=gyr</p><p># generate 3D triangles<br />v.delaunay random3d out=random3d_del<br /># display 3D polygons colorized according to z height<br />d.vect -z random3d_del type=area zcol=gyr</p><p>Enjoy,<br />Markus</p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_bKACv3pysVg/SDc-OgeUo5I/AAAAAAAAAAc/HFmyfYrghU8/s1600-h/dvect_colorpoints.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp3.blogger.com/_bKACv3pysVg/SDc-OgeUo5I/AAAAAAAAAAc/HFmyfYrghU8/s200/dvect_colorpoints.png" alt="" id="BLOGGER_PHOTO_ID_5203696313406104466" border="0" /></a>markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-86142123942216669412008-04-26T16:47:00.000+02:002008-04-26T16:49:40.955+02:00Can I do the same GIS tasks with OS (as with ESRI)Another nice recent OSGeo discussion: <a href="http://lists.osgeo.org/pipermail/discuss/2008-April/thread.html#3443"><span style="font-size:100%;">Can I do the same GIS tasks with OS (as with ESRI)?</span></a>markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-85049475206629633512008-04-26T16:45:00.000+02:002008-04-26T16:47:40.588+02:00Proposal: OSGeo Cartographic LibraryGRASS, QGIS and others are in the need of their own map printing tools for high quality output but these projects should not start from scratch. There is a wealth of underlying code already in Mapserver, Mapguide etc which could be re-used in the terms of their respective licenses and certainly of programming language compatibility. A joint <a href="http://wiki.osgeo.org/wiki/OSGeo_Cartographic_Library">OSGeo Cartographic Library</a> comes to mind.<br /><br />See also the ongoing <a href="http://lists.osgeo.org/pipermail/discuss/2008-April/thread.html#3337">related discussion</a>!markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-66467668113412354992008-04-24T18:05:00.002+02:002008-04-24T22:25:41.564+02:00GRASS GIS releases version 6.3.0GRASS GIS releases version 6.3.0<br />23 April 2008<br /><a href="http://grass.osgeo.org/">http://grass.osgeo.org</a><br /><br />GRASS 6.3.0 is a "technology preview" release, the first beta on the path to GRASS 6.4-stable, and also marks the start of work on GRASS 7. As such GRASS 6.3.0 is not intended to be a stable release with ongoing support, but after five months of quality-assurance review users can be confident to use this version for their day to day work, indeed due to the open development model many already do.<br /><br />This release brings hundreds of new module features, supported data formats, and language translations, as well as a number of exciting enhancements to the GIS. A prototype of the new wxPython user interface is debuted, and for the the first since its inception with a port from the VAX 11/780 in 1983, GRASS will run on a non-UNIX based platform: MS-Windows. This is currently still in an experimental state and we hope that widespread testing of 6.3.0 will mean the 6.4 release of WinGRASS will be fully functional and robust. Existing users will be happy to know that these new features do not disrupt the base GIS which remains as solid as ever and fully backwards compatible with earlier GRASS 6.0 and GRASS 6.2 releases.<br /><br />Several infrastructure changes accompany this release with the project becoming a founding member of the Open Source Geospatial Foundation (OSGeo). This includes a new home for the website, the Wiki help system, source code repository, community add-on module repository, integrated bug tracking system, and formal membership for the project in a non-profit legal entity. We hope that these changes will guarantee that the GRASS community will be well supported and vibrant well into the future.<br /><br />The Geographic Resources Analysis Support System (GRASS) is a Geographic Information System (GIS) used for spatial modeling, visualization of both raster and vector data, geospatial data management and analysis, processing of satellite and aerial imagery, and production of sophisticated presentation graphics and hardcopy maps. GRASS combines powerful raster, vector, and geospatial processing engines into a single integrated software package.<br /><br />The GRASS GIS project is developed under the terms of the GNU General Public License (the GPL) by volunteers the world over. GRASS differs from many other GIS software packages used in the professional world in that it is developed and distributed by users for users, mostly on a volunteer basis, in the open, and is given away for free. Emphasis is placed on interoperability and unlimited access to data as well as on software flexibility and evolution rate. The source code is freely available allowing for immediate customization, examination of the underlying algorithms, addition of new features, and fast bug fixing.<br /><br />GRASS is currently used around the world in academic and commercial settings as well as by many governmental agencies and environmental consulting companies.<br /><br /><br />Software download at <a href="http://grass.osgeo.org/download/">http://grass.osgeo.org/download/</a> and numerous mirror sites.<br /><br />Full story at <a href="http://grass.osgeo.org/announces/announce_grass630.html">http://grass.osgeo.org/announces/announce_grass630.html</a>markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-17698676850093117302008-03-20T16:53:00.000+01:002008-03-20T16:55:13.763+01:00Feature Comparison of Open Source Desktop GIS SoftwareA very detailed and interesting comparison of FOSS GIS for desktop has been compiled by Stefan Steiniger:<br /><br /><a href="http://www.spatialserver.net/osgis/">http://www.spatialserver.net/osgis/</a>markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-52140037425874933652008-02-27T09:27:00.000+01:002008-02-27T09:33:23.134+01:00Incontro per la promozione del Software Libero nelle Pubbliche Amministrazioni<h6 id="toc2">27 Febbraio 2008</h6> Trento Fondazione Bruno Kessler, Via S. Croce, 77<p>La Fondazione Bruno Kessler è lieta di annunciare l’incontro: <strong> ''SI PUÒ FARE - Software Libero nelle Pubbliche Amministrazioni” </strong>, organizzato nell'ambito del progetto E-society della Provincia Autonoma di Trento, in collaborazione con il consorzio dei Comuni Trentini.</p> <p>Siete invitati a portare il contributo della vostra presenza alla giornata, che metterà a confronto esperti internazionali con i temi dell’operare quotidiano della Pubblica Amministrazione, delle imprese e del mondo della formazione.</p> <p>Saranno affrontate questioni relative ai formati dei dati, alle licenze d'uso, ai concetti di standard, interoperabilità e accessibilità, anche in relazione alla formulazione di bandi pubblici di fornitura. Ampio spazio sara` dedicato all'illustrazione e alla discussione di iniziative e progetti a carattere locale.</p> Programma<br />9:00 Apertura dei lavori<br /><ul><li>Introduzione del Presidente della Fondazione Bruno Kessler, ANDREA ZANOTTI</li><li>Saluto del Presidente del Consorzio dei Comuni Trentini, RENZO ANDERLE</li></ul> 9:15 Interventi<br /><ul><li>Progetto E-Society: Linee guida in materia di interoperabilità dei sistemi informatici e di Software Open Source, GIANLUCA SALVATORI, Assessore Ricerca e Innovazione Provincia autonoma di Trento.</li><li>Questionario Interoperabilità, ARIANNA DEMOZZI, Ufficio Statistica, Provincia Autonoma di Trento.</li><li>La questione dei formati aperti e gli standard, HUGO LEITER, Consorzio dei Comuni della Provincia autonoma di Bolzano.</li></ul>10:45 Pausa caffè --- dimostrazioni<br />11:15 Interventi<br /><ul><li>Caso di studio: L'Ospedale Classificato di San Pancrazio, MICHELE LANZA</li><li>Caso di Studio: Comune di Trento, ROBERTO RESOLI e GIACOMO FIORONI</li><li>Licenze d'uso e acquisizione di Software Libero, MARCO CIURCINA, Studio Legale.it</li><li>Caso di Studio: Comune di Predazzo, ALBERTO FELICETTI</li></ul>13:00 Pausa Pranzo<br />14:30 Interventi<br /><ul><li>Caso di studio: Comune di Riva del Garda, GIACOMO CENINI</li><li>Software Libero e Pubblica Amministrazione, CRISTHOPHER GABRIEL, Truelite, Srl.</li><li>Strumenti Open Source per l'interoperabilità fra pubbliche amministrazioni: un'esperienza nell'ambito socio sanitario, MARCO PISTORE , Fondazione Bruno Kessler.</li></ul>16:00 Pausa caffè --- dimostrazioni<br />16:30 Interventi<br /><ul><li>Caso di studio: Comune di Storo, STEFANO BERTUZZI e GIOVANNI BERTI</li><li>Caso di studio: Software Libero e didattica, VINCENZO D'ANDREA, Università di Trento.</li><li>La comunità trentina del Software Libero: Linux Trent, DIAOLIN (Giuliano Natali).</li><li>CENTROS -- il Centro di Competenza per il Software Open Source</li><li>BRUNO CAPRILE, Fondazione Bruno Kessler</li></ul>17:30 Chiusura dei lavori<br /><br />Alla giornata parteciperanno, con loro dimostrativi, le seguenti imprese:<br />AXIA Studio -- http://www.axiastudio.it<br />MPA Solutions -- http://www.mpasol.it<br />OpenContent -- http://www.opencontent.it<br />OPEN IT -- http://www.openit.it<br />Posit SC-- http://www.posit.it<br />Wildix -- http://www.wildix.com<br />Organizzazione : Cristina Moretto, moretto@fbk.eu --Tel. +39 0461 314520 Fax +39 0461 314591<br />Ulteriori informazioni sull'incontro http://centros.fbk.eumarkusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-57429115742057597652008-02-19T22:27:00.000+01:002008-02-19T22:29:18.251+01:00A fifth release candidate of GRASS 6.3.0 is now available:<br /><br />Source code download:<br /><a href="http://grass.osgeo.org/grass63/source/grass-6.3.0RC5.tar.gz" target="_blank">http://grass.osgeo.org/grass63<wbr>/source/grass-6.3.0RC5.tar.gz</a><br /><br />An initial announcement has been drafted at<br /><a href="http://trac.osgeo.org/grass/wiki/Release/6.3.0RC5-News" target="_blank">http://trac.osgeo.org/grass<wbr>/wiki/Release/6.3.0RC5-News</a><br /><br />Key fixes include improved portability for MS-Windows (native support), several module fixes, and especially the introduction of a <a href="http://grass.gdf-hannover.de/wiki/WxPython-based_GUI_for_GRASS">new, Python based portable graphical user interface</a> which includes a new vector digitizer.<br /><br />About GRASS GIS:<br />Commonly referred to as GRASS, this is a Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization. GRASS is currently used in academic and commercial settings around the world, as well as by many governmental agencies and environmental consulting companies. GRASS is official project of the Open Source Geospatial Foundation.<br /><br />Web site: <a href="http://grass.osgeo.org/" target="_blank">http://grass.osgeo.org/</a>markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-88233637070035393062008-02-08T21:40:00.000+01:002008-02-08T21:53:55.413+01:00New official OSGeo projects: GDAL, GRASS GIS and FDOToday, at the OSGeo board meeting the graduation of the <a href="http://www.osgeo.org/gdal">GDAL</a>, <a href="http://www.osgeo.org/grass">GRASS GIS</a> and <a href="http://fdo.osgeo.org/">FDO</a> projects from incubation was approved. The Open Source Geospatial Foundation has been created to support and build the highest-quality open source geospatial software. The foundation's goal is to encourage the use and collaborative development of community-led projects. All OSGeo projects are undergoing an <a href="http://www.osgeo.org/incubator/process/process.html">incubation process</a> to ensure that projects that are able to become official part of OSGeo. The criteria are: <ul><li> have a successfully operating open and collaborative development community </li><li> have clear intellectual properties oversight of the code base of the project </li><li> adopt the OSGeo principles and operating principles. </li></ul>Projects are mentored through the incubation process, eventually the incubation committee is verifying if the project is ready for full status. The <a href="http://www.osgeo.org/content/foundation/board_and_officers.html">OSGeo Board of Directors</a> accepts or rejects a project's graduation from the incubator. Upon graduation, a member of the project's PMC is selected to report to the foundation board periodically on project status.markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-7012600376334489922007-12-29T18:50:00.000+01:002007-12-29T18:53:22.216+01:00FOSS4G Proceedings Now Available - OSGeo Journal Volume 3Tyler Mitchell, Executive Director of <a href="http://www.osgeo.org/">OSGeo</a> reports:<br /><br />The OSGeo Journal team is pleased to announce the availability of Volume 3. This volume of the Journal is dedicated to publishing the proceedings from the FOSS4G 2007 conference held in September. 14 different papers, representing over 35 authors were contributed. They cover a wide range of Integration, Development, Topical Interest and Case Study material.<br /><br />You can access the Journal as a print-ready PDF or as individual PDF articles from:<br /><a href="http://www.osgeo.org/journal/volume3" target="_blank">http://www.osgeo.org/journal<wbr>/volume3</a><br /><br />Our next volume will be delayed until the first quarter of 2008. If you are interested in submitting articles, please add your name to:<br /><a href="http://wiki.osgeo.org/index.php/Journal_Volume_4" target="_blank">http://wiki.osgeo.org/index<wbr>.php/Journal_Volume_4</a><br /><br />Enjoy the articles and best wishes for the New Year!markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-89543035046549539962007-11-29T18:32:00.000+01:002007-11-29T18:46:43.955+01:00GRASS GIS releases version 6.2.327 November 2007<br /><a href="http://grass.osgeo.org/" target="_top" rel="nofollow">http://grass.osgeo.org</a><br /><br />The development team is happy to announce that a new bugfix version of GRASS GIS has been released today. This release fixes a number of bugs discovered in the 6.2.2 source code. It is primarily for stability purposes and adds minimal new features. Besides bug fixes it also includes a number of new message translations and updates for the help pages and projection database.<br /><br />Highlights include further maturation of the <a href="http://grass.osgeo.org/screenshots/gui.php">GRASS 6 GUI</a>, <a href="http://grass.osgeo.org/screenshots/vector.php">vector</a>, and database code. Some improvements have been backported from the GRASS 6.3 development branch where new development continues at a strong pace of approximately <a href="http://cia.vc/stats/project/GRASS">one code commit every hour,</a> including major work on an all <a href="http://grass.gdf-hannover.de/wiki/WxPython-based_GUI_for_GRASS">new cross-platform wxPython GUI</a> and a native MS Windows port (from 6.3.0 onwards).<br /><br />The Geographic Resources Analysis Support System, commonly referred to as GRASS, is a Geographic Information System (GIS) combining powerful <a href="http://grass.osgeo.org/screenshots/raster.php">raster</a>, <a href="http://grass.osgeo.org/screenshots/vector.php">vector</a>, <a href="http://grass.osgeo.org/screenshots/imagery.php">remote</a> <a href="http://grass.osgeo.org/screenshots/rs.php">sensing</a> and and geospatial processing engines into a single integrated software suite. GRASS includes tools for spatial modeling, visualization of raster and vector data, management and analysis of geospatial data, and the processing of satellite and aerial imagery. It also provides the capability to produce <a href="http://grass.osgeo.org/screenshots/viz.php">sophisticated 4D presentation graphics</a> and <a href="http://grass.osgeo.org/screenshots/cartography.php">hardcopy maps</a>.<br /><br />GRASS is currently <a href="http://grass.osgeo.org/community/index.php">used</a> around the world in academic and <a href="http://grass.osgeo.org/community/commercial.php">commercial settings</a> as well as by many governmental agencies and environmental consulting companies. It runs on a variety of <a href="http://grass.osgeo.org/screenshots/platforms.php">popular hardware platforms</a> and is Free open-source software released under the terms of the GNU General Public License.<br /><br />GRASS is a proposed founding project of the new <a href="http://www.osgeo.org/">Open Source Geospatial Foundation</a>. In support of the movement towards consolidation in the open source geospatial software world, GRASS is tightly integrated with the latest <a href="http://www.gdal.org/">GDAL/OGR</a> libraries. This enables access to an extensive range of raster and vector formats, including OGC-conformal Simple Features. GRASS also makes use of the highly regarded <a href="http://proj.maptools.org/">PROJ.4</a> software library with support for most known map projections and the easy definition of new and rare map projections via custom parameterization. Strong links are maintained with the <a href="http://www.qgis.org/">QuantumGIS</a> and <a href="http://cran.at.r-project.org/src/contrib/Views/Spatial.html">R Statistics projects</a> with integrated GRASS toolkits available for both.<br /><br />Software download at <a href="http://grass.osgeo.org/download/" target="_top" rel="nofollow">http://grass.osgeo.org/download/</a> and numerous<br />mirror sites.<br /><br />Full story at <a href="http://grass.osgeo.org/announces/announce_grass623.html" target="_top" rel="nofollow">http://grass.osgeo.org/announces/announce_grass623.html</a>markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-84808375982007477222007-11-25T17:07:00.000+01:002007-11-25T17:13:02.287+01:00New GRASS Book published: Open Source GIS: A GRASS GIS ApproachThe new edition of <a href="http://www.springer.com/east/home/geography/gis+cartography?SGWID=5-40421-22-173664736-0">Open Source GIS: A GRASS GIS Approach</a><span style="font-family:Arial,Helvetica;"><span style="color: rgb(255, 255, 255);"></span></span> is now available! With this third edition, we enter the new era of <span style="font-weight: bold;">GRASS 6</span>, the first release that includes substantial new code developed by the International GRASS Development Team. The dramatic growth in open source software libraries has made GRASS 6 development more efficient, and has enhanced GRASS interoperability with a wide range of open source and proprietary geospatial tools. The book is based on GRASS 6.3.<br /><br />Thoroughly updated with material related to GRASS6, the third edition includes new sections on attribute database management and SQL support, vector networks analysis, lidar data processing and new graphical user interfaces. All chapters are updated with numerous practical examples using the first release of a comprehensive, state-of-the-art geospatial data set. This <span style="font-weight: bold;">new OSGeo Educational data set</span> along with additional material can be downloaded from <a href="http://www.grassbook.org/">http://www.grassbook.org/</a>markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-74453453251306196642007-11-20T12:51:00.000+01:002007-11-20T12:58:13.411+01:00GRASS GIS 6.3.0RC2 releasedA second release candidate of GRASS 6.3.0 is now available:<br /><br /><a href="http://grass.itc.it/grass63/source/grass-6.3.0RC2.tar.gz">http://grass.itc.it/grass63/source/grass-6.3.0RC2.tar.gz</a><br /><br />An initial announcement has been drafted at<br /><a href="http://grass.itc.it/announces/announce_grass630.html">http://grass.itc.it/announces/announce_grass630.html</a><br />(state April 2007, further fixes need to be merged in from<br /><a href="http://grass.gdf-hannover.de/wiki/GRASS_6.3_Feature_Plan"> http://grass.gdf-hannover.de/wiki/GRASS_6.3_Feature_Plan</a><br />RC1 and RC2)<br /><br />Key fixes include improved portability for MS-Windows (native support), hundreds of fixes, TclTk based portable graphical interface and much new functionality.<br /><br />Release candidate management at<br /><a href="http://grass.gdf-hannover.de/wiki/GRASS_6.3_Feature_Plan"> http://grass.gdf-hannover.de/wiki/GRASS_6.3_Feature_Plan</a><br /><br />Please test, test, test...<br /><br />Thanks to all contributors!<br /><br />MarkusmarkusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-12852423027895614542007-10-28T10:28:00.000+01:002007-10-28T10:53:26.095+01:00winGRASS 6.3.0RC1 and QGIS 0.9.0 now availableA MS-Windows native binary of the current 6.3.0 Release Candidate 1 is now available at:<br /><a href="http://geog-pc40.ulb.ac.be/grass/wingrass/wingrass63RC1.zip"><span style="text-decoration: underline;">http://geog-pc40.ulb.ac.be/grass/wingrass/wingrass63RC1.zip</span></a><br />Read the <a href="http://geog-pc40.ulb.ac.be/grass/wingrass/README">README</a> for installation, known issues and other information. This version no longer requires a n installation of Cygwin.<br /><br />The QGIS team announces the release of <a href="http://download.qgis.org/">QGIS 0.9.0</a> (the package for MS-Windows contains GRASS 6.3.0RC1). The QGIS team offers also packages for Linux and MacOSX.markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-81014648011172056902007-10-24T00:40:00.000+02:002007-10-24T00:41:48.938+02:00First release candidate of GRASS 6.3.0 now availableA first release candidate of GRASS 6.3.0 is now available:<br /><br /><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://grass.itc.it/grass63/source/" target="_blank">http://grass.itc.it/grass63<wbr>/source/</a><br />-> grass-6.3.0RC1.tar.gz<br /><br />An initial announcement has been drafted at<br /><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://grass.itc.it/announces/announce_grass630.html" target="_blank">http://grass.itc.it/announces<wbr>/announce_grass630.html</a><br />(state April 2007, further fixes need to be merged in)<br /><br />Key fixes include improved portability for MS-Windows<br />(native support), hundreds of fixes, TclTk based<br />portable graphical interface and much new functionality.<br /><br />Release candidate management at<br /><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://grass.gdf-hannover.de/wiki/GRASS_6.3_Feature_Plan" target="_blank">http://grass.gdf-hannover.de<wbr>/wiki/GRASS_6.3_Feature_Plan</a><br /><br />Please test, test, test...markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-76643857568783565592007-08-03T17:45:00.000+02:002007-08-04T00:33:59.719+02:00GRASS GIS: Vector network analysis significantly easier nowAlso getting mad to connect your vector points to the graph? Stuff like "node is unreachable"? Same thing here, till last week. In GRASS 6.3 (still CVS), the <tt>v.net</tt> tool was extended to easily connect nodes to a graph. Just specify the vector network map and the nodes map along with a distance threshold to only connect in a reasonable way.<br /><br />Screenshot examples for GRASS vector networking can be seen here: <a href="http://grass.itc.it/grass63/manuals/html63_user/v.net.salesman.html">travelling salesman analysis</a>, <a href="http://grass.itc.it/grass63/manuals/html63_user/v.net.steiner.html">Steiner Trees</a>, and <a href="http://grass.itc.it/grass63/manuals/html63_user/v.net.iso.html">Iso-distances</a>. Enjoy.markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-6256112378834897752007-04-23T21:36:00.000+02:002007-04-23T21:41:46.929+02:00Community based software development: The GRASS GIS projectTomorrow I'll give a talk at University of Trento about the question why free software development works. Focus will be on <a href="http://grass.itc.it">GRASS</a>, a Geographic Information System (GIS) used for geospatial data management and analysis, spatial modeling, and visualization. The project has an outstanding history as it was originally started a military project, but in the public domain. With the advent of Internet and related network based development tools a community was formed. Nowadays, both users and developers are spread over the globe and manage to develop this software with low administrational overhead and a good communication culture. This <span style="font-weight: bold;">seminar</span> reviews the <span style="font-weight: bold;">technical</span> and <span style="font-weight: bold;">social aspects</span> of this Free GIS project.<br /><br />You can get the seminar slides <a href="http://mpa.itc.it/markus/unitn2007/">here</a>.markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-83012414697300886602007-02-12T22:15:00.001+01:002007-02-12T22:20:04.482+01:00OSGeo Celebrates 1st AnniversaryTyler Mitchell, OSGeo's Executive Director, illustrates in a recent posting the many highlights from the first year of the Open Source Geospatial Foundation. Read more at <a href="http://www.osgeo.org/tyler/">http://www.osgeo.org/tyler/</a><br /><h1 id="title"></h1>markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-90500616925067257932007-02-12T22:15:00.000+01:002007-01-30T11:51:21.511+01:00OSGeo Celebrates 1st AnniversaryTyler Mitchell, OSGeo's Executive Director, illustrates in a recent posting the many highlights from the first year of the Open Source Geospatial Foundation. Read more at <a href="http://www.osgeo.org/tyler/">http://www.osgeo.org/tyler/</a><br /><h1 id="title"></h1>markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-1166649524269303072006-12-20T22:14:00.000+01:002006-12-20T22:18:44.766+01:00First combined GRASS-News / OSGeo-News volume publishedThe GRASS-News editors and OSGeo Promotion and Visibility Committee announce the first combined GRASS-News / OSGeo-News volume. You can find the full pdf (5.3 MB) as well as PDFs of individual articles on the GRASS webpage:<br /> <a href="http://grass.itc.it/newsletter/index.php">http://grass.itc.it/newsletter/index.php</a><br />or directly via:<br /> <a href="http://www.osgeo.org/content/news/news_archive/GRASS_OSGeo_News_vol4.pdf">http://www.osgeo.org/content/news/news_archive/GRASS_OSGeo_News_vol4.pdf</a><br /><br />A first edition of OSGeo-News will be published in 2007 with interesting articles covering various topics of OpenSource projects. Please visit <a href="http://www.osgeo.org">http://www.osgeo.org</a> in the next couple of weeks to find more detailed information how to submit articles.markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-1165959611272436172006-12-12T22:38:00.000+01:002006-12-13T10:48:49.250+01:00GRASS GIS releases version 6.2.1GRASS 6.2.1 is a new stable release which fixes several bugs discovered in the 6.2.0 source code. This release is solely for stability purposes and adds no new features. Besides bug fixes it also includes a number of new message translations, updates for the help pages, and will better handle errors caused by missing or incorrectly installed support software. It also introduces a new 3D raster module which was left out of the last release due to time constraints.<br /><br />The Geographic Resources Analysis Support System (GRASS) is a Geographic Information System (GIS) used for spatial modeling, visualization of both raster and vector data, geospatial data management and analysis, processing of satellite and aerial imagery, and production of sophisticated presentation graphics and hardcopy maps. GRASS combines powerful raster, vector, and geospatial processing engines into a single integrated software package.<br /><br />The GRASS GIS project is developed under the terms of the GNU General Public License (the GPL) by volunteers the world over. GRASS differs from many other GIS software packages used in the professional world in that it is developed and distributed by users for users, mostly on a volunteer basis, in the open, and is given away for free. Emphasis is placed on interoperability and unlimited access to data as well as on software flexibility and evolution rate. The source code is freely available allowing for immediate customization, examination of the underlying algorithms, addition of new features, and fast bug fixing.<br /><br />GRASS is currently used around the world in academic and commercial settings as well as by many governmental agencies and environmental consulting companies.<br /><br />Software download at <a href="http://grass.itc.it/download/">http://grass.itc.it/download/</a> and numerous mirror sites.<br /><br />Full story at <a href="http://grass.itc.it/announces/announce_grass621.html">http://grass.itc.it/announces/announce_grass621.html</a>markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.comtag:blogger.com,1999:blog-34897323.post-1164468333811419952006-11-25T16:20:00.000+01:002006-11-25T16:25:33.950+01:00FWTools 1.1.0 for Linux and Win32 publishedFrank Warmerdam has published the new <a href="http://fwtools.maptools.org/">FWTools</a> 1.1.0 binaries for linux and win32. FWTools includes OpenEV, GDAL, MapServer, PROJ.4 and OGDI as well as some supporting components. Basic changes are in the Linux version which now includes the addition of PostgreSQL support in OGR, and SOS Server support in MapServer. This release also includes the new, experimental, PDS (Planetary Data) format support. Download from:<br /><br /> <a href="http://www.gdal.org/dl/fwtools/FWTools110.exe">http://www.gdal.org/dl/fwtools/FWTools110.exe</a><br /> <a href="http://www.gdal.org/dl/fwtools/FWTools-linux-1.1.0.tar.gz">http://www.gdal.org/dl/fwtools/FWTools-linux-1.1.0.tar.gz</a>markusNhttp://www.blogger.com/profile/03423454135377880456noreply@blogger.com