Identity tool does not work as expected The 2019 Stack Overflow Developer Survey Results Are InAny Open source implementation just like ArcGIS Desktop Identity function?Emulating Identity Tool in ArcGIS Desktop with Basic level license?“Identity” overlay in QGIS?Points In Attribute Table Will Not Display In Data ViewChanging workspace path of query layer using ArcPy?Why Integrate GP tool (ArcGIS) does not use the cluster tolerance as expected?“Identity” equivalent in Grass GISArcSDE In a version geodatabase, snap tool does not work on a database feature classArcGIS Identity Tool Output Fields.xml missing in shapefile, problems with displaying in arcgis
Geography at the pixel level
The phrase "to the numbers born"?
slides for 30min~1hr skype tenure track application interview
What is the motivation for a law requiring 2 parties to consent for recording a conversation
Command for nulifying spaces
How to support a colleague who finds meetings extremely tiring?
Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?
APIPA and LAN Broadcast Domain
Balance problems for leveling up mid-fight?
How can I add encounters in the Lost Mine of Phandelver campaign without giving PCs too much XP?
How to type this arrow in math mode?
two types of coins, decide which type it is based on 100 flips
Did any laptop computers have a built-in 5 1/4 inch floppy drive?
For what reasons would an animal species NOT cross a *horizontal* land bridge?
Merge two greps into single one
Ubuntu Server install with full GUI
Old scifi movie from the 50s or 60s with men in solid red uniforms who interrogate a spy from the past
Button changing its text & action. Good or terrible?
Why didn't the Event Horizon Telescope team mention Sagittarius A*?
Why is the Constellation's nose gear so long?
What do hard-Brexiteers want with respect to the Irish border?
Can a flute soloist sit?
How can I refresh a custom data tab in the contact summary?
Can we generate random numbers using irrational numbers like π and e?
Identity tool does not work as expected
The 2019 Stack Overflow Developer Survey Results Are InAny Open source implementation just like ArcGIS Desktop Identity function?Emulating Identity Tool in ArcGIS Desktop with Basic level license?“Identity” overlay in QGIS?Points In Attribute Table Will Not Display In Data ViewChanging workspace path of query layer using ArcPy?Why Integrate GP tool (ArcGIS) does not use the cluster tolerance as expected?“Identity” equivalent in Grass GISArcSDE In a version geodatabase, snap tool does not work on a database feature classArcGIS Identity Tool Output Fields.xml missing in shapefile, problems with displaying in arcgis
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have two shapefiles.Shapefile A has five attributes and shapefile B has 20 attributes.
I use the Identity tool to determine, what of shapefile A lies in shapefile B.
This is how both attribute tables look like:
Shapefiel A

Shapefile B

My results are rather confusing

How comes that it splits BO, FE, ... up, when that is contained in Reg1? Why is it contained two times in there? Working with ArcGis Desktop 10.2.2 here.
Here is the snipped of the python code and the screenshot as PolyGeo asked for!
# Replace a layer/table view name with a path to a dataset (which can be a layer file) or create the layer/table view within the script
# The following inputs are layers or table views: "clip4_diss_clipCopy", "dissolve_clipCopy"arcpy.Identity_analysis(in_features="clip4_diss_clipCopy",identity_features="dissolve_clipCopy",out_feature_class="C:/Users//Documents/Scoring/up.shp",join_attributes="NO_FID",cluster_tolerance="#",relationship="NO_RELATIONSHIPS")
The underlaying green shapefile was used as the Identity Feature. The cyan lines are the different Reg X and the dark outlined features are the Infeatures for the tool!

arcgis-desktop arcgis-10.2 overlay identity
|
show 7 more comments
I have two shapefiles.Shapefile A has five attributes and shapefile B has 20 attributes.
I use the Identity tool to determine, what of shapefile A lies in shapefile B.
This is how both attribute tables look like:
Shapefiel A

Shapefile B

My results are rather confusing

