POST
|
Where do I enable the spatial analyst extension in ArcGIS Pro?
... View more
04-27-2017
09:48 AM
|
0
|
2
|
1457
|
POST
|
I looked at the histogram and there was none there. When I calculated the histogram using the resampled pixels option the correct range of elevation came up. Thankyou! I'm making my way through using this elevation data and las data and am new to things so I'm grateful.
... View more
07-13-2016
01:53 PM
|
0
|
1
|
859
|
POST
|
I have 6 dem files that I would like to be able to combine and then use with las file to create an ndsm. I have tried to create a mosaic and my output reveals the boundary and the footprint of the input rasters but there is no content within the boundary. The elevation data is not there. Am I missing something? I have entered workspace and added the folder and used the sub-folder option. It looks correct except for the data. Thankyou for any help. Natasha
... View more
07-13-2016
12:50 PM
|
0
|
3
|
2335
|
POST
|
I did apply the min-max stretch setting and that allows for editing the low - high values but I still don't see how that shows elevation information. Is the Stretched value the elevation data when revealed in the Identify Window? Thankyou
... View more
05-27-2016
03:09 PM
|
0
|
0
|
269
|
POST
|
I have created an nDSM layer and I want to use the height of features to display in the Table of Contents. In the Symbology tab I choose the Stretched property and it shows the Value range as between 277.788 and -5. I'm a bit confused as to what this information represents; I think it's the Pixel value. When I use the identify tool I see that there are Height values indicated for each pixel but I don't know how to get that to show up. I'm seeing the same thing occur with the DEM. The datasets were created from an LAS data work flow so perhaps I missed a step or a setting in the workflow? If anyone has any thoughts I'd appreciate it greatly. ~Natasha
... View more
05-27-2016
11:42 AM
|
0
|
1
|
2580
|
POST
|
Abdullah this was the solution. I very much appreciate you help. ~Natasha
... View more
05-25-2016
12:00 PM
|
1
|
0
|
383
|
POST
|
I am trying to locate a specific coordinate within the US National Grid displayed over an NDVI raster. 18TXL5220060030 and 18TXL5157160811 as an example. I have specified the subdivision ticks to be 10 so I can see 52200 precisely and I can see 60 and can estimate that 30 would be a bit before 61 but I'm just eyeing this information and I'm thinking there must be a more precise method to locate specific coordinates within this mapping software. I'm drawing a line from the tick marks estimated locations to find the intersection but this seems to be a very rudimentary way of doing things. I'm running 10.4 Thankyou for any help. ~Natasha
... View more
05-25-2016
10:04 AM
|
0
|
3
|
1564
|
POST
|
I'm working on the convolution of the if elif statements. I see now what you're saying
... View more
12-07-2015
05:47 PM
|
0
|
0
|
771
|
POST
|
Dan you are correct that I was not looking properly into whether the original shapefile was correctly noted in the attribute table but I think the main thing was that I was incorrectly using quotation's around the variables that were to update the table within the updateCursor. I manually corrected the original file and was able to execute the script with your direction. I'm hoping to be able to do this with python in the future. Thankyou so much. I really mean it.
... View more
12-07-2015
05:43 PM
|
0
|
1
|
771
|
POST
|
I am still very new at Python scripting within ArcGIS and I have a script that clips a shapefile to a new AOI, then writes a field to it and updates it with an Update Cursor. I have been successful in using the script up until the CopyFeatures_management part. The script returns a code 0 and has added the new field and has created the correct named shapefile but the file is empty. Any help would be welcome. import arcpy
# set local variables
arcpy.env.workspace = "C:/Final Project/GIS"
arcpy.env.overwriteOutput = True
fc = "settlement_dd.shp"
clip_fc = "AOI.shp"
out_fc = "Settlement.shp"
xy_t = ""
fields = ["Name", "Type", "Model"]
# set attribute table and new fc variables
toModel = "YES"
notModel = "No"
modelFC = "Model"
try:
# clip point features
arcpy.Clip_analysis(fc, clip_fc, out_fc, xy_t)
# add a field called "Model" to the fc
arcpy.AddField_management(out_fc, "Model", "Text")
except:
arcpy.AddError("Could not Complete Clip and AddField")
try:
# create updateCursor and go through rows making the changes to the "Name" field first
with arcpy.da.UpdateCursor(out_fc,(fields)) as cursor:
for row in cursor:
# update "Name" field with Boma, Building, or TBD
if row[1] == "Huts 1-2" or row[1] == "Huts 3-5" or row[1] == "Livestock Enclosure":
row[0] = "Boma"
elif row[1] == "Buildings 1-2" or row[1] == "Buildings 3-5":
row [0] = "Buildings"
elif row[1] == "Settlement":
row[0] = "TBD"
# update "Model" field with Yes or NO
if row[0] == "Boma" or row[0] == "TBD":
row[2] = "notModel"
elif row[0] == "Buildings":
row[2] = "toModel"
cursor.updateRow(row)
except:
arcpy.AddError("Could not update rows")
try:
# make feature layer from points
pointsQuery = ' "Model" = ' + "'" + toModel + " ' "
arcpy.MakeFeatureLayer_management(out_fc, "settlement_lyr", pointsQuery)
arcpy.CopyFeatures_management("settlement_lyr", pointsQuery, modelFC + ".shp")
except:
arcpy.AddError("Copy Features Unsuccessful")
finally:
arcpy.Delete_management("settlement_lyr") The correct (albeit empty) layer is indicated in the attached .jpg
... View more
12-07-2015
04:44 PM
|
0
|
3
|
4007
|
POST
|
Dan I found what you were talking about in the Project 2 sample script: Project—Help | ArcGIS for Desktop Thankyou
... View more
10-26-2015
06:35 PM
|
0
|
1
|
2116
|
POST
|
Rebecca this is really helpful and I so appreciate it. Thanks so much for this information. I will follow your direction as per information on the GeoNet site. Again. Many thanks. On Sun, Oct 25, 2015 at 9:44 PM, Rebecca Strauch, GISP <geonet@esri.com>
... View more
10-25-2015
06:52 PM
|
1
|
1
|
2116
|
POST
|
Rebecca I am looking through this reply and I very much appreciate you response and I am so new to Python that I am thoroughly confused. I also appreciate Dans replies and I am learning from all of it! outFC = arcpy.os.path.join(outputFCpath, fc) the above line confuses me as I don't know where to put os and Ive not understood it nor have we used it in our syntax however I will try to incorporate it in my code and accommodate what you so generously have helped try to write. Also, I will go through the documentation that you and Dan have advised me to do both in posting and in realizing the skillset. Thankyou very much, very much. Cheers, ~Natasha I'm trying right now and again, I appreciate your assistance. On Sun, Oct 25, 2015 at 8:53 PM, Rebecca Strauch, GISP <geonet@esri.com>
... View more
10-25-2015
06:09 PM
|
1
|
3
|
2116
|
POST
|
Hmm thankyou Rebecca. I am trying hard to get this. So I'll try changing the syntax but I'm still not sure where the output CS is supposed to be iterated. The print statements were just supposed to iterate which shapefiles were supposed to be projected, or not. I'm still unclear as to how this section is useful but I suppose it is because I at least have a set of files that I know should be re projected. So where should I put the == statement What I want to accomplish is putting together a script that would reproject shapefiles in a folder in different projections to one which I have set. I appreciate any continued help! Thankyou Rebecca On Sun, Oct 25, 2015 at 8:10 PM, Rebecca Strauch, GISP <geonet@esri.com>
... View more
10-25-2015
05:27 PM
|
0
|
5
|
2116
|
POST
|
I am very, very new to Python and I am trying to write a script that will allow me to Project shapefiles into a coordinate system that is assigned to one particular shapefile in a folder. So I have 4 files and one has that which I want to re-Project the others into. What I am struggling with is the output CS parameter required by the Project_management tool when called in the script. I get an error message saying that the output Coordinate System value and the outputFC parameter is not valid. I'm wondering where I'm going wrong. Any help at all would be so greatly appreciated. Sincerely, Natasha
... View more
10-25-2015
02:05 PM
|
0
|
10
|
7321
|
Title | Kudos | Posted |
---|---|---|
1 | 10-25-2015 06:09 PM | |
1 | 10-25-2015 06:52 PM | |
1 | 05-25-2016 12:00 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|