Re: [GRASS-user] ESRI formats: gdb and shp

2020-02-11 Thread Daniel Victoria
time. So the information in here could be outdated Cheers Daniel On Tue, Feb 11, 2020 at 1:56 PM Rich Shepard wrote: > On Tue, 11 Feb 2020, Daniel Victoria wrote: > > > What do you mean by better? Correct data? Easier to import? > > Daniel, > > More complete topograph

Re: [GRASS-user] ESRI formats: gdb and shp

2020-02-11 Thread Daniel Victoria
What do you mean by better? Correct data? Easier to import? If they contain the same data I think it does not matter which one you use. Specially because you are talking about point data. But, if there is a difference in the data, then you have another problem. Figuring out which one is correct

Re: [GRASS-user] Null values in attribute table get converted to 0 (zero) during v.to.rast

2019-11-07 Thread Daniel Victoria
rkus M > > > > > yes, this could be a solution to keep track of where you had polygons, > but then you would need to use r.null anyway, no? I try to think of use > cases in which one uses a vector attribute to convert to raster, but then > still needs to know where the polygons were... beca

[GRASS-user] Null values in attribute table get converted to 0 (zero) during v.to.rast

2019-10-24 Thread Daniel Victoria
Hi list, I have a vector polygon map that I'm converting to raster. The attribute column that I process has some empty rows (no data / null). When I run v.to.rast, these empty rows become 0 (zero) on my resulting raster map. Shouldn't v.to.rast respect the empty attribute table and create null

Re: [GRASS-user] Read only mapsets

2019-04-26 Thread Daniel Victoria
You could use the PERMANENT mapset for this purpose. Also, the AFAIK mapsets are writable by the directory owner. So you could use the filesystem setting to achieve what you want to do. There is a more detailed explanation here https://grasswiki.osgeo.org/wiki/Location_and_Mapsets Cheers On

Re: [GRASS-user] estimate impervious areas from satellite imagery

2019-04-22 Thread Daniel Victoria
There are many articles dealing with this topic [1]. You will have to find what method best suits your needs. You can then apply it using GRASS GIS Cheers 1: https://scholar.google.com.br/scholar?q=map+impervious+surface+remote+sensing=en_sdt=0_vis=1=scholart On Sun, Apr 21, 2019 at 10:16 AM

Re: [GRASS-user] Uploading NumPy array as a new column to a vector map

2019-02-14 Thread Daniel Victoria
Never tried it but you got me curious. It looks simpler to define a new function or the database using python sqlite3 libs https://docs.python.org/2/library/sqlite3.html#sqlite3.Connection.create_function Cheers On Thu, Feb 14, 2019 at 12:50 PM César Augusto Ramírez Franco <

Re: [GRASS-user] Digitizing from or converting Google Earth maps

2019-02-05 Thread Daniel Victoria
'. https://www.google.com/permissions/geoguidelines/ Of course, I could be wrong... As for your other question, about using v.digit, I'm afraid I can't give much help. Cheers Daniel On Mon, Feb 4, 2019 at 11:11 PM Rich Shepard wrote: > On Mon, 4 Feb 2019, Daniel Victoria wrote: > > &

Re: [GRASS-user] Digitizing from or converting Google Earth maps

2019-02-04 Thread Daniel Victoria
Not sure if r.in.gdal or r.in.wms can load Google Earth tiles. QGIS has a nice way of loading external tiles and WMS servers as a background image. You could than digitize on top of that. But since Google changed their MAPs API, I'm not sure if QGIS is loading Google Earth Images straight out of

Re: [GRASS-user] buffer to wrap points

2018-11-29 Thread Daniel Victoria
Or are you looking at a way to wrap all points? Like v.hull [1] There is also an addon for concave hull [2] Cheers [1] - https://grass.osgeo.org/grass74/manuals/v.hull.html [2] - https://grass.osgeo.org/grass74/manuals/addons/v.concave.hull.html On Thu, Nov 29, 2018 at 10:10 AM Ken Mankoff

Re: [GRASS-user] Create_iwave.py script error for template creation -i.atcorr module-reg

2018-10-24 Thread Daniel Victoria
I looks like you have a mixed python installation, with some libraries coming from ArcGIS and others from your grass installation. Not sure that's a problem but, if it works on Markus M computer, it's worth checking it out. On Wed, Oct 24, 2018 at 5:08 PM Markus Metz wrote: > > > On Wed, Oct

Re: [GRASS-user] db.out.ogr issues

2018-08-09 Thread Daniel Victoria
The lat/long coordinates you get from DB.out.ogr probably comes from your vector attributes, which contains the old coordinates. When you project the data in Grass, the coordinates in the vector geometry are updated but the attribute table is not changed. Try using v.to.db to add the coordinates

Re: [GRASS-user] Rotating raster maps

2018-07-18 Thread Daniel Victoria
`r.patch`. But again, not sure if this is your case Cheers On Wed, Jul 18, 2018 at 12:06 PM Rich Shepard wrote: > On Wed, 18 Jul 2018, Daniel Victoria wrote: > > > But are those tif images? Or GeoTiff? Because, if those are geotiffs, > with > > correct georeferencing, I belie

