POST
|
Perhaps there is another way to do what you are trying to do without the Layer ID? What are you trying to accomplish with this ID?
... View more
01-05-2016
06:24 AM
|
0
|
11
|
1641
|
POST
|
Yes, I do know about the Create Line of Sight button on the 3D Analyst toolbar, but I'm not sure how you would use python with this tool. There is a Construct Sight Lines tool that you might be able to use, but it looks like the tool assumes the points have Z values already? I have not played around with that tool before. Let us know what you find out.
... View more
01-05-2016
05:06 AM
|
0
|
0
|
675
|
POST
|
After you get your point you might be able to run extract values to points or extract multi values to points or Add Surface Information. Then you could either run a quick update cursor or Feature To 3D By Attribute to insert the Z value.
... View more
01-05-2016
04:14 AM
|
1
|
2
|
675
|
POST
|
The default grid set up is to have a positive label offset. Was your label offset changed to negative? If so change it to a positive value.
... View more
12-23-2015
04:21 AM
|
1
|
1
|
546
|
POST
|
I'm not sure why it would only be running for one table entry for you. I've attached an edited toolbox. This seems to work with the example data you provided just fine on my end.
... View more
12-21-2015
04:00 AM
|
0
|
1
|
591
|
POST
|
Maybe I'm misunderstanding the type of data you are working with. You can use the contour tool with the SRTM dem data and close the polyline contours generated to create polygons for inundated area, but the different contour lines would have the same effect to show rise in sea level. Below is an example of generating different contour intervals from a SRTM dem downloaded from CGIARCIS.
... View more
12-18-2015
04:43 AM
|
1
|
0
|
754
|
POST
|
I would think you would need to start with a current mean sea-level elevation. Then use the contour tool to generate a contour line of the mean sea level rise + SLR_2020 or whatever elevation rise you are looking at. Just be careful that all your elevation units are the same.
... View more
12-17-2015
11:48 AM
|
0
|
3
|
754
|
POST
|
Okay try this: Add a Calculate Value tool in to calculate a valid name for the output table the code would be "%Name%".split(".")[0] Then change the output table name to t_%TableName%
... View more
12-17-2015
09:13 AM
|
1
|
5
|
1691
|
POST
|
Could you post a sample of your data? Maybe a raster and the table you are working with? Also could you post a screen shot of the error your are getting?
... View more
12-17-2015
05:09 AM
|
0
|
7
|
1100
|
POST
|
Then maybe try taking the double quotes off the field name: name = '%Name%'
... View more
12-17-2015
05:03 AM
|
0
|
9
|
1100
|
POST
|
Is your table that you are selecting from in a local geodatabase or file system? Have you tried putting single quotes around the %Name% in the selection expression?
... View more
12-17-2015
04:50 AM
|
0
|
12
|
1100
|
POST
|
It would probably be best if you upload the actual model builder tool and not a python export of the tool. Thanks.
... View more
12-17-2015
04:20 AM
|
0
|
14
|
1100
|
POST
|
I'm having the same issue with the field alias not changing case. I think the only way around this is to change the alias name to something different like STATUS/tempName then back to STATUS\Status.
... View more
12-16-2015
04:23 AM
|
1
|
2
|
718
|
POST
|
Right working with raster catalogs are kind of a pain. Do do any operations with the rasters in the catalog you would need to export the raster then do the operation and if you do not want to keep the exported raster you would need to delete it afterwards. Something like this would work rasCatalog = # path to raster
rasterList = [row[0] for row in arcpy.da.SearchCursor(rasCatalog,["Name"])]
fc = # path to feature layer
for raster in rasterList:
expression = "Name = '{0}'".format(raster)
arcpy.RasterCatalogToRasterDataset_management(rasCatalog,PathForExportRaster,expression)
arcpy.gp.ExtractValuesToPoints(fc,PathForExportRaster, fc_tmp)
... View more
12-15-2015
11:20 AM
|
1
|
0
|
1764
|
POST
|
You would treat a raster catalog as a table. To get a list of rasters in the catalog you would use a search cursor: rasCatalog = # path to raster catalog
rasterList = [row[0] for row in arcpy.da.SearchCursor(rasCatalog,["Name"])]
... View more
12-15-2015
09:45 AM
|
1
|
2
|
1764
|
Title | Kudos | Posted |
---|---|---|
1 | 01-26-2016 10:40 AM | |
1 | 10-05-2015 09:10 AM | |
1 | 01-19-2016 06:01 AM | |
1 | 01-06-2016 05:27 AM | |
1 | 12-09-2015 05:59 AM |
Online Status |
Offline
|
Date Last Visited |
05-01-2024
04:58 PM
|