How comes that it splits BO, FE, ... up, when that is contained in Reg1? Why is it contained two times in there? Working with ArcGis Desktop 10.2.2 here.
Here is the snipped of the python code and the screenshot as PolyGeo asked for!
# Replace a layer/table view name with a path to a dataset (which can be a layer file) or create the layer/table view within the script
# The following inputs are layers or table views: "clip4_diss_clipCopy", "dissolve_clipCopy"arcpy.Identity_analysis(in_features="clip4_diss_clipCopy",identity_features="dissolve_clipCopy",out_feature_class="C:/Users//Documents/Scoring/up.shp",join_attributes="NO_FID",cluster_tolerance="#",relationship="NO_RELATIONSHIPS")
The underlaying green shapefile was used as the Identity Feature. The cyan lines are the different Reg X and the dark outlined features are the Infeatures for the tool!

arcgis-desktop arcgis-10.2 overlay identity
2
Do you now need to dissolve?
– GISKid
Jul 17 '14 at 19:26
Nope. I dissolved before. Thats how I came up with five types. They were all splitted up (10.000+ multipart feature). A dissolve would not work here cause it takes away information. Now I have theDISTRICT_Nconnected to aWLType. But there should not be twoBOinReg1for example. That should be one!
– Stophface
Jul 17 '14 at 19:31
Are you trying to combine the attributes of both shapefiles into one? Have you looked into a spatial join if that is the case? Just using the Identify tool will identify those features found where the mouse clicks. It won't combine the shapefiles that overlap.
– Branco
Jul 17 '14 at 19:52
1
I think the reason Identity produces the results you are observing will be very easy to explain if you include a picture of just Reg1 and anything that passes through it. Also, include the exact syntax used to run the tool which is easiest to grab by using Geoprocessing | Results to access Copy As Python Snippet.
– PolyGeo♦
Jul 17 '14 at 21:49
2
As I explained previously, any overlay operation combines layers into areas of unique overlap, and there may be more than one such area for two shapes. The Union explanation page best demonstrates this, even though Union isn't the tool you used. We keep bringing up your process because without understanding it, we can't say "oh you want to do this - you're using the wrong tool, try this instead." That's why you're getting so many comments asking what you're trying to do, not just how.
– Chris W
Jul 17 '14 at 22:31
|
show 7 more comments
I have two shapefiles.Shapefile A has five attributes and shapefile B has 20 attributes.
I use the Identity tool to determine, what of shapefile A lies in shapefile B.
This is how both attribute tables look like:
Shapefiel A

Shapefile B

My results are rather confusing

How comes that it splits BO, FE, ... up, when that is contained in Reg1? Why is it contained two times in there? Working with ArcGis Desktop 10.2.2 here.
Here is the snipped of the python code and the screenshot as PolyGeo asked for!
# Replace a layer/table view name with a path to a dataset (which can be a layer file) or create the layer/table view within the script
# The following inputs are layers or table views: "clip4_diss_clipCopy", "dissolve_clipCopy"arcpy.Identity_analysis(in_features="clip4_diss_clipCopy",identity_features="dissolve_clipCopy",out_feature_class="C:/Users//Documents/Scoring/up.shp",join_attributes="NO_FID",cluster_tolerance="#",relationship="NO_RELATIONSHIPS")
The underlaying green shapefile was used as the Identity Feature. The cyan lines are the different Reg X and the dark outlined features are the Infeatures for the tool!

arcgis-desktop arcgis-10.2 overlay identity
I have two shapefiles.Shapefile A has five attributes and shapefile B has 20 attributes.
I use the Identity tool to determine, what of shapefile A lies in shapefile B.
This is how both attribute tables look like:
Shapefiel A

Shapefile B

My results are rather confusing

How comes that it splits BO, FE, ... up, when that is contained in Reg1? Why is it contained two times in there? Working with ArcGis Desktop 10.2.2 here.
Here is the snipped of the python code and the screenshot as PolyGeo asked for!
# Replace a layer/table view name with a path to a dataset (which can be a layer file) or create the layer/table view within the script
# The following inputs are layers or table views: "clip4_diss_clipCopy", "dissolve_clipCopy"arcpy.Identity_analysis(in_features="clip4_diss_clipCopy",identity_features="dissolve_clipCopy",out_feature_class="C:/Users//Documents/Scoring/up.shp",join_attributes="NO_FID",cluster_tolerance="#",relationship="NO_RELATIONSHIPS")
The underlaying green shapefile was used as the Identity Feature. The cyan lines are the different Reg X and the dark outlined features are the Infeatures for the tool!

