[GRASS-user] Raster Attribute Tables

Good evening,
I'm looking for some way of accessing/using the raster attribute table of some data I have ... unfortunately I suspect it is from Arc. Searching on-line I haven't found anything that points me to GRASS tools to import/read raster attribute tables... Is it supported?
Here's a sample list of the files I have:

e008n55_Denmark_0913_texture.tfw
e008n55_Denmark_0913_texture.tif
e008n55_Denmark_0913_texture.tif.aux.xml
e008n55_Denmark_0913_texture.tif.vat.cpg
e008n55_Denmark_0913_texture.tif.vat.dbf
e008n55_Denmark_0913_texture.tif.xml

Thanks
:blush:
Chris

________________________________

The information contained in this email message is intended only for the use of the individual(s) to whom it is addressed and may contain information that is privileged and sensitive. If you are not the intended recipient, or otherwise have received this communication in error, please notify the sender immediately by email at the above referenced address and note that any further dissemination, distribution or copying of this communication is strictly prohibited.

The U.S. Export Control Laws regulate the export and re-export of technology originating in the United States. This includes the electronic transmission of information and software to foreign countries and to certain foreign nationals. Recipient agrees to abide by these laws and their regulations -- including the U.S. Department of Commerce Export Administration Regulations and the U.S. Department of State International Traffic in Arms Regulations -- and not to transfer, by electronic transmission or otherwise, any content derived from this email to either a foreign national or a foreign destination in violation of such laws.

Hi Chris,

Did you try the table option in r.in.gdal:
https://grass.osgeo.org/grass74/manuals/r.in.gdal.html

Otherwise you could import the raster map and then the attribute table with db.in.ogr.
From the table you could then build reclass rules for r.reclass.
(Not tested)

Cheers
Stefan

-----Original Message-----
From: grass-user <grass-user-bounces@lists.osgeo.org> On Behalf Of Bartolomei.Chris
Sent: torsdag 20. september 2018 21:47
To: grass-dev@lists.osgeo.org; GRASS user list <grass-user@lists.osgeo.org>
Subject: [GRASS-user] Raster Attribute Tables

Good evening,
I'm looking for some way of accessing/using the raster attribute table of some data I have ... unfortunately I suspect it is from Arc. Searching on-line I haven't found anything that points me to GRASS tools to import/read raster attribute tables... Is it supported?
Here's a sample list of the files I have:

e008n55_Denmark_0913_texture.tfw
e008n55_Denmark_0913_texture.tif
e008n55_Denmark_0913_texture.tif.aux.xml
e008n55_Denmark_0913_texture.tif.vat.cpg
e008n55_Denmark_0913_texture.tif.vat.dbf
e008n55_Denmark_0913_texture.tif.xml

Thanks
:blush:
Chris

________________________________

The information contained in this email message is intended only for the use of the individual(s) to whom it is addressed and may contain information that is privileged and sensitive. If you are not the intended recipient, or otherwise have received this communication in error, please notify the sender immediately by email at the above referenced address and note that any further dissemination, distribution or copying of this communication is strictly prohibited.

The U.S. Export Control Laws regulate the export and re-export of technology originating in the United States. This includes the electronic transmission of information and software to foreign countries and to certain foreign nationals. Recipient agrees to abide by these laws and their regulations -- including the U.S. Department of Commerce Export Administration Regulations and the U.S. Department of State International Traffic in Arms Regulations -- and not to transfer, by electronic transmission or otherwise, any content derived from this email to either a foreign national or a foreign destination in violation of such laws.
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Hi
Try

···

https://grass.osgeo.org/grass70/manuals/r.category.html

r.category

Grazia

Inviato da iPhone

Il giorno 20 set 2018, alle ore 22:36, Stefan Blumentrath <Stefan.Blumentrath@nina.no> ha scritto:

Hi Chris,

Did you try the table option in r.in.gdal:
https://grass.osgeo.org/grass74/manuals/r.in.gdal.html

Otherwise you could import the raster map and then the attribute table with db.in.ogr.
From the table you could then build reclass rules for r.reclass.
(Not tested)

Cheers
Stefan