Re: [GRASS-user] Rotating raster maps

2018-07-18 Thread Daniel Victoria
But are those tif images? Or GeoTiff? Because, if those are geotiffs, with correct georeferencing, I believe rotating will mess things up. On Wed, Jul 18, 2018 at 11:48 AM Markus Neteler wrote: > On Wed, Jul 18, 2018 at 2:53 PM, Rich Shepard > wrote: > > I have .tif images at 1:5000 or

Re: [GRASS-user] r,in.gdal error when importing a jpeg2000 image

2018-07-18 Thread Daniel Victoria
Did you try running gdalinfo on your image? Does it work? The GDAL raster format page [1] lists that JPEG2000 support is not compiled by default. So it could be that your gdal installation does not recognize this file [1] http://www.gdal.org/formats_list.html On Wed, Jul 18, 2018 at 5:33 AM

Re: [GRASS-user] Importing .tif

2018-07-16 Thread Daniel Victoria
Rich, I copied 3 examples from the man page. The last one was: *grass74 -c myraster.tif $HOME/grassdata/mylocation* That's probably what you are looking for. On Mon, Jul 16, 2018 at 4:52 PM Rich Shepard wrote: > On Mon, 16 Jul 2018, Daniel Victoria wrote: > > > The manu

Re: [GRASS-user] Importing .tif

2018-07-16 Thread Daniel Victoria
Rich, The manual [1] gives the following examples. Did you try that? *grass74 -c EPSG:5514:3 $HOME/grassdata/mylocation* Creates new GRASS location with EPSG code 5514 (S-JTSK / Krovak East North - SJTSK) with datum transformation parameters used in Czech Republic in the specified GISDBASE

Re: [GRASS-user] Problem with half basins becoming fragmented using r.watershed

2018-07-13 Thread Daniel Victoria
Not sure what's going on since I've not seen this before. But have you tried different threshold values? On Fri, Jul 13, 2018 at 2:06 PM Erin Hanan wrote: > Hello, > > I am new to the list; please let me know if my question should be > formatted differently. > > I have been running r.watershed

Re: [GRASS-user] Finding EPSG code based on prj.adf; importing with v.in.gdal

2018-07-06 Thread Daniel Victoria
The prj.adf says you have a Lambert Conformal Conic. Since you are working with data from oregon, a quick search in Spatialreference.org resulted in this: Oregon State Plane http://spatialreference.org/ref/sr-org/7327/ Thake a look at the HUman readable OGC WKT. Looks the same. I don't think

Re: [GRASS-user] Inconsistent number of column in the table

2018-07-04 Thread Daniel Victoria
at char(10) is the same thing [1]. Cheers Daniel [1] - https://stackoverflow.com/questions/23930865/new-line-character-n-in-sqlite-concatenate On Tue, Jul 3, 2018 at 5:53 PM Micha Silver wrote: > > > On 07/03/2018 10:39 PM, Daniel Victoria wrote: > > Hi list, > > So

Re: [GRASS-user] Inconsistent number of column in the table

2018-07-03 Thread Daniel Victoria
bute table? The only thing I could think of is opening the shapefile in R or Python and try to substitute the "\n" character. Cheers Daniel On Tue, Jan 16, 2018 at 10:13 PM Daniel Victoria wrote: > That is probably the case. > Is there a way to 'sanitize' this shapefile DBF prior to

Re: [GRASS-user] Spatial data exchange formats

2018-06-21 Thread Daniel Victoria
Rich, I was able to open your GRID in QGis. And if it works in QGis, it should work in GRASS too. What I've seen is that most of you data has values -3.4028e+38 which appears to be the NODATA value. So, are you sure this part of the data is not a corner of the mapped area? Because there is valid

Re: [GRASS-user] Spatial data exchange formats

2018-06-21 Thread Daniel Victoria
QGis? Cheers Daniel On Thu, Jun 21, 2018 at 2:24 PM Rich Shepard wrote: > On Thu, 21 Jun 2018, Daniel Victoria wrote: > > > ESRI ArcINFO used two formats that spreded files into a directory with > the > > layer name and another directory called INFO. In the directory wi

Re: [GRASS-user] Spatial data exchange formats

2018-06-21 Thread Daniel Victoria
ing both ESRI formats http://desktop.arcgis.com/en/arcmap/10.3/manage-data/raster-and-images/esri-grid-format.htm http://desktop.arcgis.com/en/arcmap/10.3/manage-data/coverages/contents-of-a-coverage-workspace.htm On Thu, Jun 21, 2018 at 11:50 AM Rich Shepard wrote: > On Mon, 18 Jun 2018,

Re: [GRASS-user] Spatial data exchange formats

2018-06-18 Thread Daniel Victoria
vector data. Further processing is needed to transform it to a raster format. Cheers Daniel On Mon, Jun 18, 2018 at 11:25 AM Rich Shepard wrote: > On Mon, 18 Jun 2018, Daniel Victoria wrote: > > > Actually, your ADF file is part of a vector format from ESRI named > > Coverage,