arcgis-desktop arcgis-10.2 overlay identity
arcgis-desktop arcgis-10.2 overlay identity
edited Apr 5 at 18:52
Glorfindel
2891311
2891311
asked Jul 17 '14 at 19:11
StophfaceStophface
1,19811540
1,19811540
2
Do you now need to dissolve?
– GISKid
Jul 17 '14 at 19:26
Nope. I dissolved before. Thats how I came up with five types. They were all splitted up (10.000+ multipart feature). A dissolve would not work here cause it takes away information. Now I have theDISTRICT_Nconnected to aWLType. But there should not be twoBOinReg1for example. That should be one!
– Stophface
Jul 17 '14 at 19:31
Are you trying to combine the attributes of both shapefiles into one? Have you looked into a spatial join if that is the case? Just using the Identify tool will identify those features found where the mouse clicks. It won't combine the shapefiles that overlap.
– Branco
Jul 17 '14 at 19:52
1
I think the reason Identity produces the results you are observing will be very easy to explain if you include a picture of just Reg1 and anything that passes through it. Also, include the exact syntax used to run the tool which is easiest to grab by using Geoprocessing | Results to access Copy As Python Snippet.
– PolyGeo♦
Jul 17 '14 at 21:49
2
As I explained previously, any overlay operation combines layers into areas of unique overlap, and there may be more than one such area for two shapes. The Union explanation page best demonstrates this, even though Union isn't the tool you used. We keep bringing up your process because without understanding it, we can't say "oh you want to do this - you're using the wrong tool, try this instead." That's why you're getting so many comments asking what you're trying to do, not just how.
– Chris W
Jul 17 '14 at 22:31
|
show 7 more comments
2
Do you now need to dissolve?
– GISKid
Jul 17 '14 at 19:26
Nope. I dissolved before. Thats how I came up with five types. They were all splitted up (10.000+ multipart feature). A dissolve would not work here cause it takes away information. Now I have theDISTRICT_Nconnected to aWLType. But there should not be twoBOinReg1for example. That should be one!
– Stophface
Jul 17 '14 at 19:31
Are you trying to combine the attributes of both shapefiles into one? Have you looked into a spatial join if that is the case? Just using the Identify tool will identify those features found where the mouse clicks. It won't combine the shapefiles that overlap.
– Branco
Jul 17 '14 at 19:52
1
I think the reason Identity produces the results you are observing will be very easy to explain if you include a picture of just Reg1 and anything that passes through it. Also, include the exact syntax used to run the tool which is easiest to grab by using Geoprocessing | Results to access Copy As Python Snippet.
– PolyGeo♦
Jul 17 '14 at 21:49
2
As I explained previously, any overlay operation combines layers into areas of unique overlap, and there may be more than one such area for two shapes. The Union explanation page best demonstrates this, even though Union isn't the tool you used. We keep bringing up your process because without understanding it, we can't say "oh you want to do this - you're using the wrong tool, try this instead." That's why you're getting so many comments asking what you're trying to do, not just how.
– Chris W
Jul 17 '14 at 22:31
2
2
Do you now need to dissolve?
– GISKid
Jul 17 '14 at 19:26
Do you now need to dissolve?
– GISKid
Jul 17 '14 at 19:26
Nope. I dissolved before. Thats how I came up with five types. They were all splitted up (10.000+ multipart feature). A dissolve would not work here cause it takes away information. Now I have the
DISTRICT_N connected to a WLType. But there should not be two BO in Reg1 for example. That should be one!– Stophface
Jul 17 '14 at 19:31
Nope. I dissolved before. Thats how I came up with five types. They were all splitted up (10.000+ multipart feature). A dissolve would not work here cause it takes away information. Now I have the
DISTRICT_N connected to a WLType. But there should not be two BO in Reg1 for example. That should be one!– Stophface
Jul 17 '14 at 19:31
Are you trying to combine the attributes of both shapefiles into one? Have you looked into a spatial join if that is the case? Just using the Identify tool will identify those features found where the mouse clicks. It won't combine the shapefiles that overlap.
– Branco
Jul 17 '14 at 19:52
Are you trying to combine the attributes of both shapefiles into one? Have you looked into a spatial join if that is the case? Just using the Identify tool will identify those features found where the mouse clicks. It won't combine the shapefiles that overlap.
– Branco
Jul 17 '14 at 19:52
1
1
I think the reason Identity produces the results you are observing will be very easy to explain if you include a picture of just Reg1 and anything that passes through it. Also, include the exact syntax used to run the tool which is easiest to grab by using Geoprocessing | Results to access Copy As Python Snippet.
– PolyGeo♦
Jul 17 '14 at 21:49
I think the reason Identity produces the results you are observing will be very easy to explain if you include a picture of just Reg1 and anything that passes through it. Also, include the exact syntax used to run the tool which is easiest to grab by using Geoprocessing | Results to access Copy As Python Snippet.
– PolyGeo♦
Jul 17 '14 at 21:49
2
2
As I explained previously, any overlay operation combines layers into areas of unique overlap, and there may be more than one such area for two shapes. The Union explanation page best demonstrates this, even though Union isn't the tool you used. We keep bringing up your process because without understanding it, we can't say "oh you want to do this - you're using the wrong tool, try this instead." That's why you're getting so many comments asking what you're trying to do, not just how.
– Chris W
Jul 17 '14 at 22:31
As I explained previously, any overlay operation combines layers into areas of unique overlap, and there may be more than one such area for two shapes. The Union explanation page best demonstrates this, even though Union isn't the tool you used. We keep bringing up your process because without understanding it, we can't say "oh you want to do this - you're using the wrong tool, try this instead." That's why you're getting so many comments asking what you're trying to do, not just how.
– Chris W
Jul 17 '14 at 22:31
|
show 7 more comments
2 Answers
2
active
oldest
votes
While I cannot see your geometry, it the Identity tool is probably working as it should. Consider the following example:
I have two shapefiles, Region and Area. Area has a single shape. Region has two, both of which overlap Area, one of which does so in multiple places.

