Hi guys, I am having trouble exporting any Grass raster to netCDF format and
preserving the z-values.
Ex:
~> r.info GEBCO2014_Atlantic_Canada_100m -g | grep datatype
datatype=DCELL
~> g.region -p
projection: 99 (unnamed)
zone: 0
datum: wgs84
ellipsoid: wgs84
north: 838800
sout
Hi,
On Tue, Nov 26, 2019 at 5:57 PM cesaregal wrote:
>
> I see in the Osgeo downloading page that it is available for downloading
> Grass GIS 7.6.x (old stable) for MAC OS X.
>
> I don't see it available for downloading Grass GIS 7.8.1 for MAC OS X (with
> PROJ 6 and GDAL 3 support).
> Can someon
Thanks for your answers.
In fact I need it in Python...
Best
Markus
Micha Silver schrieb am Mi., 4. Dez. 2019, 18:57:
> How about doing this in R? The labels will be read into R as factors, and
> the factor levels can easily be extracted as numbers.
>
>
> Something like this:
>
>
> micha@tp480
How about doing this in R? The labels will be read into R as factors,
and the factor levels can easily be extracted as numbers.
Something like this:
micha@tp480:~$ v.info -c stations
Displaying column types/names for database connection of layer <1>:
INTEGER|cat
INTEGER|station_num
TEXT|statio
How about doing this in R? The labels will be read into R as
factors, and the factor levels can easily be extracted as numbers.
Something like this:
micha@tp480:~$ v.info -c stations
Displaying column types/names for database connection of layer
The variable to increment should be of course as corrected below:
# get the unique classes
SELECT distinct(label) FROM table;
-> fetch results in an array "txt_label"
# iterate over array and insert new integer labels in table
*int_label = 0 *
foreach txt_label {
INSERT INTO table.labe
Hi
I cannot think of a short and simple SQL "one liner" statement but can
think of a short script that will do that using SQL statements.
In pseudo-code, translate to your favorite language:
# get the unique classes
SELECT distinct(label) FROM table;
-> fetch results in an array "txt_label
Hi,
I have a landuse map with text labels (forest, street, ...). For
r.learn.ml I need to have them as numeric classes.
It is not important for me which number is assigned but I search for
an automated solution, i.e. SQL statement unless there is a different
way.
So:
cat|label|label_int
1|forest
[Guisseppe sent me the files].
The issue is your training file.
As the manual page states:
"The user provides a set of objects (or segments) to be classified,
including all feature variables describing these object, and a set of
objects to be used as training data, including the same featur
Hi Helmut,
Thanks for your comments.
I installed everything with OSGeo4W64, and QGIS get the EPSG:2932 but
Grass not.
Perhaps I have a PATH or some other setting problem?
Perhaps let me know what search paths Grass uses for proj4, and what
proj files and locations I should scan for.
Regards
Hi Markus,
Thanks for the interest in my problem.
Herewith g.version output:
Kind regards,
Zoltan
(Wed Dec 4 10:23:18 2019)
D:\sandbox\\tests\PERMANENT\.tmp/unknown\1608.0.py
version=7.8.1
date=2019
revision=c865432c9
build_date=2019-11-10
build_platform=x86_64-w64-mingw32
build_off_t_size=8
l
Sorry for ignoring you up to now, just to much on the platter right now.
Would it be feasible for you to make the data available, privately if
necessary ? The easiest (and lightest) would be just the csv output of
v.db.select on the training_map and the segments_maps.
Moritz
On 2/12/19 16:31
12 matches
Mail list logo