Re: [GRASS-user] Spatial data exchange formats

2018-06-18 Thread Daniel Victoria
Hi Rich, Actually, your ADF file is part of a vector format from ESRI named Coverage, that includes some files in a folder with the name of your data and some other data in a folder called INFO. Here is some more info on the Coverage format [1] GDAL OGR can handle both shape and coverage formats

Re: [GRASS-user] screenshot of old i.class interactive module ?

2018-02-01 Thread Daniel Victoria
:03 PM Moritz Lennert <mlenn...@club.worldonline.be> wrote: > On 01/02/18 16:42, Daniel Victoria wrote: > > I tried to find something and was not successful. But in my Google > > search I bumped into the Grass 4.0 users manual from 1992. > > Don't know if it's of intere

Re: [GRASS-user] screenshot of old i.class interactive module ?

2018-02-01 Thread Daniel Victoria
I tried to find something and was not successful. But in my Google search I bumped into the Grass 4.0 users manual from 1992. Don't know if it's of interest to anyone. But here goes the (quite slow) link http://www.dtic.mil/dtic/tr/fulltext/u2/a255218.pdf Cheers On Thu, Feb 1, 2018 at 1:02 PM

Re: [GRASS-user] i.atcorr with Sentinel2

2018-01-23 Thread Daniel Victoria
It's been a while since I wrote that script. Glad to see it's still of use :) Anyway, I'm a bit overwhelmed so I won't be able to look at the changes asked. But I'm glad Stefan can take a look. And I can help out in any questions that might come up. Cheers Daniel On Tue, Jan 23, 2018 at 11:50

[GRASS-user] Calculating cost to port - now with rail

2018-01-19 Thread Daniel Victoria
Hi list, A while ago I asked a similar question about calculating cost to port considering a road network. I got this sorted out and results look nice. But now I'd like to include some rail lines in the analysis. The problem is that if I just add rail lines to my cell cost raster, the rail lines

Re: [GRASS-user] r.watershed

2018-01-19 Thread Daniel Victoria
Hi Shane, I don't know the internals of r.watershed but your best option is to take a look at the man page [1] and the references listed at the bottom. It contains all the references for the algorithms used. Cheers Daniel [1] - https://grass.osgeo.org/grass72/manuals/r.watershed On Wed, Jan 17,

Re: [GRASS-user] Inconsistent number of column in the table

2018-01-16 Thread Daniel Victoria
That is probably the case. Is there a way to 'sanitize' this shapefile DBF prior to v.in.ogr? Or the fact that v.db.select works on the CLI means that the attribute table is OK. It's more a visualization problem with the GUI attribute table manager. Thanks Daniel On Tue, Jan 16, 2018 at 6:15

[GRASS-user] Inconsistent number of column in the table

2018-01-16 Thread Daniel Victoria
Hi List, I imported a large vector shapefile into grass. v.in.ogr did not report any errors. However, when I try to open the attribute table (Show attribute table in GUI dialog), I get an error saying "Inconsistent number of column in the table". The Attribute table manager then opens but I can't

Re: [GRASS-user] Calculating cost to port

2017-11-10 Thread Daniel Victoria
<mlenn...@club.worldonline.be> wrote: > Le Fri, 10 Nov 2017 16:03:45 +, > Daniel Victoria <daniel.victo...@gmail.com> a écrit : > > > Hi list, > > > > I want to calculate a cost of getting from any cell in my raster to > > some ports, considering roads

[GRASS-user] Calculating cost to port