-----Original Message-----
From: grass-user <grass-user-bounces@lists.osgeo.org> On Behalf Of Bartolomei.Chris
Sent: torsdag 20. september 2018 21:47
To: grass-dev@lists.osgeo.org; GRASS user list <grass-user@lists.osgeo.org>
Subject: [GRASS-user] Raster Attribute Tables

Good evening,
I’m looking for some way of accessing/using the raster attribute table of some data I have … unfortunately I suspect it is from Arc. Searching on-line I haven’t found anything that points me to GRASS tools to import/read raster attribute tables… Is it supported?
Here’s a sample list of the files I have:

e008n55_Denmark_0913_texture.tfw
e008n55_Denmark_0913_texture.tif
e008n55_Denmark_0913_texture.tif.aux.xml
e008n55_Denmark_0913_texture.tif.vat.cpg
e008n55_Denmark_0913_texture.tif.vat.dbf
e008n55_Denmark_0913_texture.tif.xml

Thanks
:blush:
Chris


The information contained in this email message is intended only for the use of the individual(s) to whom it is addressed and may contain information that is privileged and sensitive. If you are not the intended recipient, or otherwise have received this communication in error, please notify the sender immediately by email at the above referenced address and note that any further dissemination, distribution or copying of this communication is strictly prohibited.

The U.S. Export Control Laws regulate the export and re-export of technology originating in the United States. This includes the electronic transmission of information and software to foreign countries and to certain foreign nationals. Recipient agrees to abide by these laws and their regulations – including the U.S. Department of Commerce Export Administration Regulations and the U.S. Department of State International Traffic in Arms Regulations – and not to transfer, by electronic transmission or otherwise, any content derived from this email to either a foreign national or a foreign destination in violation of such laws.


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Thank you for the tip Stefan - most appreciated! I'll give that a try and report back.
:blush:
Chris

-----Original Message-----
From: Stefan Blumentrath <Stefan.Blumentrath@nina.no>
Sent: Thursday, September 20, 2018 4:36 PM
To: Bartolomei.Chris <Bartolomei.Chris@ensco.com>; GRASS user list <grass-user@lists.osgeo.org>
Subject: RE: Raster Attribute Tables

Hi Chris,

Did you try the table option in r.in.gdal:
https://urldefense.proofpoint.com/v2/url?u=https-3A__grass.osgeo.org_grass74_manuals_r.in.gdal.html&d=DwIGaQ&c=DsZY2bea7iNIzyp-7sZ0t0F2UfNQZUfZhEPCv_2wBI0&r=O31ltou6ygJL2Y01kQyNJJD2kiILIsbyz2V0Hn4lFUY&m=ufpr5WKd6NOowGEmcT1WcLxIY7f-Fz7c0VKpLJpQMVY&s=ZjbbkxnheivYH011cdC7MS0sex030DP37aESKZKnKSk&e=

Otherwise you could import the raster map and then the attribute table with db.in.ogr.
From the table you could then build reclass rules for r.reclass.
(Not tested)

Cheers
Stefan

-----Original Message-----
From: grass-user <grass-user-bounces@lists.osgeo.org> On Behalf Of Bartolomei.Chris
Sent: torsdag 20. september 2018 21:47
To: grass-dev@lists.osgeo.org; GRASS user list <grass-user@lists.osgeo.org>
Subject: [GRASS-user] Raster Attribute Tables

Good evening,
I'm looking for some way of accessing/using the raster attribute table of some data I have ... unfortunately I suspect it is from Arc. Searching on-line I haven't found anything that points me to GRASS tools to import/read raster attribute tables... Is it supported?
Here's a sample list of the files I have:

e008n55_Denmark_0913_texture.tfw
e008n55_Denmark_0913_texture.tif
e008n55_Denmark_0913_texture.tif.aux.xml
e008n55_Denmark_0913_texture.tif.vat.cpg
e008n55_Denmark_0913_texture.tif.vat.dbf
e008n55_Denmark_0913_texture.tif.xml

Thanks
:blush:
Chris

________________________________

The information contained in this email message is intended only for the use of the individual(s) to whom it is addressed and may contain information that is privileged and sensitive. If you are not the intended recipient, or otherwise have received this communication in error, please notify the sender immediately by email at the above referenced address and note that any further dissemination, distribution or copying of this communication is strictly prohibited.

