Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
From: | "Jason Roberts" <> |
---|---|
To: | 'Mauricio Israel Martínez Clorio ' <> |
Cc: | <> |
Subject: | RE: [mget-help] a doubt about the Marine Geospatial Ecology tool |
Date: | Wed, 23 May 2012 10:26:39 -0400 |
Dear Mauricio,
The purpose of the "Create Lines from Vector Component Rasters Listed in
Table" tool is to repeatedly perform the same procedure as the "Create Lines
from Vector Component Rasters" tool, in a batch process. For example, if you
downloaded one year of daily ocean currents rasters and wanted to produce
vector shapefiles for each day, you would need to execute the latter tool 365
times. That might be difficult without writing a script, although modern
versions of ArcGIS contain batch processing capabilities that might ease the
difficulty.
If the ArcGIS batch processing capabilities are not helpful and if writing a
script is not feasible, then the Create Lines from Vector Component Rasters
Listed in Table may help. For this tool, you must create a table that
contains three fields. The first two fields must contain the full paths to
the horizontal component rasters and the vertical components rasters,
respectively. For ocean currents or winds, these are the u and v rasters. The
third field must contain the full path to the output shapefiles or feature
classes to create from the components rasters.
For example, here is a .csv file that would work:
uRaster,vRaster,Shapefile
C:\Data\u\2012\u2012001.img,C:\Data\v\2012\v2012001.img,C:\Data\Shapefiles\2012\currents_2012001.shp
C:\Data\u\2012\u2012002.img,C:\Data\v\2012\v2012002.img,C:\Data\Shapefiles\2012\currents_2012002.shp
C:\Data\u\2012\u2012003.img,C:\Data\v\2012\v2012003.img,C:\Data\Shapefiles\2012\currents_2012003.shp
That shapefile would execute the "Create Lines from Vector Component Rasters"
tool, once for each row, using the two input rasters for each row and
producing the shapefile.
This tool may or may not be easier than ArcGIS's batch processing
capabilities or writing a script. Before ArcGIS 9.3, ArcGIS did not have
robust batch processing and the tool was more useful during that time. With
modern versions of ArcGIS, it might be easier just to use it instead of the
tool, depending on your skill with it and on how many rasters you must
process.
I hope that helps,
Jason
-----Original Message-----
From: Mauricio Israel Martínez Clorio
[mailto:]
Sent: Wednesday, May 23, 2012 9:50 AM
To:
Subject: [mget-help] a doubt about the Marine Geospatial Ecology tool
Good day,
I am working with the Marine Geospatial Ecology tools. I am trying to use the
Create Lines from Vector Component Raster Listed in table, but i do not find
how to create the table, could you please describe me, the format and
strucutre of this table
Thank you very much
Mauricio Clorio
M. en G. Mauricio I. Martínez Clorio
Monitoreo Marino
Percepción Remota, CONABIO
Av. Liga Periferico-Insurgentes Sur No. 4903.
Colonia Parques del Pedregal. Del.Tlalpan.
cp 14010. Mexico, DF.
Tel: (01 55) 5004 5020
The purpose of the "Create Lines from Vector Component Rasters Listed in
Table" tool is to repeatedly perform the same procedure as the "Create Lines
from Vector Component Rasters" tool, in a batch process. For example, if you
downloaded one year of daily ocean currents rasters and wanted to produce
vector shapefiles for each day, you would need to execute the latter tool 365
times. That might be difficult without writing a script, although modern
versions of ArcGIS contain batch processing capabilities that might ease the
difficulty.
If the ArcGIS batch processing capabilities are not helpful and if writing a
script is not feasible, then the Create Lines from Vector Component Rasters
Listed in Table may help. For this tool, you must create a table that
contains three fields. The first two fields must contain the full paths to
the horizontal component rasters and the vertical components rasters,
respectively. For ocean currents or winds, these are the u and v rasters. The
third field must contain the full path to the output shapefiles or feature
classes to create from the components rasters.
For example, here is a .csv file that would work:
uRaster,vRaster,Shapefile
C:\Data\u\2012\u2012001.img,C:\Data\v\2012\v2012001.img,C:\Data\Shapefiles\2012\currents_2012001.shp
C:\Data\u\2012\u2012002.img,C:\Data\v\2012\v2012002.img,C:\Data\Shapefiles\2012\currents_2012002.shp
C:\Data\u\2012\u2012003.img,C:\Data\v\2012\v2012003.img,C:\Data\Shapefiles\2012\currents_2012003.shp
That shapefile would execute the "Create Lines from Vector Component Rasters"
tool, once for each row, using the two input rasters for each row and
producing the shapefile.
This tool may or may not be easier than ArcGIS's batch processing
capabilities or writing a script. Before ArcGIS 9.3, ArcGIS did not have
robust batch processing and the tool was more useful during that time. With
modern versions of ArcGIS, it might be easier just to use it instead of the
tool, depending on your skill with it and on how many rasters you must
process.
I hope that helps,
Jason
-----Original Message-----
From: Mauricio Israel Martínez Clorio
[mailto:]
Sent: Wednesday, May 23, 2012 9:50 AM
To:
Subject: [mget-help] a doubt about the Marine Geospatial Ecology tool
Good day,
I am working with the Marine Geospatial Ecology tools. I am trying to use the
Create Lines from Vector Component Raster Listed in table, but i do not find
how to create the table, could you please describe me, the format and
strucutre of this table
Thank you very much
Mauricio Clorio
M. en G. Mauricio I. Martínez Clorio
Monitoreo Marino
Percepción Remota, CONABIO
Av. Liga Periferico-Insurgentes Sur No. 4903.
Colonia Parques del Pedregal. Del.Tlalpan.
cp 14010. Mexico, DF.
Tel: (01 55) 5004 5020
Archives powered by MHonArc.