2017-11-10 Thread Daniel Victoria
Hi list, I want to calculate a cost of getting from any cell in my raster to some ports, considering roads network, and I though r.cost could solve this. What I have is: 1) Cost raster map with cost per cell (10 for normal cells, 1 if it's a road) 2) vector map containing several ports 3)

Re: [GRASS-user] P value for slope from r.series

2017-10-18 Thread Daniel Victoria
kus Metz <markus.metz.gisw...@gmail.com> wrote: > > > On Wed, Oct 18, 2017 at 7:19 PM, Daniel Victoria < > daniel.victo...@gmail.com> wrote: > > > > I just read on the p-value regression ticket a comment from Markus Metz > [1]. If I understood correctly, he ment

Re: [GRASS-user] P value for slope from r.series

2017-10-18 Thread Daniel Victoria
at 2:12 PM Daniel Victoria <daniel.victo...@gmail.com> wrote: > Replying to self and in case helps anyone. > > Solved it by using R and the raster package. Here is a Stackoverflow post > about it > > > https://stackoverflow.com/questions/20262999/how-to-output-re

Re: [GRASS-user] P value for slope from r.series

2017-10-16 Thread Daniel Victoria
Daniel Victoria <daniel.victo...@gmail.com> wrote: > OK, dumb question since I'm a bit (or very) bad at stats. > > I'm calculating the slope from a series of rasters using r.series. I see > that I can also get the t-value and the coefficient of determination. Is > there a w

[GRASS-user] P value for slope from r.series

2017-10-11 Thread Daniel Victoria
OK, dumb question since I'm a bit (or very) bad at stats. I'm calculating the slope from a series of rasters using r.series. I see that I can also get the t-value and the coefficient of determination. Is there a way to get the p-value for the regression? I've seen that this question has been

Re: [GRASS-user] [snap pour point for r.water.outlet]

2017-03-29 Thread Daniel Victoria
file. > > *Best,* > *Ang* > > On Wed, Mar 29, 2017 at 9:49 PM, Daniel Victoria < > daniel.victo...@gmail.com> wrote: > > Hi Ang, > > I had replied off list. I'm now replying to the list so other can comment > > The idea is that to delineate watersheds, the

Re: [GRASS-user] [snap pour point for r.water.outlet]

2017-03-29 Thread Daniel Victoria
Hi Ang, I had replied off list. I'm now replying to the list so other can comment The idea is that to delineate watersheds, the outlet has to lie in a place with high accumulation. So if you get your outlet points a bit messed up, a way to force them to go to the right place is to use

Re: [GRASS-user] r.buffer not working

2016-11-07 Thread Daniel Victoria
Hi Helmut, You are right, It's probably an out of memory problem. By reducing the resolution, r.buffer runs without a problem. Thanks Daniel On Mon, Nov 7, 2016 at 10:08 AM, Helmut Kudrnovsky wrote: > DanielV wrote > > Hi List, > > > > Trying to run r.buffer on a map with

[GRASS-user] r.buffer not working

2016-11-07 Thread Daniel Victoria
Hi List, Trying to run r.buffer on a map with values 1 or null (it's an agriculture area map with only one class). I tried with multiple distances and only one distance and in both cases, I recieve an error that Grass 7 stoped working and that windows will close the program. I'm running grass7

Re: [GRASS-user] Importing MrSID files [RESOLVED]

2016-09-20 Thread Daniel Victoria
>From what I read, you should point to the .sid file. But check if your gdal is compiled with MrSID support. A gdalinfo on the file should inform you if your gdal install can handle such files On Tue, Sep 20, 2016 at 4:07 PM, Rich Shepard wrote: > On Tue, 20 Sep 2016,

Re: [GRASS-user] Problem with v.edit delete tool

2016-08-31 Thread Daniel Victoria
31/08/16 16:32, Daniel Victoria wrote: > >> Hi List, >> >> This is probably more due to my lack of understanding of how v.edit >> works. But here it goes. >> >> I have a polygon vector layer where some of the polygons have a 'No >> data' label.

Re: [GRASS-user] Problem with v.edit delete tool

2016-08-31 Thread Daniel Victoria
Oops, forgot to mention I'm using Grass 7.0.4 from OSGeo4Win 64 bits On Wed, Aug 31, 2016 at 11:32 AM, Daniel Victoria <daniel.victo...@gmail.com > wrote: > Hi List, > > This is probably more due to my lack of understanding of how v.edit works. > But here it goes. > >

[GRASS-user] Problem with v.edit delete tool

2016-08-31 Thread Daniel Victoria
Hi List, This is probably more due to my lack of understanding of how v.edit works. But here it goes. I have a polygon vector layer where some of the polygons have a 'No data' label. I'd like to delete those polygons so I ran the command, with the following output: v.edit map=teste@isna

Re: [GRASS-user] OSGeo4 WWinGrass and msys

2016-04-05 Thread Daniel Victoria
Worked like a charm. Thanks Martin On Tue, Apr 5, 2016 at 9:00 AM, Martin Landa <landa.mar...@gmail.com> wrote: > Hi, > > 2016-04-05 13:43 GMT+02:00 Daniel Victoria <daniel.victo...@gmail.com>: > > I'm using Grass 7.0.3 (64 bit) installed from OSGeo4W package. I notice

[GRASS-user] OSGeo4 WWinGrass and msys

2016-04-05 Thread Daniel Victoria
Hi list, I'm using Grass 7.0.3 (64 bit) installed from OSGeo4W package. I noticed that the command line interface that winGrass uses is windowss CMD. But I'd like to be able to use some bash shell syntax, like using g.list as input to r.series. Is there a way to use MSys as the Grass 7 command

Re: [GRASS-user] i.atcorr returning empty raster and not respecting input parameters [WAS: i.atcorr - segfault on OSX]

2016-03-21 Thread Daniel Victoria
is not respecting my choices. bug detected? > > After this I tried setting the input range and rescale options, but > without success. Still an empty raster... > > best > > Carlos > > > > > > On Mon, Mar 21, 2016 at 8:54 AM, Daniel Victoria < > daniel.vi

Re: [GRASS-user] r.out.gdal in GRASS 7.0 beta (windows OS) fails to export merged coloured-shade tiff

2016-01-13 Thread Daniel Victoria
Is your elevation raster (in Grass) a single band or a 3 band composite? It looks as though you have a single band elevation raster in Grass that has some nice colortable and, when you open it in ArcMap, you loose the colotable information (it's not in the tif file). Have you tried changing the

Re: [GRASS-user] Regarding Atmospheric Correction Model Output

2015-11-17 Thread Daniel Victoria
Dir you try to do a color balance on the corrected images? It's been a while since I've done this but I believe i.colors.enhance should do it. https://grass.osgeo.org/grass70/manuals/i.colors.enhance.html On Sun, Nov 15, 2015 at 12:57 AM, iat bd wrote: > Date: November

Re: [GRASS-user] thematic map legend text not shown

2015-07-22 Thread Daniel Victoria
I've had some problems with legend text in grass gui. I fixed it by setting the font explicitly (Arial for example). Not sure if it's your case since I was using the gui to create the legend. But worth a try. Cheers Daniel On Jul 16, 2015 4:22 AM, henk witte henk.wi...@groenholland.nl wrote:

Re: [GRASS-user] thematic map legend text not shown

2015-07-22 Thread Daniel Victoria
Forwarding to the list. Is this something that needs fixing? On Jul 22, 2015 7:50 AM, henk witte henk.wi...@groenholland.nl wrote: Thanks for the suggestion. I actually found the same solution and it does solve the problem. Thanks again Henk Witte *From:* Daniel Victoria

Re: [GRASS-user] [GRASS-dev] QGIS GRASS Plugin Upgrade Crowdfunding

2015-03-24 Thread Daniel Victoria
wrote: On Tue, Mar 24, 2015 at 5:31 PM, Daniel Victoria daniel.victo...@gmail.com wrote: Hi Radim, Is this why my QGis crashes when i try to load a Grass 7.0 vector file? [1] AFAIC, it should only crash if you try to open a GRASS mapset with GRASS 6 vectors in QGIS browser compiled

Re: [GRASS-user] [GRASS-dev] QGIS GRASS Plugin Upgrade Crowdfunding

2015-03-24 Thread Daniel Victoria
Hi Radim, Is this why my QGis crashes when i try to load a Grass 7.0 vector file? [1] Thanks Daniel [1] - http://gis.stackexchange.com/questions/138477/loading-grass-7-0-vectors-in-qgis-broken On Tue, Mar 24, 2015 at 11:47 AM, Vaclav Petras wenzesl...@gmail.com wrote: On Tue, Mar 24, 2015 at

[GRASS-user] v.out.ogr dialog ask for user to type entire output path

2015-03-16 Thread Daniel Victoria
Hi List, Just an observation and an improvement idea. I'm exporting some vector files with v.out.ogr (Grass 7.0 on Win7) In the 'Name of output OGR datasource' field, the user has to type the entire path, which some times can be quite long. Of course I can copy/paste the output path but couldn't

[GRASS-user] v.what.vect interface listing table columns from wrong layer

2015-03-06 Thread Daniel Victoria
Hi all, Using Grass7 n wndows (osgeo4win). I'm running v.what.vect and in the GUI, when I select the query column, the columns shows are the ones from the layer to be update and not from the query layer. I can run the command correctily if I type the correct query column name. It's just the

Re: [GRASS-user] Syncronizing two displays

2015-03-04 Thread Daniel Victoria
g.gui.swipe works vectors? I'm using Grass 7 from OSGeo4Win Thanks Daniel On Tue, Mar 3, 2015 at 9:29 AM, Markus Neteler nete...@osgeo.org wrote: On Tue, Mar 3, 2015 at 1:18 PM, Daniel Victoria daniel.victo...@gmail.com wrote: Is there a way to link two map displays in grass so that when I

Re: [GRASS-user] v.net tools with polygons

2015-03-04 Thread Daniel Victoria
. I'll try to go the centroids way Cheers Daniel On Tue, Mar 3, 2015 at 5:35 AM, Moritz Lennert mlenn...@club.worldonline.be wrote: On 02/03/15 21:39, Daniel Victoria wrote: Hi list, I'm beginning to learn and use the v.net http://v.net tools in Grass in order to evaluate

Re: [GRASS-user] v.net tools with polygons

2015-03-03 Thread Daniel Victoria
Ok Moritz, Thanks for the tips. I'll try to go the centroids way Cheers Daniel On Tue, Mar 3, 2015 at 5:35 AM, Moritz Lennert mlenn...@club.worldonline.be wrote: On 02/03/15 21:39, Daniel Victoria wrote: Hi list, I'm beginning to learn and use the v.net http://v.net tools in Grass

[GRASS-user] Syncronizing two displays

2015-03-03 Thread Daniel Victoria
Is there a way to link two map displays in grass so that when I zoom into one display, the other follows? This would be very usefull for comparing raster and vector data, for instance. Cheers Daniel ___ grass-user mailing list

[GRASS-user] v.net tools with polygons

2015-03-02 Thread Daniel Victoria
Hi list, I'm beginning to learn and use the v.net tools in Grass in order to evaluate the distance from several crop fields to a processing plant. I've successfully build the road network with the end nodes but now I'm in doubt. My starting points in the analysis are crop fields, which are

Re: [GRASS-user] Lost in encoding problem, v.in.ogr

2015-02-27 Thread Daniel Victoria
Cheers Daneil On Fri, Feb 27, 2015 at 12:16 AM, Anna Petrášová kratocha...@gmail.com wrote: On Thu, Feb 26, 2015 at 1:35 PM, Daniel Victoria daniel.victo...@gmail.com wrote: Hi List, I'm having trouble importing a shapefile with v.in.ogr that has some accented characters (like não

[GRASS-user] Lost in encoding problem, v.in.ogr

2015-02-26 Thread Daniel Victoria
Hi List, I'm having trouble importing a shapefile with v.in.ogr that has some accented characters (like não, rodoviária). The shapefile opend fine in QGIS and I can open the dbf on libreoffice, setting the encoding to (windows-1252/winlatin 1). I imported the shapefile and if I run v.db.select or

[GRASS-user] v.external adding layers to layer tree even though I did not ask for

2015-02-25 Thread Daniel Victoria
Hi folks, Using Grass 7.0.0 on windows, installed via OSGeo4Win. I'm linking a bunch of shapefiles inside a directory using v.external. I did not select the Add linked layers into layer tree but grass still adds the layers to my layer tree and tries to render it. I've also realized that the add

Re: [GRASS-user] Checking and fixing roads for network analysis

2015-01-19 Thread Daniel Victoria
Thanks for the video and tips Mark. I'll try to fix the topology by hand. My roads network is not that large so it won't take too much time. On Sun, Jan 18, 2015 at 9:00 AM, Mark Wynter m...@dimensionaledge.com wrote: Daniel, have you seen this example of using grass with QGIS?

Re: [GRASS-user] Checking and fixing roads for network analysis

2015-01-19 Thread Daniel Victoria
? And can I keep the old values in order to keep the DB link to the roads network? Cheers Daniel On Fri, Jan 16, 2015 at 3:35 PM, Daniel Victoria daniel.victo...@gmail.com wrote: Hi Mark, I tried using v.clean with break, rmdup and snap. However, when I try to run v.net.components I get an error

Re: [GRASS-user] Checking and fixing roads for network analysis

2015-01-19 Thread Daniel Victoria
the link with the old cats, where the roads name and type are stored. Cheers Daniel On Mon, Jan 19, 2015 at 2:11 PM, Moritz Lennert mlenn...@club.worldonline.be wrote: On 19/01/15 16:48, Daniel Victoria wrote: Hi Mark and others, I figured out where the error I'm getting from v.net.components

Re: [GRASS-user] Checking and fixing roads for network analysis

2015-01-16 Thread Daniel Victoria
. Mark -- Message: 1 Date: Thu, 15 Jan 2015 15:22:27 -0200 From: Daniel Victoria daniel.victo...@gmail.com To: grass grass-user@lists.osgeo.org Subject: [GRASS-user] Checking and fixing roads for network analysis Message

[GRASS-user] removing non-existing raster does not gives a warning

2015-01-16 Thread Daniel Victoria
WinGrass v7RC1 If if use the command line to delete a map (vector or raster) and the map does not exist, I won't receive a warning about the typo C:\g.remove raster name=bogus The following data base element files would be deleted: You must use the force flag (-f) to actually remove them.

Re: [GRASS-user] r.terraflow on massive DEM

2015-01-15 Thread Daniel Victoria
... Cheers and thanks once again Daniel On Thu, Jan 15, 2015 at 5:59 AM, Markus Metz markus.metz.gisw...@gmail.com wrote: On Wed, Jan 14, 2015 at 11:48 AM, Daniel Victoria daniel.victo...@gmail.com wrote: Hi Markus, I was using r.terraflow because I had converted my voids to negative

[GRASS-user] vector editing not working

2015-01-14 Thread Daniel Victoria
Hi list, Using Grass 7beta4 on Win7, installed using osgeo4w. I tried to create a vector file following the steps: 1) Add a base vector file to the map display 2) Create a new vector map 3) Change the map display to the digitizer When I do that, my map display goes blank and I have to hit the