When I run the Identity tool using Area as input and Region as identity features, I get three resulting shapes - Area not covered by any Region, Area covered by left Region (note this is a multipart feature with three components, because those three areas of overlap derive from a single polygon), and Area covered by right Region (separate from 2 because it is derived from a different polygon).

If you're looking to get a single record for each type, you'll have to dissolve your Identity results on both region and type field, and allow for multipart features to be created. This would be done before any calculations, else you would lose data (this begins to get into split and merge policies, which is a whole other topic/question). Alternatively you can use the Summary Statistics tool to generate a table where each region/type has its own unique row in the table, as I mentioned in my answer to your last question.
I understand I guess! It seems that theIdentity Tooldoes not seem to be the right tool then. Because I want to overlap theWLTypeby theDISTRICT_Nand everyWLTypewhich is overlapped by theDISTRICT_Nshall get their attributes (the names of the districts).
– Stophface
Jul 17 '14 at 23:26
@Stophface Union might be a better approach, however Identity could work with some additional steps after (and I think no matter what tool you use, it's not going to be a one-step solution). Your wltype would be the input and district the identity features. You'd just Dissolve the results as I mention in the answer.
– Chris W
Jul 17 '14 at 23:46
yeah i need to dissolve i guess. up to now i did not know that thedissolve toolcan take more than one argument!
– Stophface
Jul 18 '14 at 0:15
@Stophface If this answered your original question then I think you should click the green Accept button.
– PolyGeo♦
Jan 6 '15 at 7:11
add a comment |
What the Identity tool is good for is taking underlying data into your feature. Think of extract value to point, but, in this case, it is vector to vector data. Your input feature is your main feature you want to add data too. Your "identity feature" will be the feature you are taking the data from. If you have a polygon of a park and want to take the information from a streams layer, you can use the park as your input and streams as your identity feature. In the output, your polygon will remain with the shapes your streams layer "carved" into it with its original attribute data. Chris W shows this well in his example.
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%2f107578%2fidentity-tool-does-not-work-as-expected%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
While I cannot see your geometry, it the Identity tool is probably working as it should. Consider the following example:
I have two shapefiles, Region and Area. Area has a single shape. Region has two, both of which overlap Area, one of which does so in multiple places.

When I run the Identity tool using Area as input and Region as identity features, I get three resulting shapes - Area not covered by any Region, Area covered by left Region (note this is a multipart feature with three components, because those three areas of overlap derive from a single polygon), and Area covered by right Region (separate from 2 because it is derived from a different polygon).

If you're looking to get a single record for each type, you'll have to dissolve your Identity results on both region and type field, and allow for multipart features to be created. This would be done before any calculations, else you would lose data (this begins to get into split and merge policies, which is a whole other topic/question). Alternatively you can use the Summary Statistics tool to generate a table where each region/type has its own unique row in the table, as I mentioned in my answer to your last question.
I understand I guess! It seems that theIdentity Tooldoes not seem to be the right tool then. Because I want to overlap theWLTypeby theDISTRICT_Nand everyWLTypewhich is overlapped by theDISTRICT_Nshall get their attributes (the names of the districts).
– Stophface
Jul 17 '14 at 23:26
@Stophface Union might be a better approach, however Identity could work with some additional steps after (and I think no matter what tool you use, it's not going to be a one-step solution). Your wltype would be the input and district the identity features. You'd just Dissolve the results as I mention in the answer.
– Chris W
Jul 17 '14 at 23:46
yeah i need to dissolve i guess. up to now i did not know that thedissolve toolcan take more than one argument!
– Stophface
Jul 18 '14 at 0:15
@Stophface If this answered your original question then I think you should click the green Accept button.
– PolyGeo♦
Jan 6 '15 at 7:11
add a comment |
While I cannot see your geometry, it the Identity tool is probably working as it should. Consider the following example:
I have two shapefiles, Region and Area. Area has a single shape. Region has two, both of which overlap Area, one of which does so in multiple places.

When I run the Identity tool using Area as input and Region as identity features, I get three resulting shapes - Area not covered by any Region, Area covered by left Region (note this is a multipart feature with three components, because those three areas of overlap derive from a single polygon), and Area covered by right Region (separate from 2 because it is derived from a different polygon).

If you're looking to get a single record for each type, you'll have to dissolve your Identity results on both region and type field, and allow for multipart features to be created. This would be done before any calculations, else you would lose data (this begins to get into split and merge policies, which is a whole other topic/question). Alternatively you can use the Summary Statistics tool to generate a table where each region/type has its own unique row in the table, as I mentioned in my answer to your last question.
I understand I guess! It seems that theIdentity Tooldoes not seem to be the right tool then. Because I want to overlap theWLTypeby theDISTRICT_Nand everyWLTypewhich is overlapped by theDISTRICT_Nshall get their attributes (the names of the districts).
– Stophface
Jul 17 '14 at 23:26
@Stophface Union might be a better approach, however Identity could work with some additional steps after (and I think no matter what tool you use, it's not going to be a one-step solution). Your wltype would be the input and district the identity features. You'd just Dissolve the results as I mention in the answer.
– Chris W
Jul 17 '14 at 23:46
yeah i need to dissolve i guess. up to now i did not know that thedissolve toolcan take more than one argument!
– Stophface
Jul 18 '14 at 0:15
@Stophface If this answered your original question then I think you should click the green Accept button.
– PolyGeo♦
Jan 6 '15 at 7:11
add a comment |
While I cannot see your geometry, it the Identity tool is probably working as it should. Consider the following example:
I have two shapefiles, Region and Area. Area has a single shape. Region has two, both of which overlap Area, one of which does so in multiple places.

When I run the Identity tool using Area as input and Region as identity features, I get three resulting shapes - Area not covered by any Region, Area covered by left Region (note this is a multipart feature with three components, because those three areas of overlap derive from a single polygon), and Area covered by right Region (separate from 2 because it is derived from a different polygon).

If you're looking to get a single record for each type, you'll have to dissolve your Identity results on both region and type field, and allow for multipart features to be created. This would be done before any calculations, else you would lose data (this begins to get into split and merge policies, which is a whole other topic/question). Alternatively you can use the Summary Statistics tool to generate a table where each region/type has its own unique row in the table, as I mentioned in my answer to your last question.
While I cannot see your geometry, it the Identity tool is probably working as it should. Consider the following example:
I have two shapefiles, Region and Area. Area has a single shape. Region has two, both of which overlap Area, one of which does so in multiple places.

When I run the Identity tool using Area as input and Region as identity features, I get three resulting shapes - Area not covered by any Region, Area covered by left Region (note this is a multipart feature with three components, because those three areas of overlap derive from a single polygon), and Area covered by right Region (separate from 2 because it is derived from a different polygon).

If you're looking to get a single record for each type, you'll have to dissolve your Identity results on both region and type field, and allow for multipart features to be created. This would be done before any calculations, else you would lose data (this begins to get into split and merge policies, which is a whole other topic/question). Alternatively you can use the Summary Statistics tool to generate a table where each region/type has its own unique row in the table, as I mentioned in my answer to your last question.
edited Jul 17 '14 at 23:12
answered Jul 17 '14 at 22:56
Chris WChris W
14.7k22344
14.7k22344
I understand I guess! It seems that theIdentity Tooldoes not seem to be the right tool then. Because I want to overlap theWLTypeby theDISTRICT_Nand everyWLTypewhich is overlapped by theDISTRICT_Nshall get their attributes (the names of the districts).
– Stophface
Jul 17 '14 at 23:26
@Stophface Union might be a better approach, however Identity could work with some additional steps after (and I think no matter what tool you use, it's not going to be a one-step solution). Your wltype would be the input and district the identity features. You'd just Dissolve the results as I mention in the answer.
– Chris W
Jul 17 '14 at 23:46
yeah i need to dissolve i guess. up to now i did not know that thedissolve toolcan take more than one argument!
– Stophface
Jul 18 '14 at 0:15
@Stophface If this answered your original question then I think you should click the green Accept button.
– PolyGeo♦
Jan 6 '15 at 7:11
add a comment |
I understand I guess! It seems that theIdentity Tooldoes not seem to be the right tool then. Because I want to overlap theWLTypeby theDISTRICT_Nand everyWLTypewhich is overlapped by theDISTRICT_Nshall get their attributes (the names of the districts).
– Stophface
Jul 17 '14 at 23:26
@Stophface Union might be a better approach, however Identity could work with some additional steps after (and I think no matter what tool you use, it's not going to be a one-step solution). Your wltype would be the input and district the identity features. You'd just Dissolve the results as I mention in the answer.
– Chris W
Jul 17 '14 at 23:46
yeah i need to dissolve i guess. up to now i did not know that thedissolve toolcan take more than one argument!
– Stophface
Jul 18 '14 at 0:15
@Stophface If this answered your original question then I think you should click the green Accept button.
– PolyGeo♦
Jan 6 '15 at 7:11
I understand I guess! It seems that the
Identity Tool does not seem to be the right tool then. Because I want to overlap the WLType by the DISTRICT_N and every WLType which is overlapped by the DISTRICT_N shall get their attributes (the names of the districts).– Stophface
Jul 17 '14 at 23:26
I understand I guess! It seems that the
Identity Tool does not seem to be the right tool then. Because I want to overlap the WLType by the DISTRICT_N and every WLType which is overlapped by the DISTRICT_N shall get their attributes (the names of the districts).– Stophface
Jul 17 '14 at 23:26
@Stophface Union might be a better approach, however Identity could work with some additional steps after (and I think no matter what tool you use, it's not going to be a one-step solution). Your wltype would be the input and district the identity features. You'd just Dissolve the results as I mention in the answer.
– Chris W
Jul 17 '14 at 23:46
@Stophface Union might be a better approach, however Identity could work with some additional steps after (and I think no matter what tool you use, it's not going to be a one-step solution). Your wltype would be the input and district the identity features. You'd just Dissolve the results as I mention in the answer.
– Chris W
Jul 17 '14 at 23:46
yeah i need to dissolve i guess. up to now i did not know that the
dissolve tool can take more than one argument!– Stophface
Jul 18 '14 at 0:15
yeah i need to dissolve i guess. up to now i did not know that the
dissolve tool can take more than one argument!– Stophface
Jul 18 '14 at 0:15
@Stophface If this answered your original question then I think you should click the green Accept button.
– PolyGeo♦
Jan 6 '15 at 7:11
@Stophface If this answered your original question then I think you should click the green Accept button.
– PolyGeo♦
Jan 6 '15 at 7:11
add a comment |
What the Identity tool is good for is taking underlying data into your feature. Think of extract value to point, but, in this case, it is vector to vector data. Your input feature is your main feature you want to add data too. Your "identity feature" will be the feature you are taking the data from. If you have a polygon of a park and want to take the information from a streams layer, you can use the park as your input and streams as your identity feature. In the output, your polygon will remain with the shapes your streams layer "carved" into it with its original attribute data. Chris W shows this well in his example.
add a comment |
What the Identity tool is good for is taking underlying data into your feature. Think of extract value to point, but, in this case, it is vector to vector data. Your input feature is your main feature you want to add data too. Your "identity feature" will be the feature you are taking the data from. If you have a polygon of a park and want to take the information from a streams layer, you can use the park as your input and streams as your identity feature. In the output, your polygon will remain with the shapes your streams layer "carved" into it with its original attribute data. Chris W shows this well in his example.
add a comment |
What the Identity tool is good for is taking underlying data into your feature. Think of extract value to point, but, in this case, it is vector to vector data. Your input feature is your main feature you want to add data too. Your "identity feature" will be the feature you are taking the data from. If you have a polygon of a park and want to take the information from a streams layer, you can use the park as your input and streams as your identity feature. In the output, your polygon will remain with the shapes your streams layer "carved" into it with its original attribute data. Chris W shows this well in his example.
What the Identity tool is good for is taking underlying data into your feature. Think of extract value to point, but, in this case, it is vector to vector data. Your input feature is your main feature you want to add data too. Your "identity feature" will be the feature you are taking the data from. If you have a polygon of a park and want to take the information from a streams layer, you can use the park as your input and streams as your identity feature. In the output, your polygon will remain with the shapes your streams layer "carved" into it with its original attribute data. Chris W shows this well in his example.
answered May 14 '18 at 18:55
Smithw1Smithw1
759
759
add a comment |
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%2f107578%2fidentity-tool-does-not-work-as-expected%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
2
Do you now need to dissolve?
– GISKid
Jul 17 '14 at 19:26
Nope. I dissolved before. Thats how I came up with five types. They were all splitted up (10.000+ multipart feature). A dissolve would not work here cause it takes away information. Now I have the
DISTRICT_Nconnected to aWLType. But there should not be twoBOinReg1for example. That should be one!– Stophface
Jul 17 '14 at 19:31
Are you trying to combine the attributes of both shapefiles into one? Have you looked into a spatial join if that is the case? Just using the Identify tool will identify those features found where the mouse clicks. It won't combine the shapefiles that overlap.
– Branco
Jul 17 '14 at 19:52
1
I think the reason Identity produces the results you are observing will be very easy to explain if you include a picture of just Reg1 and anything that passes through it. Also, include the exact syntax used to run the tool which is easiest to grab by using Geoprocessing | Results to access Copy As Python Snippet.
– PolyGeo♦
Jul 17 '14 at 21:49
2
As I explained previously, any overlay operation combines layers into areas of unique overlap, and there may be more than one such area for two shapes. The Union explanation page best demonstrates this, even though Union isn't the tool you used. We keep bringing up your process because without understanding it, we can't say "oh you want to do this - you're using the wrong tool, try this instead." That's why you're getting so many comments asking what you're trying to do, not just how.
– Chris W
Jul 17 '14 at 22:31