Re: [GRASS-user] Errors with latest GRASS 7
GRASS GIS compilation log - Started compilation: ven 7 set 2012, 12.26.26, CEST -- Errors in: No errors detected. -- Finished compilation: ven 7 set 2012, 12.27.59, CEST :) Sorry, was my fault. I thought that the problem was gdal, instead I had a duplicate proj. With --with-proj-libs=/usr/local/lib/ --with-proj-include=/usr/local/include/ all is fine. Ciao L. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Errors-with-latest-GRASS-7-tp5000249p5000388.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Errors with latest GRASS 7
Hello everybody, I have those errors building latest GRASS7: - Started compilation: gio 6 set 2012, 19.06.14, CEST -- Errors in: /home/luca/Applicazioni/grass_trunk/general/g.region /home/luca/Applicazioni/grass_trunk/raster/r.horizon /home/luca/Applicazioni/grass_trunk/raster/r.sun /home/luca/Applicazioni/grass_trunk/raster/r.sunmask /home/luca/Applicazioni/grass_trunk/imagery/i.latlong If I run make in g.region, or in any other folders from the list above, this is the output: /usr/local/lib/libgdal.so.1: undefined reference to `pj_ctx_free' /usr/local/lib/libgdal.so.1: undefined reference to `pj_ctx_alloc' /usr/local/lib/libgdal.so.1: undefined reference to `pj_ctx_get_errno' /usr/local/lib/libgdal.so.1: undefined reference to `pj_init_plus_ctx' I use latest gdal/proj and the same ./configure gives no errors building latest 6.4. Thx for your help! L. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Errors-with-latest-GRASS-7-tp5000249.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Re: g.extension and GRASS 6.4.1
Moritz Lennert wrote: On 10/05/11 22:26, Luca Casagrande wrote: /opt/grass/include/grass/vect/dig_structs.h:22:21: fatal error: ogr_api.h: No such file or directory compilation terminated. make: *** [OBJ.x86_64-unknown-linux-gnu/io.o] Errore 1 ERRORE: Compilation failed, sorry. Please check above error messages. Is it still related to GRASS or am I missing some packages? ogr_api.h is a header file from gdal, so you need to install the gdal headers (libgdal1-dev in Debian). Moritz Thank you Mortiz, this was the reason of my error and now it's fixed. Right now the last troubles is related to missing /usr/src/packages/BUILD/grass-6.4.1/tools/g.html2man/g.html2man Thx L. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/g-extension-and-GRASS-6-4-1-tp6348794p6351068.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] g.extension and GRASS 6.4.1
Hello everybody, today I tried to use g.extension on GRASS 6.4.1 from OpenSuse 11.4 without any success, because it complains about missing grass/gis.h. The dev packages are installed and the needed file is inside /opt/grass/include/grass/gis.h so I don't understand the problem. Is there any way to use extension without building GRASS? Thank you very much Ciao Luca -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/g-extension-and-GRASS-6-4-1-tp6348794p6348794.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Re: g.extension and GRASS 6.4.1
Thanks Markus for your answer! After updating g.extension, the error message is this: GRASS 6.4.1 (concessioni):~ g.extension extension=r.stream.basins svnurl=https://svn.osgeo.org/grass/grass-addons Fetching r.stream.basins from GRASS-Addons SVN (be patient)... Ar.stream.basins/main.c Ar.stream.basins/description.html Ar.stream.basins/global.h Ar.stream.basins/catchment.c Ar.stream.basins/io.c Ar.stream.basins/Makefile Estratta revisione 46230. Compiling r.stream.basins... mkdir -p /home/luca/Dropbox/gis/dati/grass/concessioni/PERMANENT/.tmp/linux-547q.site/11122.0/dist/include/grass mkdir -p /home/luca/Dropbox/gis/dati/grass/concessioni/PERMANENT/.tmp/linux-547q.site/11122.0/dist/bin mkdir -p /home/luca/Dropbox/gis/dati/grass/concessioni/PERMANENT/.tmp/linux-547q.site/11122.0/dist/etc mkdir -p /home/luca/Dropbox/gis/dati/grass/concessioni/PERMANENT/.tmp/linux-547q.site/11122.0/dist/driver mkdir -p /home/luca/Dropbox/gis/dati/grass/concessioni/PERMANENT/.tmp/linux-547q.site/11122.0/dist/driver/db mkdir -p /home/luca/Dropbox/gis/dati/grass/concessioni/PERMANENT/.tmp/linux-547q.site/11122.0/dist/fonts make OBJ.x86_64-unknown-linux-gnu make[1]: Entering directory `/home/luca/Dropbox/gis/dati/grass/concessioni/PERMANENT/.tmp/linux-547q.site/11122.0/r.stream.basins' test -d OBJ.x86_64-unknown-linux-gnu || mkdir -p OBJ.x86_64-unknown-linux-gnu make[1]: Leaving directory `/home/luca/Dropbox/gis/dati/grass/concessioni/PERMANENT/.tmp/linux-547q.site/11122.0/r.stream.basins' gcc -I/opt/grass/include -I/opt/grass/include -I/home/luca/Dropbox/gis/dati/grass/concessioni/PERMANENT/.tmp/linux-547q.site/11122.0/dist/include -O2-I/usr/include/gdal -I/usr/include-DPACKAGE=\grassmods\ -I/opt/grass/include -I/opt/grass/include -I/home/luca/Dropbox/gis/dati/grass/concessioni/PERMANENT/.tmp/linux-547q.site/11122.0/dist/include -o OBJ.x86_64-unknown-linux-gnu/io.o -c io.c In file included from /opt/grass/include/grass/vect/digit.h:3:0, from /opt/grass/include/grass/Vect.h:4, from global.h:6, from io.c:1: /opt/grass/include/grass/vect/dig_structs.h:22:21: fatal error: ogr_api.h: No such file or directory compilation terminated. make: *** [OBJ.x86_64-unknown-linux-gnu/io.o] Errore 1 ERRORE: Compilation failed, sorry. Please check above error messages. Is it still related to GRASS or am I missing some packages? Thx Luca -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/g-extension-and-GRASS-6-4-1-tp6348794p6349403.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] GRASS as Web server application
hm.sushma wrote: can I execute Grass on my web application. If anybody knows can plz help.. Thanks in advance sushma Hi sushma, take a look at PyWPS [1]. Bye Luca [1]:http://pywps.wald.intevation.org/ -- View this message in context: http://n2.nabble.com/GRASS-as-Web-server-application-tp3514163p3514535.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Interactive flood simulation
Pavel Iacovlev wrote: Good day, I wrote a simple web flood simulation application. Posting here the source code, maybe it will be useful for someone who wants to use GRASS from PHP. Example: http://flood.iap.md/ Source code: http://code.google.com/p/grass-flood/source/browse/#svn/trunk PHP Class for connecting to grass application: http://code.google.com/p/grass-flood/source/browse/trunk/Grass.php The example features GRASS, PHPMapscript, OpenLayers, PHP and how they can work together, based on http://grass.osgeo.org/wiki/GRASS_and_PHP Hi Pavel, really nice application! If you are interested using GRASS in a web application, you should take a look at PyWPS [1]. Bye Luca Casagrande [1]:http://pywps.wald.intevation.org/ -- View this message in context: http://n2.nabble.com/Interactive-flood-simulation-tp3384169p3391192.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] r.in.wms failure
hamish-2 wrote: Massimo wrote: Requesting 12 tiles. Downloading tiles Downloading data http://wms.jpl.nasa.gov/wms.cgi: 2009-07-09 10:39:15 ERROR 403: Forbidden. 403 is a message is from the web server. To use the same server with OpenLayers, I had to set the size of the tiles to 512px. Could this be the problem? Ciao Luca -- View this message in context: http://n2.nabble.com/r.in.wms-failure-tp3227181p3230411.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] r.in.wms failure
hamish-2 wrote: Luca wrote: To use the same server with OpenLayers, I had to set the size of the tiles to 512px. Could this be the problem? probably not. arbitrary sizes work for me. I don't know, but OpenLayers might be using the pre-cut tiles as JPL's web page pleads you do, in which case the power-of-2 size makes sense. By default OL request a tile of 256px x 256px but this size is too small for NASA WMS. Ciao Luca -- View this message in context: http://n2.nabble.com/r.in.wms-failure-tp3227181p3231076.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] i.albedo on trunk
Hello folks. I am using i.albedo from current trunk and I noticed 2 things while working with some Landsat data: - the aggressive mode (-c flag) doesn't produce any map; - without the flag the map created show just some points; If I create the albedo map using r.mapcalc (albedo= 0.293*lsat7_ref_01 + 0.274 ) all is fine. Thank you for your help Luca -- View this message in context: http://n2.nabble.com/i.albedo-on-trunk-tp3144476p3144476.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] i.atcorr for thermal band
Hello folks. Is there a particular reason for the fact that in the module i.atcorr there is no reference to the Landsat Thermal band for Sensor band input ? Thank you Luca -- View this message in context: http://n2.nabble.com/i.atcorr-for-thermal-band-tp3132304p3132304.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Location Wizard error
Hello folks, after my daily update of 6.4 svn I have got a problem creating a new Location. Just after the selection of the towgs parameter I have got: Execution failed: 'g.proj -c epsg=23033 location=newLocation232 datumtrans=1' Error: region for current mapset is not setrun g.region And also those things: /usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/gcmd.py:63: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 self.message = message Traceback (most recent call last): File /usr/local/grass-6.4.0svn/etc/wxpython/gis_set.py, line 404, in OnWizard gWizard = location_wizard.LocationWizard(self, self.tgisdbase.GetValue()) File /usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/location_wizard.py, line 1742, in __init__ success = self.OnWizFinished() File /usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/location_wizard.py, line 1905, in OnWizFinished success = self.EPSGCreate() File /usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/location_wizard.py, line 2120, in EPSGCreate p = gcmd.Command(cmdlist, stderr=None) File /usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/gcmd.py, line 358, in __init__ _(Error: ) + self.GetError())) gui_modules.gcmd.CmdError/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/gcmd.py:70: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 message=self.message, This error doesn't happen if I use just an arbitrary XY system. Any idea? Thanks Luca -- View this message in context: http://n2.nabble.com/Location-Wizard-error-tp3115838p3115838.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] i.albedo module
Hello everybody, probably I missed something, but I can't find the module i.albedo (or r.albedo) inside the GRASS svn. Is it been integrated into some other module? Thank you very much. Luca -- View this message in context: http://n2.nabble.com/i.albedo-module-tp2561859p2561859.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] GRASS GIS with SEBAL and TSEB model
Hello everybody! Someone knows of work with models like SEBAL or TSEB made with GRASS GIS? Thanks Luca -- View this message in context: http://n2.nabble.com/GRASS-GIS-with-SEBAL-and-TSEB-model-tp2358434p2358434.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Move vertex in v.digit releasebranch
Hi Martin, Martin Landa wrote: Hi, 2008/12/21 Casagrande Luca thedokto...@gmail.com: Hello everybody! I am testing the releasebranch with the wxpython interface and I found this little problem: - open roads from spearfish and start edit it - select the move vertex tool - after you select a vertex with the left click, if the button is pressed again by mistake, the display freeze. should be fixed in r35035 (relbr64). Thanks, it's fine now. I'll keep testing.. Luca -- View this message in context: http://n2.nabble.com/Move-vertex-in-v.digit-releasebranch-tp1886429p2102368.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] wxpython interface and r.lake
Hello everybody! Don't know if this is a bug, but the GUI for r.lake doesn't show any raster data from the drop-down menu. All is fine with tcltk. This is a screenshoot of the problem: http://img159.imageshack.us/my.php?image=rlakeinputob3.jpg Thank you very much Luca ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Snap across layers
Markus Neteler ha scritto: hi Luca, - v.edit does it: bgmap Name of background vector map(s) snap to - the new digitizer in wxgrass does it (not yet enabled by default) Cheers Markus On Jan 28, 2008 3:29 PM, Luca Casagrande [EMAIL PROTECTED] wrote: Hello everybody, anyone knows if is possible to do snap across different layers in Grass 6.3? Thanks Luca Hi Markus and thanks for your answer. Before moving to my data, I am doing some tests with 2 vector layers: http://img337.imageshack.us/my.php?image=schermatamapdisplay1vp5.png Basically the small one, should snap to the bigger one. The command line I use is this: v.edit map=origine bgmap=destinazione cat=1-999 tool=snap thresh=-1 But nothing change. In the log I have got a lot of line like this, both if i set thresh -1 or 500 [..] D1/1: Vect_set_thresh(): thresh = 0.00 [..] Thanks for your help Luca ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] v.coordinate.sh - improve this script?
On Jan 24, 2008 4:28 PM, Michael Barton [EMAIL PROTECTED] wrote: Since the new GUI will be in Python, I strongly suggest that we start developing new scripts in Python and for anyone with time on their hands ;-) start to create Python versions of existing scripts. The more scripts that are available in Python, the more people will make sure that Python is installed and will take a look at it, which will lead to more scripts in Python, etc... Hi Michael, I have started studying python more deeper for using it in pyWPS and for creating new Qgis modules (with QT). Just for knowing, is there any reason for using wxWindow instead of Qt for the new GUI? is it a matter of license? Thank you very much Luca ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] v.coordinate.sh - improve this script?
Hi Martin Martin Landa ha scritto: I have started studying python more deeper for using it in pyWPS and for creating new Qgis modules (with QT). Just for knowing, is there any reason for using wxWindow instead of Qt for the new GUI? is it a matter of license? which graphical toolkit to use for native GRASS GUI has been discussed in grass-dev ML several times in the past. At the end it was decided to use wxWidgets: * powerful Python binding (know as wxPython). * uses native platform SDK (native look and feel) * Free OpenGL widget for NVIZ replacement see http://grass.gdf-hannover.de/wiki/GRASS_GUI http://grass.gdf-hannover.de/wiki/WxPython-based_GUI_for_GRASS http://www.nabble.com/v.digit%3A-Qt-or-wxWidgets-to4472391.html#a4472391 http://www.nabble.com/Platform-for-next-generation-UI-to2114044.html#a2115028 http://www.nabble.com/Discussing-new-GUI-toolkit%3A-v.pydigit-to4637114.html#a4642371 http://www.nabble.com/Python-GUI-toolkits-to4755513.html#a4788219 Thanks for you info, I missed the dev-mailing list, but now I understand the reason of your choice. Hope to give you a hand in the future :) Bye Luca ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] OT: metadata authoring tools
Don't know if this can help, but here: http://www.jornadasgvsig.gva.es/fileadmin/conselleria/Documentacion/3asJornadas/sesiones/sesion4/Gestion_metadatos_en_gvSIG.pdf You can find the paper of Semiautomatic extraction and management of metadata in gvSIG presented during latest gvSIG conference. Bye Luca On Dec 12, 2007 10:30 PM, Patton, Eric [EMAIL PROTECTED] wrote: Dylan: Sorry for the off-topic post. I am part of an ISO Metadata Editor Review committee over here, and was looking for some initial feedback on what various parties in the FOSS world use for metadata authoring, etc. There are some members of the group who are looking to building an extension to the BibTeX standard as a way of keeping the entire process in a text format, and integrateable into standard document preparation techniques. Metadata is a very big deal in our shop; there's been a big push in the last 3-4 years to get all of our legacy data online and documented. Pretty much every bathymetry raster dataset we collect is destined for an ArcIMS public web portal, and so has to have FGDC-compliant metadata accompanying it. We use ArcGIS' ArcCatalog to write our metadata. I've been casting about for a FOSS metadata authoring tool, with not much luck. The USGS has a couple tools called xtme/tkme which are used for metadata authoring. I tried installing them once, but never really had a lot of success with it. I'd be really interested in some kind of metadata scripting tool that uses LaTeX/BibTeX. Are they intending to write a new document class to integrate into LaTeX? Metadata authoring is pretty much the only reason I need to use ArcGIS right now. If a free, open source alternative became available that was usable in a GRASS scripting environment, that would be great! Dylan: Any thoughts, suggestions, or stories would be appreciated. We are hoping to make a big impact on the formation of several federal (US) metadata authoring policies- with emphasis on open source software. Good luck, and please keep the list updated on events. I'm definitely interested. Cheers, ~ Eric. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] LRS and Documentation
Hi Markus and thanks for your answer. With v.net i have created a new node file for my network ( to be sure that node are connected to network). Using that one as milestone I have 5 lines that go in the right output and 11 that go in the error one with the same warning then before. Bye Luca Markus Neteler ha scritto: Hi Luca, maybe you need to run v.net on the network first, see its man page for instructions to add missing nodes. Markus On Thu, Dec 06, 2007 at 06:39:56PM +0100, Luca Casagrande wrote: Hello everybody, i am doing the tutorial from: http://grass.itc.it/grass63/manuals/html63_user/v.lrs.create.html and all seem fine, until I run the last command (v.lrs.create). v.lrs.create --o busroute points=busstops out=route_lrs err=lrs_error lidcol=lid pidcol=lid rstable=route_lrs thresh=50 This is the error: WARNING: Not enough points (0) attached to the line (cat 1), line skip. .. WARNING: Not enough points (0) attached to the line (cat 16), line skip. After that out_lines is empty and lrs_error show the whole network. Am I missing something? Thank you Luca ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user