Re: [GRASS-user] r.terraflow on massive DEM

2015-01-14 Thread Daniel Victoria
v3 you pointed out is very good but it's the 3-arcsec resolution. I'm working with the 1-arcsec res. Cheers and thanks Daniel On Tue, Jan 13, 2015 at 5:40 PM, Markus Metz markus.metz.gisw...@gmail.com wrote: On Tue, Jan 13, 2015 at 7:52 PM, Daniel Victoria daniel.victo...@gmail.com wrote

Re: [GRASS-user] r.terraflow on massive DEM

2015-01-13 Thread Daniel Victoria
or would it be better to use r.fill.null on a large dataset? Thanks Daniel On Tue, Jan 13, 2015 at 1:46 PM, Daniel Victoria daniel.victo...@gmail.com wrote: Charlie, I just downloaded some SRTM 1arc sec. from EarthExplorer. The data is supplied in 3 different file types, GeoTIFF, DTED or BIL

Re: [GRASS-user] r.terraflow on massive DEM

2015-01-13 Thread Daniel Victoria
raster, I know that it works on decimal rasters. -Thayer -- Date: Mon, 12 Jan 2015 09:59:40 -0200 From: Daniel Victoria daniel.victo...@gmail.com To: grass grass-user@lists.osgeo.org Subject: [GRASS-user] r.terraflow on massive DEM Message-ID: CA

