Using Attribute Values of Rasters in ArcGIS Desktop?“Spatially normalizing” rasters of different extents...
What does it mean when an external ID field follows a DML Statement?
What did Putin say about a US deep state in his state-of-the-nation speech; what has he said in the past?
What is formjacking?
Is it Safe to Plug an Extension Cord Into a Power Strip?
Is it possible to detect 100% of SQLi with a simple regex?
Now...where was I?
How do I split ammo?
Can I legally make a website about boycotting a certain company?
Question: "Are you hungry?" Answer: "I feel like eating."
How can a kingdom keep the secret of a missing monarch from the public?
Coworker is trying to get me to sign his petition to run for office. How to decline politely?
How can I portray body horror and still be sensitive to people with disabilities?
Why do we interpret the accelerated expansion of the universe as the proof for the existence of dark energy?
Why do single electrical receptacles exist?
Do error bars on probabilities have any meaning?
Why are "square law" devices important?
Was Opportunity's last message to Earth "My battery is low and it's getting dark"?
Dot product with a constant
What does "don't have a baby" imply or mean in this sentence?
Coworker asking me to not bring cakes due to self control issue. What should I do?
Is layered encryption more secure than long passwords?
Is the tritone (A4 / d5) still banned in Roman Catholic music?
Was the Soviet N1 really capable of sending 9.6 GB/s of telemetry?
Build ASCII Podiums
Using Attribute Values of Rasters in ArcGIS Desktop?
“Spatially normalizing” rasters of different extents to sum values of overlapping cells in ArcGIS Desktop?What special values can be included in the Con tool's conditional statement?Convert polygon to raster and give value to null cellsAdding Rasters with multiple Field Values using Map Algebra in ArcGIS for Desktop?ArcGIS merge/unite two rasters with same extent with RasterCalculatorCon expression in two rasters ArcGIS, raster calculatorUsing ModelBuilder to get Max and Min Values from raster to raster calculator?Using Raster calculator with ModelBuilder?Unique value symbology not loading although values exist in ArcGIS raster attribute table?Iterate Rasters will not connect to the Raster Calcuator tool
I have 4 Shapefiles which basicly have 7 important fields and are basicly looking like:
------------------------------------------------------------------
| Name | Connection 1 | Con 2 | Con 3 | Con 4 | Con 5 | Value |
------------------------------------------------------------------
|Tab1_A| Tab2_A | Tab2_B | Tab3_F | - | Tab4_x | 10 |
------------------------------------------------------------------
So the first collumn contains the name of the polygon, the 2nd to 6th collumn contain Connections this polygon has with polygons from the other Shape-Files and the last collumn contains a value.
My Task is, to create a Raster, which contains the maximum sum of all values from conntected shapes in one cell.
My current approach is:
- Convert the 4 Shapes into 7 Rasters each (one per collumn)
- 4 Raster Calculator: Tab1: Value + If(Con1 == Tab2.Name;Tab2.Value;0)+...
- Another Raster Calc: MAX(Raster1,...,Raster4)
My Problem is, that I cannot compare the Name-Raster and the Connection-Rasters, because the Name is not the Raster-Value, but an Attribute.
Is there any way to compare an attribute in the Raster Calculator, or do you have a better idea, how to solve this problem?
arcgis-desktop arccatalog
New contributor
add a comment |
I have 4 Shapefiles which basicly have 7 important fields and are basicly looking like:
------------------------------------------------------------------
| Name | Connection 1 | Con 2 | Con 3 | Con 4 | Con 5 | Value |
------------------------------------------------------------------
|Tab1_A| Tab2_A | Tab2_B | Tab3_F | - | Tab4_x | 10 |
------------------------------------------------------------------
So the first collumn contains the name of the polygon, the 2nd to 6th collumn contain Connections this polygon has with polygons from the other Shape-Files and the last collumn contains a value.
My Task is, to create a Raster, which contains the maximum sum of all values from conntected shapes in one cell.
My current approach is:
- Convert the 4 Shapes into 7 Rasters each (one per collumn)
- 4 Raster Calculator: Tab1: Value + If(Con1 == Tab2.Name;Tab2.Value;0)+...
- Another Raster Calc: MAX(Raster1,...,Raster4)
My Problem is, that I cannot compare the Name-Raster and the Connection-Rasters, because the Name is not the Raster-Value, but an Attribute.
Is there any way to compare an attribute in the Raster Calculator, or do you have a better idea, how to solve this problem?
arcgis-desktop arccatalog
New contributor
Join 2nd using 2nd field and total 2 values. Repeat 5 more times and convert to raster.
– FelixIP
2 days ago
add a comment |
I have 4 Shapefiles which basicly have 7 important fields and are basicly looking like:
------------------------------------------------------------------
| Name | Connection 1 | Con 2 | Con 3 | Con 4 | Con 5 | Value |
------------------------------------------------------------------
|Tab1_A| Tab2_A | Tab2_B | Tab3_F | - | Tab4_x | 10 |
------------------------------------------------------------------
So the first collumn contains the name of the polygon, the 2nd to 6th collumn contain Connections this polygon has with polygons from the other Shape-Files and the last collumn contains a value.
My Task is, to create a Raster, which contains the maximum sum of all values from conntected shapes in one cell.
My current approach is:
- Convert the 4 Shapes into 7 Rasters each (one per collumn)
- 4 Raster Calculator: Tab1: Value + If(Con1 == Tab2.Name;Tab2.Value;0)+...
- Another Raster Calc: MAX(Raster1,...,Raster4)
My Problem is, that I cannot compare the Name-Raster and the Connection-Rasters, because the Name is not the Raster-Value, but an Attribute.
Is there any way to compare an attribute in the Raster Calculator, or do you have a better idea, how to solve this problem?
arcgis-desktop arccatalog
New contributor
I have 4 Shapefiles which basicly have 7 important fields and are basicly looking like:
------------------------------------------------------------------
| Name | Connection 1 | Con 2 | Con 3 | Con 4 | Con 5 | Value |
------------------------------------------------------------------
|Tab1_A| Tab2_A | Tab2_B | Tab3_F | - | Tab4_x | 10 |
------------------------------------------------------------------
So the first collumn contains the name of the polygon, the 2nd to 6th collumn contain Connections this polygon has with polygons from the other Shape-Files and the last collumn contains a value.
My Task is, to create a Raster, which contains the maximum sum of all values from conntected shapes in one cell.
My current approach is:
- Convert the 4 Shapes into 7 Rasters each (one per collumn)
- 4 Raster Calculator: Tab1: Value + If(Con1 == Tab2.Name;Tab2.Value;0)+...
- Another Raster Calc: MAX(Raster1,...,Raster4)
My Problem is, that I cannot compare the Name-Raster and the Connection-Rasters, because the Name is not the Raster-Value, but an Attribute.
Is there any way to compare an attribute in the Raster Calculator, or do you have a better idea, how to solve this problem?
arcgis-desktop arccatalog
arcgis-desktop arccatalog
New contributor
New contributor
edited 14 mins ago
PolyGeo♦
53.5k1780240
53.5k1780240
New contributor
asked 2 days ago
PackfackerPackfacker
11
11
New contributor
New contributor
Join 2nd using 2nd field and total 2 values. Repeat 5 more times and convert to raster.
– FelixIP
2 days ago
add a comment |
Join 2nd using 2nd field and total 2 values. Repeat 5 more times and convert to raster.
– FelixIP
2 days ago
Join 2nd using 2nd field and total 2 values. Repeat 5 more times and convert to raster.
– FelixIP
2 days ago
Join 2nd using 2nd field and total 2 values. Repeat 5 more times and convert to raster.
– FelixIP
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
Try merging all the shapefiles into one shapefile that contains all the fields. Then add a new field where the value is the sum of the connections from the 35 (5 connections x 7 shapefiles) connection fields. Then go vector to raster with the raster value being the newly created field.
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "79"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Packfacker is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f312752%2fusing-attribute-values-of-rasters-in-arcgis-desktop%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try merging all the shapefiles into one shapefile that contains all the fields. Then add a new field where the value is the sum of the connections from the 35 (5 connections x 7 shapefiles) connection fields. Then go vector to raster with the raster value being the newly created field.
New contributor
add a comment |
Try merging all the shapefiles into one shapefile that contains all the fields. Then add a new field where the value is the sum of the connections from the 35 (5 connections x 7 shapefiles) connection fields. Then go vector to raster with the raster value being the newly created field.
New contributor
add a comment |
Try merging all the shapefiles into one shapefile that contains all the fields. Then add a new field where the value is the sum of the connections from the 35 (5 connections x 7 shapefiles) connection fields. Then go vector to raster with the raster value being the newly created field.
New contributor
Try merging all the shapefiles into one shapefile that contains all the fields. Then add a new field where the value is the sum of the connections from the 35 (5 connections x 7 shapefiles) connection fields. Then go vector to raster with the raster value being the newly created field.
New contributor
New contributor
answered 2 days ago
jeremyg19jeremyg19
133
133
New contributor
New contributor
add a comment |
add a comment |
Packfacker is a new contributor. Be nice, and check out our Code of Conduct.
Packfacker is a new contributor. Be nice, and check out our Code of Conduct.
Packfacker is a new contributor. Be nice, and check out our Code of Conduct.
Packfacker is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f312752%2fusing-attribute-values-of-rasters-in-arcgis-desktop%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Join 2nd using 2nd field and total 2 values. Repeat 5 more times and convert to raster.
– FelixIP
2 days ago