|
POST
|
And for labelling the features with the attributes being displayed in multiple lines, make use of this nice library: GitHub - suytt/esri.symbol.MultiLineTextSymbol: Allows to span esri.symbol.TextSymbol on multiple lines.
... View more
06-24-2016
03:49 AM
|
0
|
0
|
1777
|
|
POST
|
You can do that within a GraphicsLayer (GraphicsLayer | API Reference | ArcGIS API for JavaScript 3.17 ) using a TextSymbol (TextSymbol | API Reference | ArcGIS API for JavaScript 3.17 ). See this sample: Labeling features on the client | ArcGIS API for JavaScript 3.17
... View more
06-24-2016
03:33 AM
|
0
|
0
|
1777
|
|
POST
|
If you inspect the infowindow DOM, look for the "content" class. Then specify the CSS for the content class as "resize: both Iimportant", which will create a resizable handle for the content. You will also need to set the infowindow "title" class "width: auto" property. For user input you can use a <textarea> element.
... View more
06-24-2016
02:01 AM
|
0
|
3
|
1777
|
|
POST
|
Absolutely. In QGIS open the Python Console and add it like this: qgis.utils.iface.addRasterLayer("http://server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer?f=json&pretty=true", "Esri Imagery") (Answer from http://www.northrivergeographic.com/qgis-adding-an-arcgis-rest-service )
... View more
06-23-2016
05:46 AM
|
0
|
0
|
1146
|
|
POST
|
Robert, would it be possible to use the layer's "orderByFields" property to sort the relationship results by date in descending order and then just use the first result in the list?
... View more
06-22-2016
06:31 AM
|
0
|
1
|
2159
|
|
POST
|
For a dynamic solution I would go with option 2 of Abdullah's suggestion. You can set your layer definition query to take the current date into account: Over a year: ReviewDate < CURRENT_DATE - 365 Within 1 year: ReviewDate >= CURRENT_DATE - 365 Null: ReviewDate IS Null
... View more
06-22-2016
03:58 AM
|
1
|
0
|
1121
|
|
POST
|
There's a space after the r before the pathname - not allowed.
... View more
06-22-2016
01:23 AM
|
0
|
0
|
1661
|
|
POST
|
It might help if each point has an address related to it. Then you could at least try to validate with the Reverse Geocoding tool: Reverse Geocode—Help | ArcGIS for Desktop
... View more
06-22-2016
01:20 AM
|
1
|
0
|
2507
|
|
POST
|
Then start here: What is ArcPy?—Help | ArcGIS for Desktop ArcPy/Python is an incredibly powerfull tool. If you need to do this in the future again, do yourself a favour and learn Python.
... View more
06-22-2016
01:18 AM
|
0
|
0
|
1661
|
|
POST
|
Try this function: def listGroupLayer(glayername):
mxd = arcpy.mapping.MapDocument('CURRENT')
df = mxd.activeDataFrame
layers = arcpy.mapping.ListLayers(df)
for l in layers:
if l.isGroupLayer and l.name == glayername:
print "Layers in " + glayername + ":"
glayers = arcpy.mapping.ListLayers(l)
for gl in glayers:
print gl.name
# apply symbology
arcpy.ApplySymbologyFromLayer_management(gl,r"C:\GIS\lyrfiles\mylayersymbology.lyr")
# use as
listGroupLayer("MyGroupLayer")
... View more
06-22-2016
01:02 AM
|
3
|
6
|
11975
|
|
POST
|
I agree - the Union + Find identical method is quick and simple.
... View more
06-21-2016
11:01 PM
|
1
|
0
|
4298
|
|
POST
|
The "*" is a wildcard character that basically means any character after the "bio" string, so for this example the ListRasters function will be filtered to all datasets starting with "bio" and the selected parameter number e.g. all "bio1" rasters.
... View more
06-21-2016
10:42 PM
|
1
|
1
|
2711
|
|
POST
|
Following up from my previous post, you can do this with your selected features: with arcpy.da.UpdateCursor(features_layer, ['SHAPE@XY']) as cursor:
for row in cursor:
cursor.updateRow([[row[0][0] + (x_shift or 0), row[0][1] + (y_shift or 0)]])
... View more
06-20-2016
04:06 AM
|
2
|
2
|
2388
|
|
POST
|
The tool is in the Editing Tools -> Conflation toolset. Open the Rubbersheet Features tool and view the tool help for the Python code examples.
... View more
06-20-2016
03:38 AM
|
0
|
5
|
2388
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-22-2024 12:37 AM | |
| 1 | 10-02-2025 10:28 AM | |
| 1 | 09-17-2024 12:29 AM | |
| 1 | 03-15-2024 11:33 AM | |
| 1 | 03-13-2024 11:20 PM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|