Re: [GRASS-user] r.terraflow on massive DEM

2015-01-13 Thread Daniel Victoria
would recommend making sure r.terraflow works at all on your system. Then scale up to the full mosaic and see if you still have a problem. -Thayer -- *From:* Daniel Victoria daniel.victo...@gmail.com *To:* Charlie Shobe chsh5...@colorado.edu *Cc:* Thayer Young

Re: [GRASS-user] r.terraflow on massive DEM

2015-01-13 Thread Daniel Victoria
it was type FCELL and contained several decimal places of precision. Good luck, Charlie On Jan 13, 2015, at 4:00 AM, Daniel Victoria daniel.victo...@gmail.com wrote: Stephan, I'll give r.watershed a try and let it run for a couple of days. Thanks Thayer, I used r.recode because

[GRASS-user] r.terraflow on massive DEM

2015-01-12 Thread Daniel Victoria
Hi list, I'm trying to run r.terraflow on a very large DEM but I wander if it's __too large__. The region dimensions are: ncol=141114 nrow=140487 Data type = CELL The map is actually a reclass map of a raster that I imported using r.external. When I run r.terraflow I get: r.terraflow

Re: [GRASS-user] Distributed modeling animation rendered in GRASS70

2014-11-16 Thread Daniel Victoria
Very nice results and a great way to visualize model output. Cheers On Nov 13, 2014 4:19 AM, Thomas Adams tea...@gmail.com wrote: All, After running a distributed hydrologic model I did some shell/GRASS scripting to import the NEXRAD radar precipitation data and model output flow grids into