The U.S. Export Control Laws regulate the export and re-export of technology originating in the United States. This includes the electronic transmission of information and software to foreign countries and to certain foreign nationals. Recipient agrees to abide by these laws and their regulations -- including the U.S. Department of Commerce Export Administration Regulations and the U.S. Department of State International Traffic in Arms Regulations -- and not to transfer, by electronic transmission or otherwise, any content derived from this email to either a foreign national or a foreign destination in violation of such laws.
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.osgeo.org_mailman_listinfo_grass-2Duser&d=DwIGaQ&c=DsZY2bea7iNIzyp-7sZ0t0F2UfNQZUfZhEPCv_2wBI0&r=O31ltou6ygJL2Y01kQyNJJD2kiILIsbyz2V0Hn4lFUY&m=ufpr5WKd6NOowGEmcT1WcLxIY7f-Fz7c0VKpLJpQMVY&s=S6r5_gi50bWBcpwC3Sau6fiSp8KZ4Q1nbU0BiNxrQaU&e=

On Thu, Sep 20, 2018 at 10:36 PM Stefan Blumentrath <Stefan.Blumentrath@nina.no> wrote:

Hi Chris,

Did you try the table option in r.in.gdal:

https://grass.osgeo.org/grass74/manuals/r.in.gdal.html

yes, r.in.gdal can dump raster attribute tables as csv files. Moreover, information in raster attribute tables is automatically imported as long as the field definitions contain information about how to use a field, e.g. for color information or for labels.

Otherwise you could import the raster map and then the attribute table with db.in.ogr.

I don’t think db.in.ogr can read raster attribute tables: raster attribute tables are not equivalent to vector attribute tables.

Markus M

From the table you could then build reclass rules for r.reclass.
(Not tested)

Cheers
Stefan

-----Original Message-----
From: grass-user <grass-user-bounces@lists.osgeo.org> On Behalf Of Bartolomei.Chris
Sent: torsdag 20. september 2018 21:47
To: grass-dev@lists.osgeo.org; GRASS user list <grass-user@lists.osgeo.org>
Subject: [GRASS-user] Raster Attribute Tables

Good evening,
I’m looking for some way of accessing/using the raster attribute table of some data I have … unfortunately I suspect it is from Arc. Searching on-line I haven’t found anything that points me to GRASS tools to import/read raster attribute tables… Is it supported?
Here’s a sample list of the files I have:

e008n55_Denmark_0913_texture.tfw
e008n55_Denmark_0913_texture.tif
e008n55_Denmark_0913_texture.tif.aux.xml
e008n55_Denmark_0913_texture.tif.vat.cpg
e008n55_Denmark_0913_texture.tif.vat.dbf
e008n55_Denmark_0913_texture.tif.xml

Thanks

Chris


The information contained in this email message is intended only for the use of the individual(s) to whom it is addressed and may contain information that is privileged and sensitive. If you are not the intended recipient, or otherwise have received this communication in error, please notify the sender immediately by email at the above referenced address and note that any further dissemination, distribution or copying of this communication is strictly prohibited.

The U.S. Export Control Laws regulate the export and re-export of technology originating in the United States. This includes the electronic transmission of information and software to foreign countries and to certain foreign nationals. Recipient agrees to abide by these laws and their regulations – including the U.S. Department of Commerce Export Administration Regulations and the U.S. Department of State International Traffic in Arms Regulations – and not to transfer, by electronic transmission or otherwise, any content derived from this email to either a foreign national or a foreign destination in violation of such laws.


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

On Fri, Sep 21, 2018 at 9:43 PM Markus Metz
<markus.metz.giswork@gmail.com> wrote:

On Thu, Sep 20, 2018 at 10:36 PM Stefan Blumentrath <Stefan.Blumentrath@nina.no> wrote:
>
> Hi Chris,
>
> Did you try the table option in r.in.gdal:
> https://grass.osgeo.org/grass74/manuals/r.in.gdal.html

yes, r.in.gdal can dump raster attribute tables as csv files. Moreover, information in raster attribute tables is automatically imported as long as the field definitions contain information about how to use a field, e.g. for color information or for labels.

BTW: I have added that to the manual page of r.in.gdal.

markusN