Changeset 29462
- Timestamp:
- Dec 17, 2007, 5:53:55 AM (17 years ago)
- Location:
- grass/branches/releasebranch_6_3
- Files:
-
- 51 edited
-
AUTHORS (modified) (5 diffs)
-
COPYING (modified) (1 diff)
-
INSTALL (modified) (2 diffs)
-
REQUIREMENTS.html (modified) (3 diffs)
-
SUBMITTING (modified) (14 diffs)
-
SUBMITTING_DOCS (modified) (3 diffs)
-
SUBMITTING_SCRIPTS (modified) (8 diffs)
-
SUBMITTING_TCLTK (modified) (3 diffs)
-
contributors.csv (modified) (1 diff)
-
contributors_extra.csv (modified) (1 diff)
-
db/drivers/postgres/README (modified) (1 diff)
-
lib/grasslib.dox (modified) (3 diffs)
-
lib/init/gis_set.tcl (modified) (1 diff)
-
lib/init/grass_intro.txt (modified) (1 diff)
-
lib/init/init.sh (modified) (1 diff)
-
macosx/Makefile (modified) (2 diffs)
-
macosx/app/Info.plist.in (modified) (1 diff)
-
macosx/pkg/resources/Info.plist.in (modified) (1 diff)
-
ps/ps.map/description.html (modified) (2 diffs)
-
raster/r.average/description.html (modified) (2 diffs)
-
raster/r.buffer/description.html (modified) (3 diffs)
-
raster/r.gwflow/description.html (modified) (3 diffs)
-
raster/r.in.gdal/description.html (modified) (1 diff)
-
raster/r.le/r.le.setup/sample.c (modified) (5 diffs)
-
raster/r.los/description.html (modified) (1 diff)
-
raster/r.report/description.html (modified) (1 diff)
-
raster/r.resamp.rst/description.html (modified) (1 diff)
-
raster/r.statistics/description.html (modified) (5 diffs)
-
raster/r.stats/description.html (modified) (1 diff)
-
scripts/d.monsize/d.monsize (modified) (6 diffs)
-
scripts/r.in.wms/description.html (modified) (1 diff)
-
scripts/r.in.wms/r.in.wms (modified) (1 diff)
-
scripts/r.regression.line/description.html (modified) (1 diff)
-
scripts/r.regression.line/r.regression.line (modified) (2 diffs)
-
scripts/r.shaded.relief/r.shaded.relief (modified) (1 diff)
-
scripts/v.rast.stats/v.rast.stats (modified) (3 diffs)
-
scripts/v.report/v.report (modified) (3 diffs)
-
swig/perl/Makefile.PL.in (modified) (1 diff)
-
swig/perl/R_slope_aspect/r_slope_aspect/r_slope_aspect.c (modified) (6 diffs)
-
translators.csv (modified) (1 diff)
-
vector/lidar/lidarlib/InterpSpline.c (modified) (1 diff)
-
vector/lidar/lidarlib/raster.c (modified) (9 diffs)
-
vector/v.in.ascii/in.c (modified) (2 diffs)
-
vector/v.in.ogr/description.html (modified) (2 diffs)
-
vector/v.in.ogr/main.c (modified) (13 diffs)
-
vector/v.net.steiner/description.html (modified) (1 diff)
-
vector/v.surf.rst/README (modified) (1 diff)
-
vector/v.vol.rst/README (modified) (1 diff)
-
vector/v.vol.rst/user1.c (modified) (1 diff)
-
visualization/nviz/Makefile (modified) (1 diff)
-
visualization/xganim/description.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
grass/branches/releasebranch_6_3/AUTHORS
r24974 r29462 22 22 Active parts of the program have authors dating back to GRASS's 23 23 inception in 1982. Please check the GRASS 1.x - 5.0 credits list at: 24 http:// grass.itc.it/devel/grasscredits.html24 http://www.grass-gis.org/devel/grasscredits.html 25 25 26 26 … … 63 63 - SOCCER Labs at Ecole Polytechnique de Montreal, Canada 64 64 http://web.soccerlab.polymtl.ca/grass-evolution/grass-browsers/grass-index-en.html 65 http:// grass.itc.it/mailman/listinfo/grass-qa65 http://www.grass-gis.org/mailman/listinfo/grass-qa 66 66 67 67 Bugtracker maintainer: … … 206 206 207 207 Please check additionally the GRASS 1.x-5.0 credits list at: 208 http:// grass.itc.it/devel/grasscredits.html208 http://www.grass-gis.org/devel/grasscredits.html 209 209 210 210 While it is impossible for us to give credit to everyone (past … … 294 294 U.S. Army Construction Engineering Research Laboratories (CERL) 295 295 Jim Westervelt, Michael Shapiro, Chris Rewerts, Robert Lozar, ... 296 See: http:// grass.itc.it/devel/grasscredits.html296 See: http://www.grass-gis.org/devel/grasscredits.html 297 297 298 298 Former Institutions … … 320 320 Via Sommarive, 18 321 321 38050 Trento (Povo) 322 email: neteler itc.it323 324 Internet: http:// grass.itc.it/ (main site)322 email: neteler fbk.eu 323 324 Internet: http://www.grass-gis.org/ (main site) 325 325 http://grass.ibiblio.org/ (mirror) 326 http:// grass.itc.it/mirrors.php (list of mirrors)326 http://www.grass-gis.org/mirrors.php (list of mirrors) 327 327 328 328 with a worldwide distribution network. -
grass/branches/releasebranch_6_3/COPYING
r23762 r29462 38 38 38050 Trento (Povo) 39 39 Italy 40 neteler @itc.it40 neteler fbk.eu 41 41 42 Internet: http:// grass.itc.it42 Internet: http://www.grass-gis.org/ 43 43 http://grass.ibiblio.org -
grass/branches/releasebranch_6_3/INSTALL
r22993 r29462 282 282 Note that this code is still actively being developed and errors inevitably 283 283 turn up. If you find a bug, please report it to the GRASS bug tracking system 284 so we can fix it. see http:// grass.itc.it/bugtracking/bugreport.html284 so we can fix it. see http://www.grass-gis.org/bugtracking/bugreport.html 285 285 286 286 If you are interested in helping to develop GRASS, please join the GRASS 287 developers mailing list. see http:// grass.itc.it/devel/index.php287 developers mailing list. see http://www.grass-gis.org/devel/index.php 288 288 289 289 … … 292 292 The Programmer's manual is generated with doxygen from the source code. 293 293 Please see the README file and the files at: 294 http:// grass.itc.it/devel/index.php#prog294 http://www.grass-gis.org/devel/index.php#prog 295 295 296 296 297 297 (N) CONTRIBUTING CODE AND PATCHES 298 298 299 Please see ./SUBMITTING and ./SUBMITTING_SCRIPTS in this300 directory.299 Please see ./SUBMITTING, ./SUBMITTING_DOCS, ./SUBMITTING_TCLTK and 300 ./SUBMITTING_SCRIPTS in this directory. 301 301 302 302 -
grass/branches/releasebranch_6_3/REQUIREMENTS.html
r22103 r29462 102 102 [<a href="http://www.netlib.org/lapack/">http://www.netlib.org/lapack</a>] (usually available on Linux distros) 103 103 <br> 104 Note: the support is intended for future module implementations, no need to use it at time! 104 <I>Note: LAPACK/BLAS support is intended for future module implementations, no need to 105 use it at time!</I> 105 106 106 107 … … 149 150 <a href="http://www.freetype.org">http://www.freetype.org</a> 150 151 151 <li><B>Python</B> <br>152 <li><B>Python</B> (for new wxPython GUI and SWIG interface)<br> 152 153 <a href="http://www.python.org">http://www.python.org</a> 153 154 155 <li><B>FFMPEG</B> (for direct rendering of animations from NVIZ), 156 including libavcodec, libavformat, libswscale <BR> 157 <a href="http://ffmpeg.mplayerhq.hu/">http://ffmpeg.mplayerhq.hu</a><BR> 158 154 159 </ul> 160 155 161 156 162 <h3>Note:</h3> … … 172 178 <br><i>© GRASS Development Team 2001-2006</i> 173 179 <p>Please report bugs here: 174 <br><a href="http:// grass.itc.it/bugtracking/bugreport.html">http://grass.itc.it/bugtracking/bugreport.html</a>180 <br><a href="http://www.grass-gis.org/bugtracking/bugreport.html">http://www.grass-gis.org/bugtracking/bugreport.html</a> 175 181 176 182 <p> -
grass/branches/releasebranch_6_3/SUBMITTING
r25170 r29462 5 5 Dear (new) GRASS Developer, 6 6 7 When submitting C code to GRASS CVS repository, please take8 care offollowing rules:7 When submitting C code to GRASS SVN repository, please take care of 8 following rules: 9 9 10 10 [ see SUBMITTING_SCRIPTS for shell script hints ] … … 14 14 15 15 1. Get and read the GRASS 6 Programmer's Manual here: 16 http:// grass.itc.it/devel/index.php#prog16 http://download.osgeo.org/grass/grass6_progman/ 17 17 18 18 or generate it from this source code (the programmer's manual is … … 67 67 4. - deleted. 68 68 We don't want the $ ID $ in source code any more as it causes problems 69 for the CVSbranches.69 for the SVN branches. 70 70 71 71 … … 75 75 76 76 in your files and make use of the various system dependencies 77 contained therein. As one example of this, see 78 lib/gmath/fft.c . Please refrain from declaring79 s ystem functions within the software; include the proper header files80 (conditionally dependenton config.h macros if necessary) instead.77 contained therein. As one example of this, see lib/gmath/fft.c. 78 Please refrain from declaring system functions within the 79 software; include the proper header files (conditionally dependent 80 on config.h macros if necessary) instead. 81 81 82 82 … … 87 87 1. Core system headers (stdio.h, ctype.h, ...) 88 88 2. Headers for non-core system components (X11, libraries). 89 3. Headers for core systems of the package being compiled (grass/gis.h, grass/glocale.h ...)89 3. Headers for core systems of the package being compiled (grass/gis.h, grass/glocale.h, ...) 90 90 4. Headers for the specific library/program being compiled (geodesic.h, ...) 91 91 … … 127 127 128 128 ... 129 exit (EXIT_SUCCESS) 129 exit (EXIT_SUCCESS); 130 130 } 131 131 … … 142 142 Always use the gettext macros with _("") for user messages, 143 143 example: 144 G_fatal_error ( _("Vector file [%s] not available"), name);144 G_fatal_error (_("Vector map <%s> not found"), name); 145 145 146 146 … … 155 155 156 156 157 10. Use the GRASS library function G_asprintf() instead of the 158 standard C functions asprintf(), vsnprintf() and snprintf(). These157 10. Use the GRASS library function G_asprintf() instead of the 158 standard C functions asprintf(), vsnprintf() and snprintf(). These 159 159 functions are not portable or have other issues. Example: 160 160 … … 170 170 11. Use the following GRASS library functions instead of the standard C 171 171 functions. The reason for this is that the following functions ensure 172 good programming practice (e galways checking if memory was allocated)172 good programming practice (e.g. always checking if memory was allocated) 173 173 and/or improves portability. PLEASE refer to the programmers manual 174 for the proper use (e gdetermining if any casts are needed for arguments174 for the proper use (e.g. determining if any casts are needed for arguments 175 175 or return values) of these library functions. They may perform a task 176 176 slightly different from their corresponding C library function, and thus, … … 228 228 needed, do not check in any changes other than the indentation in the same 229 229 commit! Do add the indent switches and any indent warning messages to the 230 CVSlog. Any change or fix mixed in with an indent is very hard to track230 SVN log. Any change or fix mixed in with an indent is very hard to track 231 231 making it hard for others to follow the change or fix any new bugs. 232 232 … … 275 275 276 276 If you are unsure, please ask on the GRASS Developers list. 277 277 278 278 20. Have a look at ./INSTALL 279 279 280 280 281 281 21. Have a function included in your module which writes to the history 282 file of the map (e.g. command line, parameters etc.). See e g282 file of the map (e.g. command line, parameters etc.). See e.g. 283 283 raster/r.patch/main.c 284 284 … … 305 305 306 306 307 26. Be sure to develop on top of the LATEST GRASS code (which is in CVS).308 You can re-check before submission with ' cvsdiff':307 26. Be sure to develop on top of the LATEST GRASS code (which is in SVN repository). 308 You can re-check before submission with 'svn diff': 309 309 310 310 Be sure to create unified ("diff -u") format. "Plain" diffs (the default … … 313 313 314 314 Such diffs should be made from the top-level directory, e.g. 315 " cvs diff -udisplay/d.vect/main.c"; that way, the diff will315 "svn diff display/d.vect/main.c"; that way, the diff will 316 316 include the pathname rather than just "main.c". 317 317 … … 344 344 You can easily write specific tests for your modules. 345 345 346 If your module is part of grass and you created some standard test cases, 347 please contact the developers to add your tests to the default test suite. 348 This will automatize complex test scenarios and assure to find bugs much 349 faster, if changes were made to your modules or to the grass library. 346 If your module is part of GRASS and you created some standard test 347 cases, please contact the developers to add your tests to the 348 default test suite. This will automatize complex test scenarios 349 and assure to find bugs much faster, if changes were made to your 350 modules or to the grass library. 350 351 351 352 Consider to subscribe to the GRASS Quality Assessment System to 352 353 get immediate notification about the code quality: 353 354 354 http:// grass.itc.it/mailman/listinfo/grass-qa355 http://www.grass-gis.org/mailman/listinfo/grass-qa 355 356 356 357 29. Tell the other developers about the new code using the following e-mail: 357 grass-dev@ grass.itc.it358 grass-dev@lists.osgeo.org 358 359 359 360 To subscribe to this mailing list, see 360 http:// grass.itc.it/devel/index.php361 http://lists.osgeo.org/mailman/listinfo/grass-dev 361 362 362 363 363 364 30. In case of questions feel free to contact the developers at the above 364 365 mailing list. 365 http:// grass.itc.it/devel/index.php#submission366 http://www.grass-gis.org/devel/index.php#submission 366 367 367 368 ... 368 369 [please add further hints if required] 369 -
grass/branches/releasebranch_6_3/SUBMITTING_DOCS
r25170 r29462 5 5 Dear (new) GRASS Developer, 6 6 7 When submitting documentation to GRASS CVSrepository, please take7 When submitting documentation to GRASS SVN repository, please take 8 8 care of following rules: 9 9 10 [ see SUBMITTING for C hints ] 10 11 [ see SUBMITTING_SCRIPTS for shell script hints ] 11 12 [ see SUBMITTING_TCLTK for tcl and tk hints ] 12 [ see SUBMITTING for C hints ]13 13 14 14 1. Editing of HTML pages … … 18 18 19 19 2. Module manual page: 20 Place the documentation in HTML format into 'description.html'.21 The easiest way to do this is to study an existing HTML page22 (to get the page style, e.g. vector/v.to.db/description.html).23 With a few exceptions header and footer are NOT allowed.24 You can add figures (PNG format), the figure name prefix should be the25 module name. See raster/r.terraflow/description.html for an example.20 Place the documentation in HTML format into 'description.html'. 21 The easiest way to do this is to study an existing HTML page 22 (to get the page style, e.g. vector/v.to.db/description.html). 23 With a few exceptions header and footer are NOT allowed. 24 You can add figures (PNG format), the figure name prefix should be the 25 module name. See raster/r.terraflow/description.html for an example. 26 26 27 Note that the parameter information is auto-generated upon28 compilation. This is done by running module in a virtual session29 after compilation (see the output of 'make'). To subsequently30 verify the final HTML page, check the resulting HTML pages which31 will be stored with the name of the module.27 Note that the parameter information is auto-generated upon 28 compilation. This is done by running module in a virtual session 29 after compilation (see the output of 'make'). To subsequently 30 verify the final HTML page, check the resulting HTML pages which 31 will be stored with the name of the module. 32 32 33 Examples (please add some) should be coded like this:33 Examples (please add some) should be coded like this: 34 34 35 <div class="code"><pre>36 v.to.db map=soils type=area option=area col=area_size unit=h37 </pre></div>35 <div class="code"><pre> 36 v.to.db map=soils type=area option=area col=area_size unit=h 37 </pre></div> 38 38 39 The online WWW man pages is updated every Saturday by CVS. 39 The online WWW man pages is updated every Saturday (from SVN 40 repository). 40 41 41 42 3. Usage of limited HTML tags … … 46 47 <PRE> <SUP> <TABLE> <TD> <TH> <TITLE> <TR> <UL> 47 48 49 See also: 50 http://grass.gdf-hannover.de/wiki/Updating_GRASS_Documentation 51 48 52 ... 49 53 [please add further hints if required] 50 -
grass/branches/releasebranch_6_3/SUBMITTING_SCRIPTS
r25170 r29462 5 5 Dear (new) GRASS Developer, 6 6 7 When submitting SHELL SCRIPTS to GRASS CVSrepositiory,7 When submitting SHELL scripts to GRASS SVN repositiory, 8 8 please take care of following rules: 9 9 … … 14 14 0. Instructions for the GRASS script parser can be found in the g.parser 15 15 module's help page. 16 http://grass. ibiblio.org/grass63/manuals/html63_user/g.parser.html16 http://grass.osgeo.org/grass63/manuals/html63_user/g.parser.html 17 17 18 18 1. Use the directory structure to place your script appropriately into … … 59 59 3. - deleted. 60 60 We don't want the $ ID $ in scripts any more as it 61 causes problems for the CVSbranches.61 causes problems for the SVN branches. 62 62 63 63 4. As a general principle, shell variables should almost always be quoted. … … 152 152 g.findfile element=cell file="$INPUT" > /dev/null 153 153 if [ $? -eq 0 ] ; then 154 g.message -e "Raster map '$GIS_OPT_MAP'not found in mapset search path"154 g.message -e "Raster map <$GIS_OPT_MAP> not found in mapset search path" 155 155 exit 1 156 156 fi … … 159 159 eval `g.findfile element=vector file=$GIS_OPT_MAP` 160 160 if [ ! "$file" ] ; then 161 g.message -e "Vector map '$GIS_OPT_MAP'not found in mapset search path"161 g.message -e "Vector map <$GIS_OPT_MAP> not found in mapset search path" 162 162 exit 1 163 163 fi … … 170 170 171 171 #normal message: 172 g.message "Done ."172 g.message "Done" 173 173 174 174 # warning: … … 185 185 12. For consistency, use README rather than README.txt for any README files. 186 186 187 13. Be sure to develop on top of the LATEST GRASS code (which is in CVS).187 13. Be sure to develop on top of the LATEST GRASS code (which is in SVN). 188 188 You can re-check before submission with 'cvs diff': 189 189 … … 194 194 195 195 Such diffs should be made from the top-level directory, e.g. 196 "cvs diff -udisplay/d.vect/main.c"; that way, the diff will196 "cvs diff display/d.vect/main.c"; that way, the diff will 197 197 include the pathname rather than just "main.c". 198 198 199 199 14. Tell the other developers about the new code using the following e-mail: 200 grass-dev@ grass.itc.it200 grass-dev@lists.osgeo.org 201 201 202 202 To subscribe to this mailing list, see 203 http:// grass.itc.it/devel/index.php203 http://lists.osgeo.org/mailman/listinfo/grass-dev 204 204 205 205 15. In case of questions feel free to contact the developers at the above 206 206 mailing list. 207 http:// grass.itc.it/devel/index.php#submission207 http://www.grass-gis.org/devel/index.php#submission 208 208 209 209 -
grass/branches/releasebranch_6_3/SUBMITTING_TCLTK
r25170 r29462 1 $Id$ 2 1 3 NOTE: Please improve this list! 2 4 3 5 Dear (new) GRASS Developer, 4 6 5 When submitting TCL and TK SCRIPTS and C code to GRASS CVSrepository,7 When submitting TCL and TK SCRIPTS to GRASS SVN repository, 6 8 please take care of following rules: 7 9 … … 146 148 file, to catch any error messages. 147 149 148 13. Be sure to develop on top of the LATEST GRASS code (which is in CVS). 149 You can re-check before submission with 'cvs diff': 150 13. Be sure to develop on top of the LATEST GRASS code (which is in 151 SVN repository). You can re-check before submission with 'svn 152 diff': 150 153 151 154 Be sure to create unified ("diff -u") format. "Plain" … … 155 158 156 159 Such diffs should be made from the top-level directory, e.g. 157 "cvs diff -udisplay/d.vect/main.c"; that way, the diff will160 "cvs diff display/d.vect/main.c"; that way, the diff will 158 161 include the pathname rather than just "main.c". 159 162 160 163 14. Tell the other developers about the new code using the following e-mail: 161 grass-dev@ grass.itc.it164 grass-dev@lists.osgeo.org 162 165 163 166 To subscribe to this mailing list, see 164 http:// grass.itc.it/devel/index.php167 http://lists.osgeo.org/mailman/listinfo/grass-dev 165 168 166 169 15. In case of questions feel free to contact the developers at the above 167 170 mailing list. 168 http:// grass.itc.it/devel/index.php#submission171 http://www.grass-gis.org/devel/index.php#submission 169 172 170 173 16. Try to evaluate things only once. Tcl compiles the program to bytecode which -
grass/branches/releasebranch_6_3/contributors.csv
r24224 r29462 1 alex,Alex Shevlakov <sixote yahoo.com> 2 andreas,Andreas Lange <andreas.lange rhein-main.de> 3 benjamin,Benjamin Ducke <benjamin.ducke ufg.uni-kiel.de> 4 bernhard,Bernhard Reiter <bernhard intevation.de> 5 bob,Bob Covill <bcovill tekmap.ns.ca> 6 brad,Brad Douglas <rez touchofmadness.com> 7 carlos,Carlos Davila <cdavilam jemila.jazztel.es> 8 cedric,Cedric Shock <cedricgrass shockfamily.net> 9 cho,Huidae Cho <grass4u gmail.com> 10 danielc,Daniel Calvelo Aros <dca.gis gmail.com> 11 david,David D. Gray <ddgray armadce.demon.co.uk> 12 eric,Eric G. Miller <egm2 jps.net> 13 florian,Florian Goessmann <florian wallweg39.de> 14 frankw,Frank Warmerdam <warmerdam pobox.om> 15 glynn,Glynn Clements <glynn gclements.plus.com> 16 hamish,Hamish Bowman <hamish_nospam yahoo.com> 17 helena,Helena Mitasova <hmitaso unity.ncsu.edu> 18 jachym,Jachym Cepicky <jachym les-ejk.cz> 19 jan,Jan-Oliver Wagner <jan intevation.de> 20 john,John Huddleston <jhudd.lamar colostate.edu> 21 justin,Justin Hickey <jhickey hpcc.nectec.or.th> 22 markus,Markus Neteler <neteler itc.it> 23 martin,Martin Wegmann <wegmann biozentrum.uni-wuerzburg.de> 24 martinl,Martin Landa <landa.martin gmail.com> 25 massimo,Massimo Cuomo <m.cuomo acsys.it> 26 michael,Michael Barton <michael.barton asu.edu> 27 mike,Mike Thomas <miketh brisbane.paradigmgeo.com> 28 moritz,Moritz Lennert <mlennert club.worldonline.be> 29 paul,Paul Kelly <paul-grass stjohnspoint.co.uk> 30 paulo,Paulo Marcondes <pmarc.debian gmail.com> 31 pallech,Serena Pallecchi <pallecch cli.di.unipi.it> 32 radim,Radim Blazek <radim.blazek gmail.com> 33 roberto,Roberto Micarelli <miro iol.it> 34 robertoa,Roberto Antolin <roberto geomatica como.polimi.it> 35 roger,Roger S. Miller <rgrmill rt66.com> 36 scott,Scott Mitchell <smitch mac.com> 37 soeren,Soeren Gebbert <soeren.gebbert gmx.de> 38 stephan,Stephan Holl <holl gdf-hannover.de> 39 william,William Kyngesburye <kyngchaos kyngchaos.com> 40 wolf,Wolf Bergenheim <wolf+grass bergenheim.net> 1 cvs_id,name,email,osgeo_id,rfc2_agreed 2 -,Eric Patton,<epatton nrcan.gc.ca>,epatton,yes 3 alex,Alex Shevlakov,<sixote yahoo.com>,,- 4 andreas,Andreas Lange,<andreas.c.lange gmx.de>,,- 5 benjamin,Benjamin Ducke,<benjamin.ducke ufg.uni-kiel.de>,benducke,yes 6 bernhard,Bernhard Reiter,<bernhard intevation.de>,,- 7 bob,Bob Covill,<bcovill tekmap.ns.ca>,,- 8 brad,Brad Douglas,<rez touchofmadness.com>,bdouglas,yes 9 carlos,Carlos Davila,<cdavilam jemila.jazztel.es>,cdavilam,yes 10 cedric,Cedric Shock,<cedricgrass shockfamily.net>,,- 11 cho,Huidae Cho,<grass4u gmail.com>,hcho,yes 12 danielc,Daniel Calvelo Aros,<dca.gis gmail.com>,dcalvelo,yes 13 david,David D. Gray,<ddgray armadce.demon.co.uk>,,- 14 eric,Eric G. Miller,<egm2 jps.net>,,- 15 florian,Florian Goessmann,<florian wallweg39.de>,,- 16 frankw,Frank Warmerdam,<warmerdam pobox.com>,warmerdam,- 17 glynn,Glynn Clements,<glynn gclements.plus.com>,glynn,yes 18 hamish,Hamish Bowman,<hamish_b yahoo.com>,hamish,yes 19 helena,Helena Mitasova,<hmitaso unity.ncsu.edu>,helena,yes 20 jachym,Jachym Cepicky,<jachym.cepicky gmail.com>,jachym,yes 21 jan,Jan-Oliver Wagner,<jan intevation.de>,,- 22 john,John Huddleston,<jhudd.lamar colostate.edu>,,- 23 justin,Justin Hickey,<jhickey hpcc.nectec.or.th>,,- 24 markus,Markus Neteler,<neteler fbk.eu>,neteler,yes 25 martin,Martin Wegmann,<wegmann biozentrum.uni-wuerzburg.de>,wegmann,- 26 martinl,Martin Landa,<landa.martin gmail.com>,martinl,yes 27 massimo,Massimo Cuomo,<m.cuomo acsys.it>,,- 28 michael,Michael Barton,<michael.barton asu.edu>,cmbarton,yes 29 mike,Mike Thomas,<miketh brisbane.paradigmgeo.com>,,- 30 moritz,Moritz Lennert,<mlennert club.worldonline.be>,mlennert,yes 31 msieczka,Maciek Sieczka,<tutey o2.pl>,msieczka,yes 32 paul,Paul Kelly,<paul-grass stjohnspoint.co.uk>,pkelly,yes 33 paulo,Paulo Marcondes,<pmarc.debian gmail.com>,pmarcondes,- 34 pallech,Serena Pallecchi,<pallecch cli.di.unipi.it>,,- 35 radim,Radim Blazek,<radim.blazek gmail.com>,rblazek,- 36 roberto,Roberto Micarelli,<miro iol.it>,,- 37 robertoa,Roberto Antolin,<roberto geomatica.como.polimi.it>,rantolin,yes 38 roger,Roger S. Miller,<rgrmill rt66.com>,,- 39 scott,Scott Mitchell,<smitch mac.com>,smitch,yes 40 soeren,Soeren Gebbert,<soerengebbert googlemail.com>,,- 41 stephan,Stephan Holl,<stephan.holl intevation.de>,sholl,yes 42 william,William Kyngesburye,<kyngchaos kyngchaos.com>,kyngchaos,yes 43 wolf,Wolf Bergenheim,<wolf+grass bergenheim.net>,wolf,yes -
grass/branches/releasebranch_6_3/contributors_extra.csv
r24970 r29462 1 Andrea Aime <aaime comune modena it> 2 Lars Ahlzen <lars ahlzen com> 3 Carl Anderson <candrsn mindspring com> 4 Roger Bivand <Roger Bivand nhh no> 5 Malcolm Blue <mblue nb sympatico ca> 6 Jacques Bouchard <bouchard onera fr> 7 Maria Brovelli <maria brovelli polimi it> 8 William Brown <brown gis uiuc edu> 9 Bruce Byars <Bruce_Byars baylor edu> 10 Angus Carr <apcarr flash lakeheadu ca> 11 Otto Dassau <dassau gdf-hannover de> 12 Charles Ehlschlaeger <cre111 wiu edu> 13 Pierre de Mouveaux <pierre polaris-technologies com> 14 Roberto Flor <flor itc it> 15 Antonio Galea <ant9000 netwise it> 16 Ralf Gerlich <ralf gerlich at bsse biz> 17 Jaro Hofierka <hofierka geomodel sk> 18 Stephan Holl <stephan holl-land de> 19 Bill Hughes <bhughes grasshoppernet com> 20 Ari Jolma <ari jolma tkk fi> 21 Jeshua Lacock <jeshua OpenOSX com> 22 Andreas Lange <Andreas Lange Rhein-Main de> 23 Roger Miller <rgrmill rt66 com> 24 Brook Milligan <brook trillium NMSU Edu> 25 Lubos Mitas <lmitas ncsa uiuc edu> 26 Eric Mitchell <emitchell altaira com> 27 Scott Mitchell <smitch mac com> 28 Lorenzo Moretti <lorenzo moretti bologna enea it> 29 Maris Nartiss <maris nartiss gmail com> 30 Tomas Paudits <tpaudits mailbox sk> 31 Francesco Pirotti <francesco pirotti unipd it> 32 Phisan Santitamnont <fsvpss eng chula ac th> 33 Christoph Simon <ciccio kiosknet com br> 34 Job Spijker <spijker geo uu nl> 35 Laura Toma <ltoma bowdoin edu> 36 Alfonso Vitti <alfonso vitti ing unitn it> 37 Philip Warner <pjw rhyme com au> 38 Trevor Wiens <twiens interbaun com> 39 Michel Wurtz <mw teledetection fr> 1 name,email,rfc2_agreed 2 Andrea Aime,<aaime openplans.org>,- 3 Lars Ahlzen,<lars ahlzen.com>,- 4 Carl Anderson,<candrsn mindspring.com>,- 5 Dylan Beaudette,<dylan.beaudette gmail.com>,yes 6 Roger Bivand,<Roger Bivand nhh.no>,- 7 Malcolm Blue,<mblue nb sympatico.ca>,- 8 Jacques Bouchard,<bouchard onera.fr>,- 9 Maria Brovelli,<maria.brovelli polimi.it>,- 10 William Brown,<brown gis.uiuc.edu>,- 11 Bruce Byars,<Bruce_Byars baylor.edu>,- 12 Angus Carr,<apcarr flash lakeheadu.ca>,- 13 Otto Dassau,<otto.dassau gmx de>,- 14 Charles Ehlschlaeger,<cre111 wiu.edu>,- 15 Pierre de Mouveaux,<pierre polaris-technologies.com>,- 16 Roberto Flor,<flor fbk.eu>,- 17 Antonio Galea,<ant9000 netwise.it>,- 18 Ralf Gerlich,<ralf gerlich at bsse.biz>,- 19 Jaro Hofierka,<hofierka geomodel.sk>,- 20 Stephan Holl,<stephan holl-land.de>,- 21 Bill Hughes,<bhughes grasshoppernet.com>,- 22 Ari Jolma,<ari jolma tkk fi>,- 23 Jeshua Lacock,<jeshua OpenOSX.com>,- 24 Roger Miller,<rgrmill rt66.com>,- 25 Brook Milligan,<brook trillium nmsu.edu>,- 26 Lubos Mitas,<lmitas ncsa uiuc.edu>,- 27 Eric Mitchell,<emitchell altaira.com>,- 28 Scott Mitchell,<smitch mac.com>,- 29 Lorenzo Moretti,<lorenzo moretti bologna.enea.it>,- 30 Maris Nartiss,<maris nartiss gmail.com>,- 31 Tomas Paudits,<tpaudits mailbox.sk>,- 32 Francesco Pirotti,<francesco.pirotti unipd.it>,- 33 Phisan Santitamnont,<fsvpss eng.chula.ac.th>,- 34 Christoph Simon,<ciccio kiosknet.com.br>,- 35 Job Spijker,<spijker geo.uu.nl>,- 36 Laura Toma,<ltoma bowdoin.edu>,- 37 Alfonso Vitti,<alfonso vitti ing.unitn.it>,- 38 Philip Warner,<pjw rhyme com.au>,- 39 Trevor Wiens,<twiens interbaun.com>,- 40 Michel Wurtz,<mw teledetection.fr>,- -
grass/branches/releasebranch_6_3/db/drivers/postgres/README
r24377 r29462 15 15 Because of this, type codes must be read from server when database is opened. 16 16 17 Supported types: 17 Check also for PostgreSQL data types for defining them in GRASS: 18 /usr/include/pgsql/server/catalog/pg_type.h 19 20 21 Supported types in ./globals.h: 18 22 (http://www.postgresql.org/docs/8.2/interactive/datatype.html) 19 23 DB_C_TYPE_INT: -
grass/branches/releasebranch_6_3/lib/grasslib.dox
r23243 r29462 19 19 code. This work is part of ongoing research being performed by the 20 20 GRASS Development Team coordinated at 21 <a href="http://mpa. itc.it/">FBK-irst</A>(formerly ITC-irst), Trento, Italy,21 <a href="http://mpa.fbk.eu/">FBK-irst</A>(formerly ITC-irst), Trento, Italy, 22 22 an international team of programmers, 23 23 GRASS module authors are cited within their module's source code and the … … 32 32 Osnabrück, Germany, who provide the GRASS CVS repository. 33 33 34 Main web site: <a href="http://grass. itc.it">http://grass.itc.it</a>34 Main web site: <a href="http://grass.osgeo.org">http://grass.osgeo.org</a> 35 35 36 36 <P> … … 142 142 </ul> 143 143 144 <img src="http://grass. itc.it/images/loc_struct.png" alt="Diagram of GRASS file structure">144 <img src="http://grass.osgeo.org/images/loc_struct.png" alt="Diagram of GRASS file structure"> 145 145 146 146 */ -
grass/branches/releasebranch_6_3/lib/init/gis_set.tcl
r24800 r29462 142 142 if {[string compare $filename "PERMANENT"] == 0} { 143 143 # All good locations have valid PERMANENT mapset. 144 if {[file exists "$dir/PERMANENT/ WIND"] != 0} {144 if {[file exists "$dir/PERMANENT/DEFAULT_WIND"] != 0} { 145 145 set found 1 146 146 .frame0.frameNMS.second.entry configure -state normal -
grass/branches/releasebranch_6_3/lib/init/grass_intro.txt
r16013 r29462 10 10 11 11 3) Check the GRASS webpages for feedback mailinglists and more: 12 http:// grass.itc.it/13 http://grass. ibiblio.edu/12 http://www.grass-gis.org 13 http://grass.osgeo.org -
grass/branches/releasebranch_6_3/lib/init/init.sh
r25400 r29462 802 802 fi 803 803 804 echo "GRASS homepage: http://grass. itc.it/"804 echo "GRASS homepage: http://grass.osgeo.org/" 805 805 echo "This version running thru: $shellname ($SHELL)" 806 806 echo "Help is available with the command: g.manual -i" -
grass/branches/releasebranch_6_3/macosx/Makefile
r24856 r29462 14 14 LN = /bin/ln -sf 15 15 LN_DIR = /bin/ln -sfh 16 17 # packagemaker location, options and behaviour changed in xcode 3 18 ifeq ($(findstring darwin9,$(ARCH)),darwin9) 19 XCODE_VER = xcode3 20 PACKAGEMAKER = /Developer/usr/bin/packagemaker 21 PKG_INST_DIR = ${prefix} 22 else 23 XCODE_VER = xcode2 24 PACKAGEMAKER = /Developer/Tools/packagemaker 25 PKG_INST_DIR = ${prefix}/${MACOSX_APP_NAME} 26 endif 16 27 17 28 SUBDIRS = … … 99 110 -chmod a+rx dist/resources/postflight 100 111 -sed -e "s#@GRASS_VER@#${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINOR}#g" pkg/resources/Description.plist.in > dist/Description.plist 101 -sed -e "s#@GRASS_VERSION_MAJOR@#${GRASS_VERSION_MAJOR}#g" -e "s#@GRASS_VERSION_MINOR@#${GRASS_VERSION_MINOR}#g" -e "s#@GRASS_VERSION_RELEASE@#${GRASS_VERSION_RELEASE}#g" -e "s#@VER_MINOR_REL@#${VER_MINOR_REL}#g" -e "s#@VER_DATE@#${VER_DATE}#g" -e "s#@PKG_INST_DIR@#${ prefix}/${MACOSX_APP_NAME}#g" pkg/resources/Info.plist.in > dist/Info.plist112 -sed -e "s#@GRASS_VERSION_MAJOR@#${GRASS_VERSION_MAJOR}#g" -e "s#@GRASS_VERSION_MINOR@#${GRASS_VERSION_MINOR}#g" -e "s#@GRASS_VERSION_RELEASE@#${GRASS_VERSION_RELEASE}#g" -e "s#@VER_MINOR_REL@#${VER_MINOR_REL}#g" -e "s#@VER_DATE@#${VER_DATE}#g" -e "s#@PKG_INST_DIR@#${PKG_INST_DIR}#g" pkg/resources/Info.plist.in > dist/Info.plist 102 113 -${INSTALL_DATA} pkg/resources/License.rtf dist/resources 103 114 -${INSTALL_DATA} pkg/resources/ReadMe.rtf dist/resources 104 115 -cd ${GISBASE} ; tar cBf - modbuild | (cd ${GRASS_HOME}/macosx/dist/resources ; tar xBf - ) 2>/dev/null 105 116 @# build the package 106 /Developer/Tools/packagemaker -build -ds -p "GRASS-${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINOR}.pkg" -f dist/${MACOSX_APP_NAME} -r dist/resources -i dist/Info.plist -d dist/Description.plist 117 ifeq ($(XCODE_VER),xcode3) 118 ${PACKAGEMAKER} --target 10.4 --root-volume-only --id org.osgeo.grass --root dist/${MACOSX_APP_NAME} --info dist/Info.plist --out "GRASS-${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINOR}.pkg" --resources dist/resources 119 else 120 ${PACKAGEMAKER} -build -ds -p "GRASS-${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINOR}.pkg" -f dist/${MACOSX_APP_NAME} -r dist/resources -i dist/Info.plist -d dist/Description.plist 121 endif 107 122 @# remove intermediate files 108 123 @# -rm -rf dist 2>/dev/null -
grass/branches/releasebranch_6_3/macosx/app/Info.plist.in
r24406 r29462 12 12 <string>app.icns</string> 13 13 <key>CFBundleIdentifier</key> 14 <string> it.itc.grass6</string>14 <string>org.osgeo.grass6</string> 15 15 <key>CFBundleInfoDictionaryVersion</key> 16 16 <string>6.0</string> -
grass/branches/releasebranch_6_3/macosx/pkg/resources/Info.plist.in
r24857 r29462 6 6 <string>GRASS-@GRASS_VERSION_MAJOR@.@GRASS_VERSION_MINOR@.@GRASS_VERSION_RELEASE@</string> 7 7 <key>CFBundleIdentifier</key> 8 <string> it.itc.grass</string>8 <string>org.osgeo.grass</string> 9 9 <key>CFBundleShortVersionString</key> 10 10 <string>@GRASS_VERSION_MAJOR@.@VER_MINOR_REL@.@VER_DATE@</string> -
grass/branches/releasebranch_6_3/ps/ps.map/description.html
r25081 r29462 202 202 The default is a black border box of width 1 point. 203 203 <P> 204 The border can be turned off completely with the 205 "<tt>border n</tt>" instruction. In this case 206 the <B>end</B> command should not be given as the 207 main command will be treated as a single line instruction. 208 <P> 204 209 205 210 This example would create a grey border 0.1" wide. … … 260 265 do this, you could write a script to add dummy labels to the cats file<br> 261 266 (<gisdbase>/<location>/<mapset>/cats/<mapname>). 267 <P> 268 If the colortable is turned off with a "<tt>colortable n</tt>" 269 instruction the <B>end</B> command should not be given as the 270 main command will be treated as a single line instruction. 262 271 263 272 <P> -
grass/branches/releasebranch_6_3/raster/r.average/description.html
r24915 r29462 30 30 <EM>cover</EM> map will be averaged. 31 31 32 The < B>cover</B> map isn existing raster map layer containing the values32 The <EM>cover</EM> map is an existing raster map layer containing the values 33 33 (in the form of cell category values or cell category labels) to be averaged 34 34 within each category of the <EM>base</EM> map. 35 36 <H2>NOTES</H2> 37 38 The <B>-c</B> option requires that the category label for 39 each category in the <EM>cover</EM> map be a valid number, 40 integer, or decimal. To be exact, if the first item in the 41 label is numeric, then that value is used. Otherwise, zero 42 is used. The following table covers all possible cases: 43 44 <P> 45 <PRE> 46 category value 47 label used by -c 48 ______________________ 49 .12 .12 50 .80 KF .8 51 no data 0 52 </PRE> 53 <P> 54 55 (This flag is very similar to the @ operator in 56 <EM><A HREF="r.mapcalc.html">r.mapcalc</A></EM>, 57 and the user is encouraged to read the manual entry for 58 <EM><A HREF="r.mapcalc.html">r.mapcalc</A></EM> 59 to see how it works there.) 60 61 <P> 62 63 The user should use the results of <EM>r.average</EM> with 64 care. Since this utility assigns a value to each cell 65 which is based on global information (i.e., information at 66 spatial locations other than just the location of the cell 67 itself), the resultant map layer is only valid if the 68 geographic region and mask settings are the same as they 69 were at the time that the result map was created. 70 71 <P> 72 73 Results are affected by the current region settings and mask. 35 74 36 75 <H2>EXAMPLE</H2> … … 82 121 </PRE> 83 122 84 <H2>NOTES</H2>85 123 86 The <B>-c</B> option requires that the category label for87 each category in the <EM>cover</EM> map be a valid number,88 integer, or decimal. To be exact, if the first item in the89 label is numeric, then that value is used. Otherwise, zero90 is used. The following table covers all possible cases:91 92 <P>93 <PRE>94 category value95 label used by -c96 ______________________97 .12 .1298 .80 KF .899 no data 0100 </PRE>101 102 <P>103 (This flag is very similar to the @ operator in104 <EM><A HREF="r.mapcalc.html">r.mapcalc</A></EM>,105 and the user is encouraged to read the manual entry for106 <EM><A HREF="r.mapcalc.html">r.mapcalc</A></EM>107 to see how it works there.)108 109 <P>110 111 The user should use the results of <EM>r.average</EM> with112 care. Since this utility assigns a value to each cell113 which is based on global information (i.e., information at114 spatial locations other than just the location of the cell115 itself), the resultant map layer is only valid if the116 geographic region and mask settings are the same as they117 were at the time that the result map was created.118 119 <P>120 121 Results are affected by the current region settings and mask.122 124 123 125 <H2>SEE ALSO</H2> -
grass/branches/releasebranch_6_3/raster/r.buffer/description.html
r21028 r29462 38 38 zone's lower value is the previous zone's upper value. The 39 39 first buffer zone always has distance <tt>0</tt> as its lower 40 bound.) Distances can be entered in one of five units:41 <EM>meters, kilometers, feet, miles</EM>, and <EM>nautmiles</EM>40 bound.) Buffer distances can be specified using one of five units with the <EM> 41 units</EM> parameter: <EM>meters, kilometers, feet, miles</EM>, and <EM>nautmiles</EM> 42 42 (nautical miles). 43 43 <P> … … 45 45 <!-- ??? is this the real method used or some ancient option ??? --> 46 46 Distances from cells containing the user-specified category values 47 are calculated using the "fromcell" method. This method goes toeach47 are calculated using the "fromcell" method. This method locates each 48 48 cell that contains a category value from which distances are to be 49 49 calculated, and draws the requested distance rings around … … 66 66 <EM><A HREF="r.reclass.html">r.reclass</A></EM> prior to 67 67 <EM>r.buffer</EM>, to reclass all categories from which distance zones 68 are not desired to be calculated into category NULL. 68 are not desired to be calculated into category NULL. 69 <P> 69 70 71 The <B>-z</B> flag can be used to ignore raster values of zero instead of NULL 72 values in the input raster map. 73 <P> 70 74 71 75 <H2>EXAMPLE</H2> -
grass/branches/releasebranch_6_3/raster/r.gwflow/description.html
r24308 r29462 3 3 unconfined groundwater flow in two dimensions based on 4 4 raster maps and the current region resolution. 5 All initial - and boundary-conditions must be provided as5 All initial and boundary conditions must be provided as 6 6 raster maps. 7 <br> 8 <br> 9 r.gwflow calculates the piezometric head and optionally the 7 8 <p> 9 <center> 10 <img src=r_gwflow_concept.png border=0><BR> 11 <table border=0 width=700> 12 <tr><td><center> 13 <i>Workflow of r.gwflow</i> 14 </center></td></tr> 15 </table> 16 </center> 17 <p> 18 19 <em>r.gwflow</em> calculates the piezometric head and optionally the 10 20 filter velocity field, based on the hydraulic conductivity and the piezometric head. 11 21 The vector components can be visualized with paraview if they are exported 12 with r.out.vtk.22 with <em>r.out.vtk</em>. 13 23 <br> 14 24 <br> … … 57 67 Aditionally a direct Gauss solver and LU solver are available. Those direct solvers 58 68 only work with normal quadratic matrices, so be careful using them with large maps 59 (maps of size 10.000 cells will need more than one gigabyte of ram).69 (maps of size 10.000 cells will need more than one gigabyte of RAM). 60 70 Always prefer a sparse matrix solver. 61 71 … … 98 108 paraview --data=/tmp/gwdata_conf2d.vtk & 99 109 paraview --data=/tmp/gwdata_unconf2d.vtk & 100 101 102 110 </pre></div> 103 111 -
grass/branches/releasebranch_6_3/raster/r.in.gdal/description.html
r24448 r29462 26 26 27 27 Selected formats of more than 40 supported formats: 28 29 <table border="1"> 30 <tbody> 31 <tr> 32 <th>Long Format Name</th> 33 <th>Code</th> 34 <th>Creation</th> 35 <th>Georeferencing</th> 36 <th>Maximum file size</th> 37 </tr> 38 <tr> 39 <td> Arc/Info ASCII Grid 40 </td> 41 <td> AAIGrid 42 </td> 43 <td> Yes 44 </td> 45 <td> Yes 46 </td> 47 <td> No limits 48 </td> 49 </tr> 50 <tr> 51 <td> Arc/Info Binary Grid (.adf) 52 </td> 53 <td> AIG 54 </td> 55 <td> No 56 </td> 57 <td> Yes 58 </td> 59 <td> -- 60 </td> 61 </tr> 62 <tr> 63 <td> AIRSAR Polarimetric 64 </td> 65 <td> AIRSAR 66 </td> 67 <td> No 68 </td> 69 <td> No 70 </td> 71 <td> -- 72 </td> 73 </tr> 74 <tr> 75 <td> Microsoft Windows Device Independent Bitmap (.bmp) 76 </td> 77 <td> BMP 78 </td> 79 <td> Yes 80 </td> 81 <td> Yes 82 </td> 83 <td> 4GiB 84 </td> 85 </tr> 86 <tr> 87 <td> BSB Nautical Chart Format (.kap) 88 </td> 89 <td> BSB 90 </td> 91 <td> No 92 </td> 93 <td> Yes 94 </td> 95 <td> -- 96 </td> 97 </tr> 98 <tr> 99 <td> VTP Binary Terrain Format (.bt) 100 </td> 101 <td> BT 102 </td> 103 <td> Yes 104 </td> 105 <td> Yes 106 </td> 107 <td> -- 108 </td> 109 </tr> 110 <tr> 111 <td> CEOS (Spot for instance) 112 </td> 113 <td> CEOS 114 </td> 115 <td> No 116 </td> 117 <td> No 118 </td> 119 <td> -- 120 </td> 121 </tr> 122 <tr> 123 <td> First Generation USGS DOQ (.doq) 124 </td> 125 <td> DOQ1 126 </td> 127 <td> No 128 </td> 129 <td> Yes 130 </td> 131 <td> -- 132 </td> 133 </tr> 134 <tr> 135 <td> New Labelled USGS DOQ (.doq) 136 </td> 137 <td> DOQ2 138 </td> 139 <td> No 140 </td> 141 <td> Yes 142 </td> 143 <td> -- 144 </td> 145 </tr> 146 <tr> 147 <td> Military Elevation Data (.dt0, .dt1) 148 </td> 149 <td> DTED 150 </td> 151 <td> No 152 </td> 153 <td> Yes 154 </td> 155 <td> -- 156 </td> 157 </tr> 158 <tr> 159 <td> ERMapper Compressed Wavelets (.ecw) 160 </td> 161 <td> ECW 162 </td> 163 <td> Yes 164 </td> 165 <td> Yes 166 </td> 167 <td><br> 168 </td> 169 </tr> 170 <tr> 171 <td> ESRI .hdr Labelled 172 </td> 173 <td> EHdr 174 </td> 175 <td> No 176 </td> 177 <td> Yes 178 </td> 179 <td> -- 180 </td> 181 </tr> 182 <tr> 183 <td> ENVI .hdr Labelled Raster 184 </td> 185 <td> ENVI 186 </td> 187 <td> Yes 188 </td> 189 <td> Yes 190 </td> 191 <td> No limits 192 </td> 193 </tr> 194 <tr> 195 <td> Envisat Image Product (.n1) 196 </td> 197 <td> Envisat 198 </td> 199 <td> No 200 </td> 201 <td> No 202 </td> 203 <td> -- 204 </td> 205 </tr> 206 <tr> 207 <td> EOSAT FAST Format 208 </td> 209 <td> FAST 210 </td> 211 <td> No 212 </td> 213 <td> Yes 214 </td> 215 <td> -- 216 </td> 217 </tr> 218 <tr> 219 <td> FITS (.fits) 220 </td> 221 <td> FITS 222 </td> 223 <td> Yes 224 </td> 225 <td> No 226 </td> 227 <td><br> 228 </td> 229 </tr> 230 <tr> 231 <td> Graphics Interchange Format (.gif) 232 </td> 233 <td> GIF 234 </td> 235 <td> Yes 236 </td> 237 <td> No 238 </td> 239 <td> 2GB 240 </td> 241 </tr> 242 <tr> 243 <td> Arc/Info Binary Grid (.adf) 244 </td> 245 <td> GIO 246 </td> 247 <td> Yes 248 </td> 249 <td> Yes 250 </td> 251 <td><br> 252 </td> 253 </tr> 254 <tr> 255 <td> GRASS Rasters 256 </td> 257 <td> GRASS 258 </td> 259 <td> No 260 </td> 261 <td> Yes 262 </td> 263 <td> -- 264 </td> 265 </tr> 266 <tr> 267 <td> TIFF / GeoTIFF (.tif) 268 </td> 269 <td> GTiff 270 </td> 271 <td> Yes 272 </td> 273 <td> Yes 274 </td> 275 <td> 4GiB 276 </td> 277 </tr> 278 <tr> 279 <td> Hierarchical Data Format Release 4 (HDF4) 280 </td> 281 <td> HDF4 282 </td> 283 <td> Yes 284 </td> 285 <td> Yes 286 </td> 287 <td> 2GiB 288 </td> 289 </tr> 290 <tr> 291 <td> Erdas Imagine (.img) 292 </td> 293 <td> HFA 294 </td> 295 <td> Yes 296 </td> 297 <td> Yes 298 </td> 299 <td> No limits 300 </td> 301 </tr> 302 <tr> 303 <td> Atlantis MFF2e 304 </td> 305 <td> HKV 306 </td> 307 <td> Yes 308 </td> 309 <td> Yes 310 </td> 311 <td> No limits 312 </td> 313 </tr> 314 <tr> 315 <td> Image Display and Analysis (WinDisp) 316 </td> 317 <td> IDA 318 </td> 319 <td> Yes 320 </td> 321 <td> Yes 322 </td> 323 <td> 2GB 324 </td> 325 </tr> 326 <tr> 327 <td> ILWIS Raster Map (.mpr,.mpl) 328 </td> 329 <td> ILWIS 330 </td> 331 <td> Yes 332 </td> 333 <td> Yes 334 </td> 335 <td> -- 336 </td> 337 </tr> 338 <tr> 339 <td> Japanese DEM (.mem) 340 </td> 341 <td> JDEM 342 </td> 343 <td> No 344 </td> 345 <td> Yes 346 </td> 347 <td> -- 348 </td> 349 </tr> 350 <tr> 351 <td> JPEG JFIF (.jpg) 352 </td> 353 <td> JPEG 354 </td> 355 <td> Yes 356 </td> 357 <td> Yes 358 </td> 359 <td> 4GiB (max dimentions 65500x65500) 360 </td> 361 </tr> 362 <tr> 363 <td> JPEG2000 (.jp2, .j2k) 364 </td> 365 <td> JPEG2000 366 </td> 367 <td> Yes 368 </td> 369 <td> Yes 370 </td> 371 <td> 2GiB 372 </td> 373 </tr> 374 <tr> 375 <td> JPEG2000 (.jp2, .j2k) 376 </td> 377 <td> JP2KAK 378 </td> 379 <td> Yes 380 </td> 381 <td> Yes 382 </td> 383 <td> No limits 384 </td> 385 </tr> 386 <tr> 387 <td> NOAA Polar Orbiter Level 1b Data Set (AVHRR) 388 </td> 389 <td> L1B 390 </td> 391 <td> No 392 </td> 393 <td> Yes 394 </td> 395 <td> -- 396 </td> 397 </tr> 398 <tr> 399 <td> Erdas 7.x .LAN and .GIS 400 </td> 401 <td> LAN 402 </td> 403 <td> No 404 </td> 405 <td> Yes 406 </td> 407 <td> 2GB 408 </td> 409 </tr> 410 <tr> 411 <td> In Memory Raster 412 </td> 413 <td> MEM 414 </td> 415 <td> Yes 416 </td> 417 <td> Yes 418 </td> 419 <td> 2GiB 420 </td> 421 </tr> 422 <tr> 423 <td> Atlantis MFF 424 </td> 425 <td> MFF 426 </td> 427 <td> Yes 428 </td> 429 <td> Yes 430 </td> 431 <td> No limits 432 </td> 433 </tr> 434 <tr> 435 <td> Multi-resolution Seamless Image Database 436 </td> 437 <td> MrSID 438 </td> 439 <td> No 440 </td> 441 <td> Yes 442 </td> 443 <td> -- 444 </td> 445 </tr> 446 <tr> 447 <td> NDF 448 </td> 449 <td> NLAPS Data Format 450 </td> 451 <td> No 452 </td> 453 <td> Yes 454 </td> 455 <td> No limits 456 </td> 457 </tr> 458 <tr> 459 <td> NITF 460 </td> 461 <td> NITF 462 </td> 463 <td> Yes 464 </td> 465 <td> Yes 466 </td> 467 <td><br> 468 </td> 469 </tr> 470 <tr> 471 <td> NetCDF 472 </td> 473 <td> netCDF 474 </td> 475 <td> Yes 476 </td> 477 <td> Yes 478 </td> 479 <td> 2GB 480 </td> 481 </tr> 482 <tr> 483 <td> OGDI Bridge 484 </td> 485 <td> OGDI 486 </td> 487 <td> No 488 </td> 489 <td> Yes 490 </td> 491 <td> -- 492 </td> 493 </tr> 494 <tr> 495 <td> PCI .aux Labelled 496 </td> 497 <td> PAux 498 </td> 499 <td> Yes 500 </td> 501 <td> No 502 </td> 503 <td> No limits 504 </td> 505 </tr> 506 <tr> 507 <td> PCI Geomatics Database File 508 </td> 509 <td> PCIDSK 510 </td> 511 <td> Yes 512 </td> 513 <td> Yes 514 </td> 515 <td> No limits 516 </td> 517 </tr> 518 <tr> 519 <td> Portable Network Graphics (.png) 520 </td> 521 <td> PNG 522 </td> 523 <td> Yes 524 </td> 525 <td> No 526 </td> 527 <td><br> 528 </td> 529 </tr> 530 <tr> 531 <td> PCRaster (.map) 532 </td> 533 <td> PCRaster 534 </td> 535 <td> Yes 536 </td> 537 <td> No 538 </td> 539 <td><br> 540 </td> 541 </tr> 542 <tr> 543 <td> Netpbm (.ppm,.pgm) 544 </td> 545 <td> PNM 546 </td> 547 <td> Yes 548 </td> 549 <td> No 550 </td> 551 <td> No limits 552 </td> 553 </tr> 554 <tr> 555 <td> RadarSat2 XML (product.xml) 556 </td> 557 <td> RS2 558 </td> 559 <td> No 560 </td> 561 <td> Yes 562 </td> 563 <td> 4GB 564 </td> 565 </tr> 566 <tr> 567 <td> USGS SDTS DEM (*CATD.DDF) 568 </td> 569 <td> SDTS 570 </td> 571 <td> No 572 </td> 573 <td> Yes 574 </td> 575 <td> -- 576 </td> 577 </tr> 578 <tr> 579 <td> SAR CEOS 580 </td> 581 <td> SAR_CEOS 582 </td> 583 <td> No 584 </td> 585 <td> Yes 586 </td> 587 <td> -- 588 </td> 589 </tr> 590 <tr> 591 <td> USGS ASCII DEM (.dem) 592 </td> 593 <td> USGSDEM 594 </td> 595 <td> No 596 </td> 597 <td> Yes 598 </td> 599 <td> -- 600 </td> 601 </tr> 602 <tr> 603 <td> X11 Pixmap (.xpm) 604 </td> 605 <td> XPM 606 </td> 607 <td> Yes 608 </td> 609 <td> No 610 </td> 611 <td><br> 612 </td> 613 </tr> 614 </tbody> 615 </table> 616 28 <PRE> 29 30 Long Format Name Code Creation Georeferencing Maximum File Size 31 32 Arc/Info ASCII Grid AAIGrid Yes Yes No limits 33 Arc/Info Binary Grid AIG No Yes -- 34 AIRSAR Polarimetric AIRSAR No No -- 35 Microsoft Windows Device Independent Bitmap (.bmp) BMP Yes Yes 4GiB 36 BSB Nautical Chart Format (.kap) BSB No Yes -- 37 VTP Binary Terrain Format (.bt) BT Yes Yes -- 38 CEOS (Spot for instance) CEOS No No -- 39 First Generation USGS DOQ (.doq) DOQ1 No Yes -- 40 New Labelled USGS DOQ (.doq) DOQ2 No Yes -- 41 Data (.dt0, .dt1) DTED No Yes -- 42 ERMapper Compressed Wavelets (.ecw) ECW Yes Yes 43 ESRI .hdr Labelled EHdr No Yes -- 44 ENVI .hdr Labelled Raster ENVI Yes Yes No limits 45 Envisat Image Product (.n1) Envisat No No -- 46 EOSAT FAST Format FAST No Yes -- 47 FITS (.fits) FITS Yes No 48 Graphics Interchange Format (.gif) GIF Yes No 2GB 49 Arc/Info Binary Grid (.adf) GIO Yes Yes 50 GRASS Rasters GRASS No Yes -- 51 TIFF / GeoTIFF (.tif) GTiff Yes Yes 4GiB 52 Hierarchical Data Format Release 4 (HDF4) HDF4 Yes Yes 2GiB 53 Erdas Imagine (.img) HFA Yes Yes No limits 54 Atlantis MFF2e HKV Yes Yes No limits 55 Image Display and Analysis (WinDisp) IDA Yes Yes 2GB 56 ILWIS Raster Map (.mpr,.mpl) ILWIS Yes Yes -- 57 Japanese DEM (.mem) JDEM No Yes -- 58 JPEG JFIF (.jpg) JPEG Yes Yes 4GiB (max dimentions 65500x65500) 59 JPEG2000 (.jp2, .j2k) JPEG2000 Yes Yes 2GiB 60 JPEG2000 (.jp2, .j2k) JP2KAK Yes Yes No limits 61 NOAA Polar Orbiter Level 1b Data Set (AVHRR) L1B No Yes -- 62 Erdas 7.x .LAN and .GIS LAN No Yes 2GB 63 In Memory Raster MEM Yes Yes 2GiB 64 Atlantis MFF MFF Yes Yes No limits 65 Multi-resolution Seamless Image Database MrSID No Yes -- 66 NDF NLAPS Data Format No Yes No limits 67 NITF NITF Yes Yes 68 NetCDF netCDF Yes Yes 2GB 69 OGDI Bridge OGDI No Yes -- 70 PCI .aux Labelled PAux Yes No No limits 71 PCI Geomatics Database File PCIDSK Yes Yes No limits 72 Portable Network Graphics (.png) PNG Yes No 73 PCRaster (.map) PCRaster Yes No 74 Netpbm (.ppm,.pgm) PNM Yes No No limits 75 RadarSat2 XML (product.xml) RS2 No Yes 4GB 76 USGS SDTS DEM (*CATD.DDF) SDTS No Yes -- 77 SAR CEOS SAR_CEOS No Yes -- 78 USGS ASCII DEM (.dem) USGSDEM No Yes -- 79 X11 Pixmap (.xpm) XPM Yes No 80 </PRE> 617 81 <H2>Location Creation</H2> 618 82 -
grass/branches/releasebranch_6_3/raster/r.le/r.le.setup/sample.c
r23552 r29462 23 23 #include <stdlib.h> 24 24 #include <grass/gis.h> 25 #include <grass/site.h> 26 #include "setup.h" 25 #include <grass/Vect.h> 27 26 #include <grass/config.h> 28 27 #include <grass/raster.h> 29 28 #include <grass/display.h> 29 #include <grass/glocale.h> 30 #include "setup.h" 30 31 31 32 … … 730 731 double nx, double x, double y) 731 732 { 732 char *sites_mapset, sites_file_name[GNAME_MAX], * desc, *cmd;733 FILE *sites_fp;733 char *sites_mapset, sites_file_name[GNAME_MAX], *cmd; 734 struct Map_info Map; 734 735 struct Cell_head region; 735 double east_coord, north_coord,D_u_to_a_col(), D_u_to_a_row();736 double D_u_to_a_col(), D_u_to_a_row(); 736 737 int i, j, k, cnt=0, w_w = right - left, w_l = bot - top, exp1, exp2, 737 738 dx = w_w, dy = w_l, l, t, left1 = left, top1 = top, n, tmp, 738 739 ulrow, ulcol, *row_buf, lap=0; 740 static struct line_pnts *Points; 741 struct line_cats *Cats; 742 int ltype; 739 743 740 744 /* VARIABLES: … … 915 919 916 920 else if (method==5){ 917 sites_mapset =G_ask_sites_old(" Enter name of site map", sites_file_name);921 sites_mapset = G_ask_vector_old(" Enter name of vector points map", sites_file_name); 918 922 if (sites_mapset == NULL) { 919 923 G_system("d.frame -e"); … … 921 925 } 922 926 923 if ((sites_fp = G_fopen_sites_old(sites_file_name,sites_mapset)) == NULL) { 924 fprintf(stderr, "\n Can't open sites file %s\n",sites_file_name); 925 926 } 927 Vect_open_old(&Map, sites_file_name, sites_mapset); 928 /* fprintf(stderr, "\n Can't open vector points file %s\n", sites_file_name); */ 929 927 930 *sites = 0; 928 931 i = 0; 929 932 n = 0; 930 933 931 while( G_get_site(sites_fp,&east_coord,&north_coord,&desc) > 0) { 932 ulcol = ((int)(D_u_to_a_col(east_coord))) + 1 - u_w/2; 933 ulrow = ((int)(D_u_to_a_row(north_coord))) + 1 - u_l/2; 934 Points = Vect_new_line_struct(); /* init line_pnts struct */ 935 Cats = Vect_new_cats_struct(); 936 937 while (1) { 938 ltype = Vect_read_next_line (&Map, Points, Cats); 939 if ( ltype == -1 ) G_fatal_error(_("Cannot read vector")); 940 if ( ltype == -2 ) break; /* EOF */ 941 /* point features only. (GV_POINTS is pts AND centroids, GV_POINT is just pts) */ 942 if (!(ltype & GV_POINT)) continue; 943 944 ulcol = ((int)(D_u_to_a_col(Points->x[0]))) + 1 - u_w/2; 945 ulrow = ((int)(D_u_to_a_row(Points->y[0]))) + 1 - u_l/2; 934 946 if (ulcol <= left || ulrow <= top || ulcol+u_w-1 > right || ulrow+u_l-1 > bot) { 935 947 fprintf(stderr, " No sampling unit over site %d at east=%8.1f north=%8.1f\n", 936 n+1, east_coord,north_coord);948 n+1, Points->x[0], Points->y[0]); 937 949 fprintf(stderr, " as it would extend outside the map\n"); 938 950 … … 954 966 G_system(cmd); 955 967 G_free (cmd); 968 969 Vect_close(&Map); 970 G_free(Points); 971 G_free(Cats); 956 972 957 973 } -
grass/branches/releasebranch_6_3/raster/r.los/description.html
r25142 r29462 73 73 </pre></div> 74 74 75 <H2>TODO</H2> 76 77 Rewrite using ideas from <em>r.cva</em> and a method which scales better 78 to large regions.<BR>A suggested method is detailed in:<BR> 79 Izraelevitz, David (USACE).<BR> 80 'A Fast Algorithm for Approximate Viewshed Computation'<BR> 81 <i>Photogrammetric Engineering & Remote Sensing</i>, July 2003 82 <!-- http://article.gmane.org/gmane.comp.gis.grass.devel/1781 83 Post by Paul Kelly 2003-08-13 to grass-dev, 84 "Re: [bug #2061] (grass) r.los needs FP update" --> 75 85 76 86 <H2>SEE ALSO</H2> -
grass/branches/releasebranch_6_3/raster/r.report/description.html
r19577 r29462 88 88 <A HREF="r.describe.html">r.describe</A>, 89 89 <A HREF="r.info.html">r.info</A>, 90 <A HREF="r.stats.html">r.stats</A></EM> 90 <A HREF="r.stats.html">r.stats</A>, 91 <A HREF="r.univar.html">r.univar</A> 92 </EM> 91 93 92 94 <H2>AUTHOR</H2> -
grass/branches/releasebranch_6_3/raster/r.resamp.rst/description.html
r22103 r29462 11 11 region (which may be different from that of the <i>input</i> raster map). 12 12 <p> 13 Optionally, and simultaneously with interpolation, the topographic parameters 14 slope, aspect, profile curvature (measured in the direction of steepest 13 Optionally, and simultaneously with interpolation, topographic parameters 14 are computed from an input raster map containing z-values of elevation/depth: slope, 15 aspect, profile curvature (measured in the direction of steepest 15 16 slope), tangential curvature (measured in the direction of a tangent to 16 contour line) and/or mean curvature are computed and saved as raster maps17 contour line) and/or mean curvature are computed from and saved as raster maps 17 18 as specified by the options <i>slope, aspect, pcurv, tcurv, mcurv</i> respectively. 18 19 <p> -
grass/branches/releasebranch_6_3/raster/r.statistics/description.html
r22960 r29462 1 1 <H2>DESCRIPTION</H2> 2 2 3 <EM>r.statistics</EM> is a tool, where different class, resp. object 4 oriented statistical analysis methods are possible (called "zonal statistics" 5 in some GIS). As data preparation, all areas of contiguous cell category values 6 can be clumped with <EM>r.clump</EM>. 3 <EM>r.statistics</EM> is a tool to analyse exploratory statistics of a "cover 4 layer" according to how it intersects with objects in a "base layer". A 5 variety of standard statistical measures are possible (called "zonal statistics" 6 in some GIS). 7 8 All cells in the base layer are considered one object for the analysis. For 9 some applications, one will first want to prepare the input data so that 10 all areas of contiguous cell category values in the base layer are uniquely 11 identified, which can be done with <EM>r.clump</EM>. 7 12 <BR> 8 13 … … 23 28 </ul> 24 29 25 The calculations will be performed for areas withdata of the26 cover ing-layers which belong in the base-layer o the same category.30 The calculations will be performed on each area of data of the 31 cover layers which fall within each unique value, or category, of the base layer. 27 32 <P> 28 33 Setting the <EM>-c</EM> flag the category lables of the covering raster … … 32 37 33 38 <P> 34 The output-layer is a reclassified version of the base-layer with identical 35 category values. The results of the calculations are stored in the category 36 labels of the output-layer. 39 All calculations except "distribution" create an output layer. The output 40 layer is a reclassified version of the base layer with identical 41 category values, but modified category labels - the results of the calculations 42 are stored in the category labels of the output layer. 37 43 38 44 <P> 39 The described output is valid for all calculations with exception of 40 distribution. Here the output is given to stdout. A file name eventually 41 specified will be ignored. The result will be a table with three columns. 42 In the 1. column are the category values of the base-layer (a), in the 2. 43 column the associated value of the cover-Layers (b) and in the 3. column the 44 percentage of b from a. Example: 45 For distributions, the output is printed to the user interface (stdout). 46 If an output file name was specified, it will be ignored. The result will 47 be a text table with three columns. 48 In the first column are the category values of the base layer (a), in the second 49 column the associated value of the cover layers (b), and in the third column the 50 percentage of area in that base layer category (a) that falls into that row's 51 value in the cover layer(b). Example: 45 52 46 53 <div class="code"><pre> … … 56 63 . 57 64 </pre></div> 65 66 So for the first line in the output above, we see that 23% of the cells of the 67 base layer category 1 have a value of 124 in the cover layer. 58 68 59 69 To transfer the values stored as category labels into cell values, … … 78 88 <A HREF="r.median.html">r.median</A>, 79 89 <A HREF="r.mapcalc.html">r.mapcalc</A>, 80 <A HREF="r.neighbors.html">r.neighbors</A> 90 <A HREF="r.neighbors.html">r.neighbors</A>, 91 <A HREF="r.univar.html">r.univar</A> 92 <A HREF="r.cats">r.cats</A> 81 93 </EM> 82 94 -
grass/branches/releasebranch_6_3/raster/r.stats/description.html
r22959 r29462 80 80 <A HREF="r.describe.html">r.describe</A>, 81 81 <A HREF="r.report.html">r.report</A>, 82 <A HREF="r.statistics.html">r.statistics</A> 82 <A HREF="r.statistics.html">r.statistics</A>, 83 <A HREF="r.univar.html">r.univar</A> 83 84 </EM> 84 85 -
grass/branches/releasebranch_6_3/scripts/d.monsize/d.monsize
r25359 r29462 7 7 # updated to GRASS 5.7 by Michael Barton (michael.barton@asu.edu) 8 8 # PURPOSE: selects/starts specified monitor at specified window size 9 # COPYRIGHT: (C) 2004 by the GRASS Development Team9 # COPYRIGHT: (C) 2004-2007 by the GRASS Development Team 10 10 # 11 11 # This program is free software under the GNU General Public … … 14 14 # 15 15 ############################################################################# 16 17 18 16 # NOTE: This is based on the output pattern of d.mon -p 19 17 # Anantha Prasad <aprasad/ne_de@fs.fed.us> … … 21 19 # Version 1: Author?. Tue, 25 Jan 2000 10:31:37 22 20 21 22 #### PLEASE REMOVE "SET" FROM OPTION NAMES FOR GRASS 7 23 #### (if this module is even used there; if so merge with d.resize) 23 24 24 25 #%Module … … 47 48 48 49 49 50 50 if test -z "$GISBASE"; then 51 51 echo "You must be in GRASS GIS to run this program." >&2 … … 57 57 fi 58 58 59 #### check if we have awk 60 if [ ! -x "`which awk`" ] ; then 61 g.message -e "awk required, please install awk/gawk first" 62 exit 1 63 fi 64 59 65 GRASS_WIDTH=$GIS_OPT_SETWIDTH 60 66 export GRASS_WIDTH … … 64 70 65 71 # Check the current status of the monitor 66 st1=`d.mon -p| sed s/'No monitor currently selected for output'//` 67 st2=`echo $st1 | cut -d ":" -f2` 72 OPEN_MON=`d.mon -p | grep ':' | cut -d':' -f2 | awk '{print $1}'` 68 73 69 # STrip leading blanks70 st3=`echo $st2|perl -pne 's/^\s+//g'`71 74 72 if [ -z "$st3" ] 73 then 75 if [ -z "$OPEN_MON" ] ; then 74 76 # No monitor running so start a new one.... 75 g.message "No monitor selected"76 g.message "Starting monitor $GIS_OPT_SETMONITOR of size${GIS_OPT_SETWIDTH}X${GIS_OPT_SETHEIGHT} ..."77 d.mon start=$GIS_OPT_SETMONITOR77 g.message -v "No monitor selected" 78 g.message "Starting monitor $GIS_OPT_SETMONITOR at ${GIS_OPT_SETWIDTH}X${GIS_OPT_SETHEIGHT} ..." 79 d.mon start=$GIS_OPT_SETMONITOR 78 80 else 79 if [ "$GIS_OPT_SETMONITOR" = "$st3" ] 80 then 81 if [ "$GIS_OPT_SETMONITOR" = "$OPEN_MON" ] ; then 81 82 # Monitor is already running...stop it and start new one 83 g.message -v "Monitor already running and selected" 84 g.message "Restarting monitor $GIS_OPT_SETMONITORAT at ${GIS_OPT_SETWIDTH}X${GIS_OPT_SETHEIGHT} ..." 85 # d.save > tmp file then source the tmp file to restore after the new mon is opened? 86 # (just use d.resize instead) 82 87 d.mon stop=$GIS_OPT_SETMONITOR 83 g.message "Monitor already running and selected" 84 g.message "Restarting monitor $GIS_OPT_SETMONITORAT size ${GIS_OPT_SETWIDTH}X${GIS_OPT_SETHEIGHT} ..." 88 # why the sleep? 85 89 sleep 4 86 90 d.mon start=$GIS_OPT_SETMONITOR 87 91 else 88 g.message "A different monitor is selected"89 g.message "Selecting and restarting monitor ${GIS_OPT_SETWIDTH}X${GIS_OPT_SETHEIGHT} ..."92 g.message -v "A different monitor is selected" 93 g.message "Selecting and restarting monitor at ${GIS_OPT_SETWIDTH}X${GIS_OPT_SETHEIGHT} ..." 90 94 #d.mon select=$GIS_OPT_SETMONITOR 91 95 d.mon stop=$GIS_OPT_SETMONITOR 96 # why the sleep? 92 97 sleep 4 93 98 d.mon start=$GIS_OPT_SETMONITOR -
grass/branches/releasebranch_6_3/scripts/r.in.wms/description.html
r24714 r29462 66 66 g.region save=panhandle-90ft 67 67 68 r.in.wms output=elevation_feet mapserver=http://wms.jpl.nasa.gov/wms.cgi layers=us_ned styles=feet_real -o region=panhandle-90ft 68 r.in.wms output=elevation_feet mapserver=http://wms.jpl.nasa.gov/wms.cgi \ 69 layers=us_ned styles=feet_real -o region=panhandle-90ft 69 70 </pre></div> 70 71 -
grass/branches/releasebranch_6_3/scripts/r.in.wms/r.in.wms
r25031 r29462 123 123 #% description: Additional options for r.tileset 124 124 #% required : no 125 #% guisection: Request126 125 #%end 127 126 #%option -
grass/branches/releasebranch_6_3/scripts/r.regression.line/description.html
r25454 r29462 5 5 Optionally saves regression coefficients to an ASCII file. 6 6 The result includes the following coefficients: 7 offset (a) and gain(b), residuals (R),8 number of elements (N), me dians (medX, medY), standard deviations7 offset/intercept (a) and gain/slope (b), residuals (R), 8 number of elements (N), means (medX, medY), standard deviations 9 9 (sdX, sdY), and the F test for testing the significance of the 10 10 regression model as a whole (F). -
grass/branches/releasebranch_6_3/scripts/r.regression.line/r.regression.line
r25454 r29462 116 116 echo " R: sumXY - sumX*sumY/tot" 117 117 echo " N: number of elements" 118 echo " medX, medY: Me dians"118 echo " medX, medY: Means" 119 119 echo " sdX, sdY: Standard deviations" 120 120 echo "a b R N F medX sdX medY sdY" … … 131 131 echo " R: sumXY - sumX*sumY/tot" >> "$TMP"c 132 132 echo " N: number of elements" >> "$TMP"c 133 echo " medX, medY: Me dians" >> "$TMP"c133 echo " medX, medY: Means" >> "$TMP"c 134 134 echo " sdX, sdY: Standard deviations" >> "$TMP"c 135 135 echo "a b R N F medX sdX medY sdY" >> "$TMP"c -
grass/branches/releasebranch_6_3/scripts/r.shaded.relief/r.shaded.relief
r24520 r29462 159 159 if [ "$GIS_OPT_UNITS" = "meters" ] ; then 160 160 #scale=111120 161 scale=`echo $scale | awk '{printf("%f", $1 * 1 11120 )}'`161 scale=`echo $scale | awk '{printf("%f", $1 * 1852*60 )}'` 162 162 fi 163 163 164 164 #LatLong locations only: 165 165 if [ "$GIS_OPT_UNITS" = "feet" ] ; then 166 #scale=3 70400167 scale=`echo $scale | awk '{printf("%f", $1 * 370400 )}'`166 #scale=364567.2 167 scale=`echo $scale | awk '{printf("%f", $1 * 6076.12*60 )}'` 168 168 fi 169 169 -
grass/branches/releasebranch_6_3/scripts/v.rast.stats/v.rast.stats
r24912 r29462 37 37 #%End 38 38 #%option 39 #% key: layer 40 #% type: integer 41 #% description: Layer to which the table to be changed is connected 42 #% answer: 1 43 #% required : no 44 #%end 45 #%option 39 46 #% key: raster 40 47 #% type: string … … 196 203 DB_DATABASE="`v.db.connect -g "$VECTOR" | cut -d' ' -f4`" 197 204 205 #Find out which table is linked to the vector map on the given layer 206 TABLE=`v.db.connect $VECTOR -g | grep -w $GIS_OPT_LAYER | awk '{print $2}'` 207 if [ -z "$TABLE" ] ; then 208 g.message -e 'There is no table connected to this map! Run v.db.connect or v.db.addtable first.' 209 exit 1 210 fi 198 211 199 212 … … 292 305 fi 293 306 294 echo "UPDATE $ VECTORSET ${colname}=${value} WHERE cat=$i;" >> "$SQLTMP"307 echo "UPDATE $TABLE SET ${colname}=${value} WHERE cat=$i;" >> "$SQLTMP" 295 308 done 296 309 -
grass/branches/releasebranch_6_3/scripts/v.report/v.report
r24784 r29462 50 50 #% key: units 51 51 #% type: string 52 #% description: mi(les),f(eet),me(ters),k(ilometers),a(cres),h(ectares) 52 #% description: mi(les),f(eet),me(ters),k(ilometers),a(cres),h(ectares),p(ercent) 53 53 #% options: mi,miles,f,feet,me,meters,k,kilometers,a,acres,h,hectares,p,percent 54 54 #% required: no … … 131 131 132 132 #check for optional units parameter: 133 if [ ! -z $GIS_OPT_UNITS] ; then133 if [ -n "$GIS_OPT_UNITS" ] ; then 134 134 UNITSPARAM="units=$GIS_OPT_UNITS" 135 135 # reset to meters since percent are unsupported in v.to.db … … 172 172 173 173 # calculate percents if requested 174 if [ ! -z $GIS_OPT_UNITS] ; then174 if [ -n "$GIS_OPT_UNITS" ] ; then 175 175 if [ "$GIS_OPT_UNITS" = "p" -o "$GIS_OPT_UNITS" = "percent" ] ; then 176 176 -
grass/branches/releasebranch_6_3/swig/perl/Makefile.PL.in
r20764 r29462 17 17 WriteMakefile( 18 18 NAME => 'Grass', 19 LIBS => "-L$grass_lib_dir -lgrass_datetime -lgrass_gis -lgrass_gmath -lgrass_linkm -lgrass_raster -lgrass_bitmap -lgrass_btree -lgrass_display -lgrass_ D -lgrass_dbmibase -lgrass_dbmiclient -lgrass_dbstubs -lgrass_dbmidriver -lgrass_sqlp -lgrass_vask -lgrass_edit -lgrass_shape -lgrass_form -lgrass_I -lgrass_gproj -lgrass_rowio -lgrass_segment -lgrass_rtree -lgrass_dgl -lgrass_dig2 -lgrass_vect -lgrass_trans -lgrass_sites -lgrass_interpdata -lgrass_qtree -lgrass_interpfl -lgrass_g3d -lgrass_dspf -lgrass_symb -lgrass_cdhc -lgrass_ogsf -lgrass_Iortho $xlib",19 LIBS => "-L$grass_lib_dir -lgrass_datetime -lgrass_gis -lgrass_gmath -lgrass_linkm -lgrass_raster -lgrass_bitmap -lgrass_btree -lgrass_display -lgrass_dbmibase -lgrass_dbmiclient -lgrass_dbstubs -lgrass_dbmidriver -lgrass_sqlp -lgrass_vask -lgrass_edit -lgrass_shape -lgrass_form -lgrass_I -lgrass_gproj -lgrass_rowio -lgrass_segment -lgrass_rtree -lgrass_dgl -lgrass_dig2 -lgrass_vect -lgrass_trans -lgrass_sites -lgrass_interpdata -lgrass_qtree -lgrass_interpfl -lgrass_g3d -lgrass_dspf -lgrass_symb -lgrass_cdhc -lgrass_ogsf -lgrass_Iortho $xlib", 20 20 OBJECT => 'grass_wrap.o R_slope_aspect/r_slope_aspect/opennew.o R_slope_aspect/r_slope_aspect/r_slope_aspect.o', 21 21 INC => "-I$grass_inc_dir" -
grass/branches/releasebranch_6_3/swig/perl/R_slope_aspect/r_slope_aspect/r_slope_aspect.c
r24318 r29462 370 370 { 371 371 G_warning("You must specify at least one of the parameters:" 372 "\n<%s>, <%s>, <%s>, <%s>, <%s>, <%s>, <%s>, <%s> , or <%s>\n",372 "\n<%s>, <%s>, <%s>, <%s>, <%s>, <%s>, <%s>, <%s> or <%s>.\n", 373 373 parm.slope->key, parm.aspect->key, parm.pcurv->key, 374 374 parm.tcurv->key, parm.dx->key, parm.dy->key, … … 381 381 mapset = G_find_cell2(elev_name, ""); 382 382 if (!mapset) 383 G_fatal_error (_(" elevation file [%s]not found"), elev_name);383 G_fatal_error (_("Raster map <%s> not found"), elev_name); 384 384 385 385 /* set the window from the header for the elevation file */ … … 432 432 factor = G_database_units_to_meters_factor(); 433 433 if (factor != 1.0) 434 G_warning(" converting units to meters, factor=%.6f", factor);434 G_warning("Converting units to meters, factor=%.6f", factor); 435 435 436 436 G_begin_distance_calculations(); … … 1033 1033 1034 1034 G_close_cell (elevation_fd); 1035 G_message(_("Creating support files "));1035 G_message(_("Creating support files...")); 1036 1036 1037 1037 G_message(_("Elevation products for mapset [%s] in [%s]"), … … 1051 1051 1052 1052 G_read_raster_cats (aspect_name, G_mapset(), &cats); 1053 G_set_raster_cats_title (" aspect counterclockwise in degrees from east", &cats);1054 1055 G_message(_(" min computed aspect %.4fmax computed aspect %.4f"), min_asp, max_asp);1053 G_set_raster_cats_title ("Aspect counterclockwise in degrees from east", &cats); 1054 1055 G_message(_("Min computed aspect %.4f, max computed aspect %.4f"), min_asp, max_asp); 1056 1056 /* the categries quant intervals are 1.0 long, plus 1057 1057 we are using reverse order so that the label looked up … … 1146 1146 else if(perc) G_set_raster_cats_title ("percent slope", &cats); 1147 1147 1148 G_message(_(" min computed slope %.4fmax computed slope %.4f"), min_slp, max_slp);1148 G_message(_("Min computed slope %.4f, max computed slope %.4f"), min_slp, max_slp); 1149 1149 /* the categries quant intervals are 1.0 long, plus 1150 1150 we are using reverse order so that the label looked up -
grass/branches/releasebranch_6_3/translators.csv
r24801 r29462 1 Solomon Gizaw <solohavi yahoo.com>, AM 2 Dr. Alaa Masoud <alaamasoud hotmail.com>, AR 3 Radim Blazek <radim.blazek gmail.com>, CS 4 Michal Bíl <michal.bil seznam.cz>, CZ 5 Jáchym Cepický <jachym.cepicky centrum.cz>, CZ 6 Martin Landa <landa.martin gmail.com>, CZ 7 Záboj Hrázský <zabojhrazsky seznam.cz>, CZ 8 Markus Neteler <neteler itc.it>, DE IT 9 Robert Nuske <rnuske gwdg.de>, DE 10 Stephan Holl <stephan.holl intevation.de>, DE 11 Agustin Diez Castillo <adiez uv.es>, ES 12 Carlos Dávila <carluti users.sourceforge.net>, ES 13 Daniel Calvelo Aros <dca users.sf.net>, ES FR 14 Daniel de Castro Victoria <daniel.victoria gmail.com>, ES 15 el bueno <manzano_jm yahoo.es>, ES 16 Enrique Cerrillo Cuenca <ecerrillo unex.es>, ES 17 Luis Izquierdo <luisizq2002 hotmail.com>, ES 18 Roberto Antolin <tolanss yahoo.es>, ES 19 Emmanuel Saracco <esaracco users.labs.libre-entreprise.org>, FR 20 Eve Rousseau <phytosociologue yahoo fr>, FR 21 Vincent Bain <bain toraval.fr>, FR 22 Lorenzo Moretti <lorenzo.moretti bologna.enea.it>, IT 23 Luciano Montanaro <mikelima cirulla.net>, IT 24 Susumu Nonogaki <nonogaki sci.osaka-cu.ac.jp>, JA 25 Huidae Cho <grass4u gmail.com>, KO 26 Maris Nartiss <maris.kde gmail.com>, LV 27 Peteris Bruns <peteris.bruns gmail.com>, LV 28 Sheetal Nepte <sheetal_nepte yahoo.co.in>, MR 29 Artur Niecior <nieart interia.pl>, PL 30 Marcin Sanecki, PL 31 Monika Tylus <monikatylus gmail.com>, PL 32 Paulo E. P. Marcondes <paulomarcondes gmail.com>, PT_BR 33 Ricardo Oliveira <ricardoabeloliveira gmail.com>, PT_BR 34 Alex Shevlakov <sixote yahoo.com>, RU 35 Miha Staut <mihastaut yahoo.co.uk>, SL 36 Aras.Gor.O Yalcin Yilmaz <yilmazy istanbul.edu.tr>, TR 37 Bui Huu Manh <bhmanh73 yahoo.com>, VI 38 Zhang Jun <nilarcs gmail.com>, ZH 1 name,email,languages 2 Solomon Gizaw, <solohavi yahoo.com>, AM 3 Dr. Alaa Masoud, <alaamasoud hotmail.com>, AR 4 Radim Blazek, <radim.blazek gmail.com>, CS 5 Michal Bíl, <michal.bil seznam.cz>, CZ 6 Peteris Bruns, <peteris.bruns gmail.com>, LV 7 Jáchym Cepický, <jachym.cepicky centrum.cz>, CZ 8 Martin Landa, <landa.martin gmail.com>, CZ 9 Záboj Hrázský, <zabojhrazsky seznam.cz>, CZ 10 Markus Neteler, <neteler osgeo.org>, DE IT 11 Robert Nuske, <rnuske gwdg.de>, DE 12 Stephan Holl, <stephan.holl intevation.de>, DE 13 Agustin Diez Castillo, <adiez uv.es>, ES 14 Carlos Dávila, <carluti users.sourceforge.net>, ES 15 Daniel Calvelo Aros, <dca users.sf.net>, ES FR 16 Daniel de Castro Victoria, <daniel.victoria gmail.com>, ES 17 el bueno, <manzano_jm yahoo.es>, ES 18 Enrique Cerrillo Cuenca, <ecerrillo unex.es>, ES 19 Luis Izquierdo, <luisizq2002 hotmail.com>, ES 20 Roberto Antolin, <tolanss yahoo.es>, ES 21 Emmanuel Saracco, <esaracco users.labs.libre-entreprise.org>, FR 22 Eve Rousseau, <phytosociologue yahoo fr>, FR 23 Vincent Bain, <bain toraval.fr>, FR 24 Lorenzo Moretti, <lorenzo.moretti bologna.enea.it>, IT 25 Luciano Montanaro, <mikelima cirulla.net>, IT 26 Susumu Nonogaki, <nonogaki sci.osaka-cu.ac.jp>, JA 27 Huidae Cho, <grass4u gmail.com>, KO 28 Maris Nartiss, <maris.kde gmail.com>, LV 29 Sheetal Nepte, <sheetal_nepte yahoo.co.in>, MR 30 Artur Niecior, <nieart interia.pl>, PL 31 Sarawut Ninsawat, <sarawut.map gmail.com>, TH 32 Marcin Sanecki,<? ?>, PL 33 Monika Tylus, <monikatylus gmail.com>, PL 34 Paulo E. P. Marcondes, <paulomarcondes gmail.com>, PT_BR 35 Ricardo Oliveira, <ricardoabeloliveira gmail.com>, PT_BR 36 Alex Shevlakov, <sixote yahoo.com>, RU 37 Miha Staut, <mihastaut yahoo.co.uk>, SL 38 Aras.Gor.O Yalcin Yilmaz, <yilmazy istanbul.edu.tr>, TR 39 Bui Huu Manh, <bhmanh73 yahoo.com>, VI 40 Zhang Jun, <nilarcs gmail.com>, ZH 41 Su Yongheng, <night2008 gmail.com>, ZH 42 Tobias Vigl, <vigltobias icqmail.com>, IT 43 Fernando Ferreira, <fernando vps.fmvz.usp.br>, PT_BR -
grass/branches/releasebranch_6_3/vector/lidar/lidarlib/InterpSpline.c
r21983 r29462 23 23 #include <string.h> 24 24 25 #include <grass/PolimiFunct.h>25 #include "PolimiFunct.h" 26 26 27 27 /*----------------------------------------------------------------------------*/ -
grass/branches/releasebranch_6_3/vector/lidar/lidarlib/raster.c
r24984 r29462 9 9 #include <grass/config.h> 10 10 11 #include <grass/PolimiFunct.h>11 #include "PolimiFunct.h" 12 12 13 13 /*------------------------------------------------------------------------------------------------*/ … … 72 72 73 73 if (db_execute_immediate (driver, &sql) != DB_OK) 74 G_fatal_error (_(" It was not possible writing in <%s>."), tab_name);74 G_fatal_error (_("Unable to create table: %s"), buf); 75 75 76 76 } else if ((*point->y < Overlap.S)) { /*(1)*/ … … 86 86 87 87 if (db_execute_immediate (driver, &sql) != DB_OK) 88 G_fatal_error (_(" It was not possible writing in <%s>."), tab_name);88 G_fatal_error (_("Unable to create table: %s"), buf); 89 89 90 90 } else { /*(1)*/ … … 98 98 99 99 if (db_execute_immediate (driver, &sql) != DB_OK) 100 G_fatal_error (_(" It was not possible writing in <%s>."), tab_name);100 G_fatal_error (_("Unable to create table: %s"), buf); 101 101 } 102 102 … … 114 114 115 115 if (db_execute_immediate (driver, &sql) != DB_OK) 116 G_fatal_error (_(" It was not possible writing in <%s>."), tab_name);116 G_fatal_error (_("Unable to create table: %s"), buf); 117 117 118 118 } else if ((*point->y < Overlap.S)) { /*(2)*/ … … 128 128 129 129 if (db_execute_immediate (driver, &sql) != DB_OK) 130 G_fatal_error (_(" It was not possible writing in <%s>."), tab_name);130 G_fatal_error (_("Unable to create table: %s"), buf); 131 131 132 132 } else { /*(2)*/ … … 140 140 141 141 if (db_execute_immediate (driver, &sql) != DB_OK) 142 G_fatal_error (_(" It was not possible writing in <%s>."), tab_name);142 G_fatal_error (_("Unable to create table: %s"), buf); 143 143 } 144 144 … … 154 154 155 155 if (db_execute_immediate (driver, &sql) != DB_OK) 156 G_fatal_error (_(" It was not possible writing in <%s>."), tab_name);156 G_fatal_error (_("Unable to create table: %s"), buf); 157 157 } else { /*(1)*/ 158 158 weight = (Overlap.S - *point->y)/overlap; … … 165 165 166 166 if (db_execute_immediate (driver, &sql) != DB_OK) 167 G_fatal_error (_(" It was not possible writing in <%s>."), tab_name);167 G_fatal_error (_("Unable to create table: %s"), buf); 168 168 } 169 169 } -
grass/branches/releasebranch_6_3/vector/v.in.ascii/in.c
r25398 r29462 306 306 if (driver == NULL) { 307 307 Vect_delete(new->answer); 308 G_fatal_error(_("Una vle to open database <%s> by driver <%s>"),308 G_fatal_error(_("Unable to open database <%s> by driver <%s>"), 309 309 Vect_subst_var(Fi->database, &Map), Fi->driver); 310 310 } … … 375 375 if (db_execute_immediate(driver, &sql) != DB_OK) { 376 376 Vect_delete(new->answer); 377 G_fatal_error(_("Unable create table: %s"),377 G_fatal_error(_("Unable to create table: %s"), 378 378 db_get_string(&sql)); 379 379 } -
grass/branches/releasebranch_6_3/vector/v.in.ogr/description.html
r25348 r29462 11 11 <P> 12 12 The optional <b>spatial</b> parameter defines spatial query extents. 13 This parameter allows to restrict the region to a spatial subset while 14 importing the data. All vector completely or partially falling into 15 this rectangle subregion are imported. 13 This parameter allows the user to restrict the region to a spatial subset 14 while importing the data. All vector features completely or partially 15 falling into this rectangle subregion are imported. 16 The <b>-r</b> current region flag is identical, but uses the current region 17 settings as the spatial bounds (see <em><a href="g.region.html">g.region</a></em>). 16 18 <P> 17 19 Topology cleaning on areas is automatically performed, but may fail in … … 62 64 <ul> 63 65 <li><B>SHAPE files</B> 66 <div class="code"><pre> 67 v.in.ogr dsn=/home/user/shape_data/test_shape.shp output=grass_map 68 </pre></div> 69 70 Alternate method: 64 71 <div class="code"><pre> 65 72 v.in.ogr dsn=/home/user/shape_data layer=test_shape output=grass_map -
grass/branches/releasebranch_6_3/vector/v.in.ogr/main.c
r24817 r29462 32 32 #include "global.h" 33 33 34 #ifndef MAX 35 # define MIN(a,b) ((a<b) ? a : b) 36 # define MAX(a,b) ((a>b) ? a : b) 37 #endif 38 34 39 int geom(OGRGeometryH hGeom, struct Map_info *Map, int field, int cat, double min_area, int type, int mk_centr ); 35 40 int centroid(OGRGeometryH hGeom, CENTR *Centr, SPATIAL_INDEX *Sindex, int field, int cat, double min_area, int type); … … 45 50 struct Option *dsn_opt, *out_opt, *layer_opt, *spat_opt, *where_opt, *min_area_opt; 46 51 struct Option *snap_opt, *type_opt, *outloc_opt, *cnames_opt; 47 struct Flag *list_flag, *no_clean_flag, *z_flag, *notab_flag ;52 struct Flag *list_flag, *no_clean_flag, *z_flag, *notab_flag, *region_flag; 48 53 struct Flag *over_flag, *extend_flag, *formats_flag, *tolower_flag; 49 54 char buf[2000], namebuf[2000]; … … 51 56 struct Key_Value *loc_proj_info = NULL, *loc_proj_units = NULL; 52 57 struct Key_Value *proj_info, *proj_units; 53 struct Cell_head cellhd, loc_wind ;58 struct Cell_head cellhd, loc_wind, cur_wind; 54 59 char error_msg[8192]; 55 60 … … 102 107 dsn_opt->label = _("OGR datasource name"); 103 108 dsn_opt->description = _("Examples:\n" 104 "\t\tESRI Shapefile: directory containing shapefiles\n"105 "\t\tMapInfo File: directory containing mapinfo files");109 "\t\tESRI Shapefile: directory containing shapefiles\n" 110 "\t\tMapInfo File: directory containing mapinfo files"); 106 111 107 112 out_opt = G_define_standard_option(G_OPT_V_OUTPUT); … … 115 120 layer_opt->label = _("OGR layer name. If not given, all available layers are imported"); 116 121 layer_opt->description = _("Examples:\n" 117 "\t\tESRI Shapefile: shapefile name\n"118 "\t\tMapInfo File: mapinfo file name");122 "\t\tESRI Shapefile: shapefile name\n" 123 "\t\tMapInfo File: mapinfo file name"); 119 124 120 125 spat_opt = G_define_option(); … … 123 128 spat_opt->multiple = YES; 124 129 spat_opt->required = NO; 130 spat_opt->key_desc = "xmin,ymin,xmax,ymax"; 125 131 spat_opt->label = _("Import subregion only"); 126 132 spat_opt->guisection = _("Subregion"); … … 137 143 min_area_opt->guisection = _("Min-area & snap"); 138 144 min_area_opt->description = _("Smaller areas and " 139 "islands are ignored. Should be greater than snap^2");145 "islands are ignored. Should be greater than snap^2"); 140 146 141 147 type_opt = G_define_standard_option(G_OPT_V_TYPE) ; … … 143 149 type_opt->answer = ""; 144 150 type_opt->description = _("Optionaly change default input type"); 145 type_opt->descriptions = _("point;import area centroids as points;" 146 "line;import area boundaries as lines;" 147 "boundary;import lines as area boundaries;" 148 "centroid;import points as centroids"); 149 151 type_opt->descriptions = 152 _("point;import area centroids as points;" 153 "line;import area boundaries as lines;" 154 "boundary;import lines as area boundaries;" 155 "centroid;import points as centroids"); 156 150 157 snap_opt = G_define_option(); 151 158 snap_opt->key = "snap"; … … 168 175 cnames_opt->required = NO; 169 176 cnames_opt->multiple = YES; 170 cnames_opt->description = _("List of column names to be used instead of original names, " 171 "first is used for category column"); 177 cnames_opt->description = 178 _("List of column names to be used instead of original names, " 179 "first is used for category column"); 172 180 173 181 list_flag = G_define_flag (); … … 195 203 over_flag->key = 'o'; 196 204 over_flag->description = _("Override dataset projection (use location's projection)"); 205 206 region_flag = G_define_flag(); 207 region_flag->key = 'r'; 208 region_flag->guisection = _("Subregion"); 209 region_flag->description = _("Limit import to the current region"); 197 210 198 211 extend_flag = G_define_flag(); … … 337 350 Ogr_layer = OGR_DS_GetLayer( Ogr_ds, layers[0] ); 338 351 352 if ( region_flag->answer ) { 353 if ( spat_opt->answer ) 354 G_fatal_error(_("Select either the current region flag or the spatial option, not both")); 355 356 G_get_window (&cur_wind); 357 xmin=cur_wind.west; 358 xmax=cur_wind.east; 359 ymin=cur_wind.south; 360 ymax=cur_wind.north; 361 } 339 362 if ( spat_opt->answer ) { 340 363 /* See as reference: gdal/ogr/ogr_capi_test.c */ … … 352 375 if ( arg_s_num != 4 ) 353 376 G_fatal_error ( _("4 parameters required for 'spatial' parameter")); 377 } 378 if ( spat_opt->answer || region_flag->answer) { 354 379 G_debug( 2, "cut out with boundaries: xmin:%f ymin:%f xmax:%f ymax:%f",xmin,ymin,xmax,ymax); 355 380 … … 975 1000 Vect_close ( &Map ); 976 1001 1002 1003 /* -------------------------------------------------------------------- */ 1004 /* Extend current window based on dataset. */ 1005 /* -------------------------------------------------------------------- */ 1006 if( extend_flag->answer ) 1007 { 1008 G_get_default_window( &loc_wind ); 1009 1010 loc_wind.north = MAX(loc_wind.north,cellhd.north); 1011 loc_wind.south = MIN(loc_wind.south,cellhd.south); 1012 loc_wind.west = MIN(loc_wind.west, cellhd.west); 1013 loc_wind.east = MAX(loc_wind.east, cellhd.east); 1014 1015 loc_wind.rows = (int) ceil((loc_wind.north - loc_wind.south) 1016 / loc_wind.ns_res); 1017 loc_wind.south = loc_wind.north - loc_wind.rows * loc_wind.ns_res; 1018 1019 loc_wind.cols = (int) ceil((loc_wind.east - loc_wind.west) 1020 / loc_wind.ew_res); 1021 loc_wind.east = loc_wind.west + loc_wind.cols * loc_wind.ew_res; 1022 1023 G__put_window(&loc_wind, "../PERMANENT", "DEFAULT_WIND"); 1024 } 1025 977 1026 if (with_z && !z_flag->answer ) 978 1027 G_warning (_("Input data contains 3D features. Created vector is 2D only, " -
grass/branches/releasebranch_6_3/vector/v.net.steiner/description.html
r24532 r29462 3 3 <em>v.net.steiner</em> calculates the optimal connection of nodes on a 4 4 vector network. 5 6 <P> 7 A Steiner tree is used to calculate the minimum-cost vector network 8 connecting some number of end nodes in a network framework. 9 For example it could be used to find the path following a road system 10 which will minimize the amount of fibre optic cable needed to connect 11 a series of satellite offices. 12 5 13 6 14 <h2>EXAMPLE</h2> -
grass/branches/releasebranch_6_3/vector/v.surf.rst/README
r10672 r29462 1 dnorm is an average size of the segment (not window); so points that are 2 farther apart than dnorm + window size are computed independently. 3 4 ############################################################ 1 5 This is a GRASS 5.0 version of a program 2 6 for interpolation by regularized spline with tension. -
grass/branches/releasebranch_6_3/vector/v.vol.rst/README
r14672 r29462 1 dnorm: in the 3D version we normalize 2 based on the overlapping window rather than segment 3 (essentially based on npmin rather than segmax) 4 5 Reason: the overlapping window can be large and then the 6 normalization based on the segment size was not sufficient. 7 But that means that the segments are smaller than dnorm. 8 9 ####################################################### 10 HISTORY: 11 12 02/03/03 (jh) - added deviation site file to the output 13 14 03/11/00 (jh) - re-written I/O operations, several bug fixes 15 including 3D topo parameters, and 2nd RST derivatives 16 17 12/07/00 (MN) - added field selection parameter for sites lists 18 (allows to select column in site_lists) 1 19 2 20 copied from Mark 15.may.1996, 3 21 just a beta version, not fully tested 4 22 5 03/11/00 (jh) - re-written I/O operations, several bug fixes6 including 3D topo parameters, and 2nd RST derivatives7 23 8 12/07/00 (MN) - added field selection parameter for sites lists9 (allows to select column in site_lists)10 11 02/03/03 (jh) - added deviation site file to the output -
grass/branches/releasebranch_6_3/vector/v.vol.rst/user1.c
r24989 r29462 278 278 G_warning ("There are points outside specified 2D/3D region--ignored %d points (total points: %d)", OUTRANGE, k); 279 279 if (NPOINT > 0) 280 G_warning ("Points are more dense than specified 'DMIN'--ignored %d points ",NPOINT);280 G_warning ("Points are more dense than specified 'DMIN'--ignored %d points (remain %d)", NPOINT, k - NPOINT); 281 281 NPOINT = k - NPOINT - NPT - OUTRANGE; 282 282 if(NPOINT<KMIN) { -
grass/branches/releasebranch_6_3/visualization/nviz/Makefile
r25037 r29462 38 38 -$(MKDIR) $(INSTALL_DIR)/bitmaps 39 39 -$(MKDIR) $(INSTALL_DIR)/bitmaps/flythrough 40 find bitmaps -path '*/ CVS' -prune -o -type f -print | \40 find bitmaps -path '*/.svn' -prune -o -type f -print | \ 41 41 while read file ; do $(INSTALL_DATA) $$file $(INSTALL_DIR)/$$file ; done 42 42 -
grass/branches/releasebranch_6_3/visualization/xganim/description.html
r24778 r29462 61 61 <H2>SEE ALSO</H2> 62 62 63 <em><a href="d.slide.show.html">d.slide.show</a></em> 63 <em><a href="d.slide.show.html">d.slide.show</a></em>, 64 <em><a href="gm_animate.html">gis.m: ANIMATE TOOL</a></em> 64 65 65 66 <H2>AUTHOR</H2>
Note:
See TracChangeset
for help on using the changeset viewer.