Re: [GRASS-user] rastization failed : can't allocate memory

2014-09-08 Thread Daniel Victoria
with g.region On Sat, Sep 6, 2014 at 1:24 PM, Markus Neteler nete...@osgeo.org wrote: On Sat, Sep 6, 2014 at 12:32 PM, Daniel Victoria daniel.victo...@gmail.com wrote: Maybe, instead of throwing a memory error, grass could check the region size and if the number of cells is too high, ask for user

Re: [GRASS-user] rastization failed : can't allocate memory

2014-09-06 Thread Daniel Victoria
, christophe joey christophe0j...@gmail.com wrote: thank you daniel victoria. in the options i had by default rows = 4000 so i reduce it. I think we should develop some magic to better decide how many rows are processed in v.to.rast in parallel. Suggestions? It also affects v.rast.stats which

Re: [GRASS-user] rastization failed : can't allocate memory

2014-09-05 Thread Daniel Victoria
Check your region resolution. It's probably too high and so gives you lots of row and cols On Sep 5, 2014 7:01 PM, christophe joey christophe0j...@gmail.com wrote: hello i'm trying to rasterize my vector layer but i got this error for all of my vectors : v.to.rast input=pedo@mapset

Re: [GRASS-user] create a common colour scale

2014-07-23 Thread Daniel Victoria
Sensing | www.researcherid.com/rid/B-4061-2011 | scholar.google.com.au/citations?hl=enuser=KpJdvKEJ From: Anna Petrášová kratocha...@gmail.com Date: Wednesday, 23 July 2014 12:15 pm To: Daniel Victoria daniel.victo...@gmail.com Cc: Viscarra Rossel, Raphael (LW, Black Mountain

Re: [GRASS-user] create a common colour scale

2014-07-22 Thread Daniel Victoria
Hi Raphael, This is what I did some time ago when I had the same problem 1) Find out the overall minimun and maximum precipitation over all maps. 2) Use r.colors with the rules option to compose a colortable that cover my entire precip range. 3) Apply the same colortable to all maps 4) plot and

Re: [GRASS-user] logarithmic scale in raster legend

2014-06-10 Thread Daniel Victoria
What if you use r.mapcalc and apply log to your map to make a new one with rescaled values? On Jun 9, 2014 12:36 PM, Veronica Andreo veroand...@gmail.com wrote: Hi list! I have these raster maps of chlorophyll concentration (mg/m3) with a lot of very small values (from 0.02 to 1.5) and few

Re: [GRASS-user] logarithmic scale in raster legend

2014-06-10 Thread Daniel Victoria
;) Thanks much! Vero 2014-06-10 7:40 GMT-03:00 Daniel Victoria daniel.victo...@gmail.com: What if you use r.mapcalc and apply log to your map to make a new one with rescaled values? On Jun 9, 2014 12:36 PM, Veronica Andreo veroand...@gmail.com wrote: Hi list! I have these raster maps

Re: [GRASS-user] Crown shape drawing

2013-10-25 Thread Daniel Victoria
# -*- coding: utf-8 -*- Created on Mon Jun 11 17:45:47 2012 Code to create canopy boxes around stem locations works for field data from Reserva Duke - Maria Hunter as exported by Grass db.select!! Altered on 8/8/2012 to work with directly with the csv data @author: Daniel Victoria daniel.victo

