Zonal Statistics is returning null values in ArcGIS
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am using Zonal Statistics as Table to obtain the Max height from a DEM for each polygon (then Joined to the polygons). For some reason, a lot of the polygons get NULL returned. All the polygons returning Null appear to be between 1 - 4 cells in size (given the DEM scale). Other same sized polygons are however returning the expected result. 154 out of 3131 polygons have NULL values
I have used the Identify tool to check that I do have non-null values in the underlying DEM for a bunch of these.
The problem appears to be the FID is not being created for the Zonal Statistics table for some polygons. I have checked a couple of other small polygons and the values obtained from Zonal Statistics appear correct. What should I be looking for/testing? How can I correct this?
I am using ArcGIS Desktop v10.6 with Advanced License.
arcgis-desktop zonal-statistics null
add a comment |
I am using Zonal Statistics as Table to obtain the Max height from a DEM for each polygon (then Joined to the polygons). For some reason, a lot of the polygons get NULL returned. All the polygons returning Null appear to be between 1 - 4 cells in size (given the DEM scale). Other same sized polygons are however returning the expected result. 154 out of 3131 polygons have NULL values
I have used the Identify tool to check that I do have non-null values in the underlying DEM for a bunch of these.
The problem appears to be the FID is not being created for the Zonal Statistics table for some polygons. I have checked a couple of other small polygons and the values obtained from Zonal Statistics appear correct. What should I be looking for/testing? How can I correct this?
I am using ArcGIS Desktop v10.6 with Advanced License.
arcgis-desktop zonal-statistics null
1
Have you tried resampling the DEM to a higher resolution?
– BERA
1 hour ago
Thank you - that has fixed the problem (if you post an answer I will accept it). Can you please explain why this would fix things?
– Esme_
1 hour ago
add a comment |
I am using Zonal Statistics as Table to obtain the Max height from a DEM for each polygon (then Joined to the polygons). For some reason, a lot of the polygons get NULL returned. All the polygons returning Null appear to be between 1 - 4 cells in size (given the DEM scale). Other same sized polygons are however returning the expected result. 154 out of 3131 polygons have NULL values
I have used the Identify tool to check that I do have non-null values in the underlying DEM for a bunch of these.
The problem appears to be the FID is not being created for the Zonal Statistics table for some polygons. I have checked a couple of other small polygons and the values obtained from Zonal Statistics appear correct. What should I be looking for/testing? How can I correct this?
I am using ArcGIS Desktop v10.6 with Advanced License.
arcgis-desktop zonal-statistics null
I am using Zonal Statistics as Table to obtain the Max height from a DEM for each polygon (then Joined to the polygons). For some reason, a lot of the polygons get NULL returned. All the polygons returning Null appear to be between 1 - 4 cells in size (given the DEM scale). Other same sized polygons are however returning the expected result. 154 out of 3131 polygons have NULL values
I have used the Identify tool to check that I do have non-null values in the underlying DEM for a bunch of these.
The problem appears to be the FID is not being created for the Zonal Statistics table for some polygons. I have checked a couple of other small polygons and the values obtained from Zonal Statistics appear correct. What should I be looking for/testing? How can I correct this?
I am using ArcGIS Desktop v10.6 with Advanced License.
arcgis-desktop zonal-statistics null
arcgis-desktop zonal-statistics null
asked 1 hour ago
Esme_Esme_
396516
396516
1
Have you tried resampling the DEM to a higher resolution?
– BERA
1 hour ago
Thank you - that has fixed the problem (if you post an answer I will accept it). Can you please explain why this would fix things?
– Esme_
1 hour ago
add a comment |
1
Have you tried resampling the DEM to a higher resolution?
– BERA
1 hour ago
Thank you - that has fixed the problem (if you post an answer I will accept it). Can you please explain why this would fix things?
– Esme_
1 hour ago
1
1
Have you tried resampling the DEM to a higher resolution?
– BERA
1 hour ago
Have you tried resampling the DEM to a higher resolution?
– BERA
1 hour ago
Thank you - that has fixed the problem (if you post an answer I will accept it). Can you please explain why this would fix things?
– Esme_
1 hour ago
Thank you - that has fixed the problem (if you post an answer I will accept it). Can you please explain why this would fix things?
– Esme_
1 hour ago
add a comment |
1 Answer
1
active
oldest
votes
You could try resampling the raster to a finer resolution. Not sure why this can work but when Reading the help section for version 10.3 (not present in 10.6):
If the zone input is a feature dataset with relatively small features,
keep in mind that the resolution of the information needs to be
appropriate relative to the resolution of the value raster. If the
areas of single features are similar to or smaller than the area of
single cells in the value raster, in the feature-to-raster conversion
some of these zones may not be represented.
1
I had the same problem. Especially features that were very thin had null values. So I think when they do not cross the centroid of the raster cell, you get NULLS.
– blabbath
49 mins ago
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
});
}
});
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%2f320908%2fzonal-statistics-is-returning-null-values-in-arcgis%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
You could try resampling the raster to a finer resolution. Not sure why this can work but when Reading the help section for version 10.3 (not present in 10.6):
If the zone input is a feature dataset with relatively small features,
keep in mind that the resolution of the information needs to be
appropriate relative to the resolution of the value raster. If the
areas of single features are similar to or smaller than the area of
single cells in the value raster, in the feature-to-raster conversion
some of these zones may not be represented.
1
I had the same problem. Especially features that were very thin had null values. So I think when they do not cross the centroid of the raster cell, you get NULLS.
– blabbath
49 mins ago
add a comment |
You could try resampling the raster to a finer resolution. Not sure why this can work but when Reading the help section for version 10.3 (not present in 10.6):
If the zone input is a feature dataset with relatively small features,
keep in mind that the resolution of the information needs to be
appropriate relative to the resolution of the value raster. If the
areas of single features are similar to or smaller than the area of
single cells in the value raster, in the feature-to-raster conversion
some of these zones may not be represented.
1
I had the same problem. Especially features that were very thin had null values. So I think when they do not cross the centroid of the raster cell, you get NULLS.
– blabbath
49 mins ago
add a comment |
You could try resampling the raster to a finer resolution. Not sure why this can work but when Reading the help section for version 10.3 (not present in 10.6):
If the zone input is a feature dataset with relatively small features,
keep in mind that the resolution of the information needs to be
appropriate relative to the resolution of the value raster. If the
areas of single features are similar to or smaller than the area of
single cells in the value raster, in the feature-to-raster conversion
some of these zones may not be represented.
You could try resampling the raster to a finer resolution. Not sure why this can work but when Reading the help section for version 10.3 (not present in 10.6):
If the zone input is a feature dataset with relatively small features,
keep in mind that the resolution of the information needs to be
appropriate relative to the resolution of the value raster. If the
areas of single features are similar to or smaller than the area of
single cells in the value raster, in the feature-to-raster conversion
some of these zones may not be represented.
answered 1 hour ago
BERABERA
17.5k62144
17.5k62144
1
I had the same problem. Especially features that were very thin had null values. So I think when they do not cross the centroid of the raster cell, you get NULLS.
– blabbath
49 mins ago
add a comment |
1
I had the same problem. Especially features that were very thin had null values. So I think when they do not cross the centroid of the raster cell, you get NULLS.
– blabbath
49 mins ago
1
1
I had the same problem. Especially features that were very thin had null values. So I think when they do not cross the centroid of the raster cell, you get NULLS.
– blabbath
49 mins ago
I had the same problem. Especially features that were very thin had null values. So I think when they do not cross the centroid of the raster cell, you get NULLS.
– blabbath
49 mins ago
add a comment |
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%2f320908%2fzonal-statistics-is-returning-null-values-in-arcgis%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
1
Have you tried resampling the DEM to a higher resolution?
– BERA
1 hour ago
Thank you - that has fixed the problem (if you post an answer I will accept it). Can you please explain why this would fix things?
– Esme_
1 hour ago