Re: [GRASS-user] i.landsat.toar comments have only 0 value

2013-10-18 Thread Daniel Victoria
On Fri, Oct 18, 2013 at 12:30 PM, Nikos Alexandris n...@nikosalexandris.net wrote: Daniel Victoria wrote: Niko, (thanks for paying attention to details, correct, in Greek you have to omit the final s when you call someone by its name, the vocative case!) It was actually a typo! I forgot

Re: [GRASS-user] i.landsat.toar comments have only 0 value

2013-10-17 Thread Daniel Victoria
Hi all, I'm also noticing the same problem that Beatrice and Yasser mentioned. I'm using WinGrass7_svn rev 58021 (installed using OSGeo4W). If I run i.landsat.toar and ask it to print the metadata (-p flag), it gives me the correct information from the MTL file --- (Thu Oct 17 17:26:35 2013)

Re: [GRASS-user] i.landsat.toar comments have only 0 value

2013-10-17 Thread Daniel Victoria
On Thu, Oct 17, 2013 at 5:45 PM, Daniel Victoria daniel.victo...@gmail.com wrote: Hi all, I'm also noticing the same problem that Beatrice and Yasser mentioned. I'm using WinGrass7_svn rev 58021 (installed using OSGeo4W). If I run i.landsat.toar and ask it to print the metadata (-p flag), it gives

Re: [GRASS-user] access to multispectral landsat data for the UK

2013-06-27 Thread Daniel Victoria
Hi Hamish, I was not aware of EOLi (and eolisa). Just installed and it looks lika a nice app. But I could not figure out if there were any free satellite images besides landsat. Do you know what images can we obtain for free, through eolisa? Cheers and thanks Daniel On Thu, Jun 20, 2013 at

Re: [GRASS-user] image spatial syncronization

2013-06-20 Thread Daniel Victoria
You are right Hamish, the software is quite old and unmantained. So maybe, the best bet would be to use the auto-pano tools Neteler suggested. I also found the web-page of one of the developers. http://www.dimin.net/software/scientific.html Cheers Daniel On Wed, Jun 19, 2013 at 11:57 PM,

Re: [GRASS-user] access to multispectral landsat data for the UK

2013-06-20 Thread Daniel Victoria
Hi Colin, I don't know where you are looking for these landsat images but they are free of cost for everyone. Take a look at the Earth Explorer[1] site from USGS. Even Landsat 8 data is available. I just cheched and found about 60 Landsat8 images over UK and Ireland with less then 30% cloud

Re: [GRASS-user] image spatial syncronization

2013-06-19 Thread Daniel Victoria
Hi Miltinho, You could also try a software called regimy (or some other spelling). If I recall correctly, it was developed by some guys at inpe and it finds matching control points between a set of images. We have been using it for some old landsat images. Cheers Daniel On Jun 17, 2013 2:35 PM,

Re: [GRASS-user] HydroFlow: Stream order soleley based on shape files/vectors

2013-06-18 Thread Daniel Victoria
Hi, I used the software some time ago and it worked nicely. And as Johannes explained, the only data needed is the river network and the basin boundary. I'll try to translate the algorithm behind the software but I'm a bit confused by it so I could be doing a worse job then a google

Re: [GRASS-user] Making images colours uniform

2013-03-27 Thread Daniel Victoria
I never used it but I believe there is an addon I.hist.match for histogram matching On Mar 27, 2013 7:35 AM, Paolo Cavallini cavall...@faunalia.it wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 27/03/2013 11:32, Moritz Lennert ha scritto: I'm not sure if I completely understand

Re: [GRASS-user] GRASS 6.4 Windows - How to change current directory

2013-03-27 Thread Daniel Victoria
Are you putting a : between the cd and the path (d:\dir)? If yes, remove that : Daniel On Mar 27, 2013 11:04 AM, BLANDENIER Lucien lucien.blanden...@unine.ch wrote: Hi all, I have some problem to change the current directory on the windows terminal. I used cd : d:\directory but I stay in

Re: [GRASS-user] RE : GRASS 6.4 Windows - How to change current directory

2013-03-27 Thread Daniel Victoria
:20 PM, BLANDENIER Lucien lucien.blanden...@unine.ch wrote: Hi Daniel, Thank you for your suggestion but it neither works. Others idea? De : Daniel Victoria [daniel.victo...@gmail.com] Date d'envoi : mercredi 27 mars 2013 16:54 À : BLANDENIER Lucien Cc

Re: [GRASS-user] use grass to process data for R biomod

2013-03-02 Thread Daniel Victoria
Take a look at v.what.rast It will upload raster values to an attribute table. That might do what you are looking for. Daniel On Mar 2, 2013 4:44 AM, 孔晓泉 u1mail...@gmail.com wrote: Hi, I'm working on my paper, which i will use R package biomod. In biomod manual, i found it support such table

  1   2   3   4   >