POST
|
Does your environment have arcpy? Thank you
... View more
01-23-201808:30 AM
|
0
|
0
|
483
|
POST
|
Can you please add an example CSV that you are trying to use? Also, can you post your code as well? Thanks
... View more
01-19-201803:00 AM
|
0
|
1
|
383
|
POST
|
Assuming you are using a spatial dataframe, you can publish the dataset as follows: content.import_data(df=sdf, title='testabc123', tags='tags1,tags2')
... View more
12-04-201710:59 AM
|
0
|
1
|
389
|
POST
|
What version of Server/Portal are you using? Thanks
... View more
10-04-201710:55 AM
|
0
|
0
|
514
|
POST
|
What version of portal are you doing the reindex on?
... View more
10-03-201703:06 AM
|
0
|
1
|
170
|
POST
|
Joshua, As of right now, we have not implemented it, but I will put it on the docket for future tasks. Thank you
... View more
09-07-201710:48 AM
|
0
|
1
|
302
|
POST
|
Joshua, You can write your own overlay using the geometry operations on the shape column. There is no built in set operation. You can also use spatial indexing as well to improve performance. Thank you Andrew
... View more
07-24-201705:56 AM
|
1
|
3
|
302
|
POST
|
Joshua, the inheritance from the base object (Panda's Dataframe), imports all the functions. I felt that those functions do not need to be documented since we did not write them, and they can be found on the panda's dataframe. Dan basically posted where you can get class specific help. help(arcgis.SpatialDataFrame) With the SHAPE and shape issue you are seeing, is actually a function of the panda's dataframe itself. It allows for '.' (dot) notation for field names.
... View more
07-24-201705:39 AM
|
1
|
1
|
539
|
POST
|
Try this: import arcrest if __name__ == "__main__": fl_url = "https://site.com/arcgis/rest/services/reference/adminboundaries/FeatureServer/0" token_url = "https://site.com/arcgis/admin/generateToken" org_url="https://site.com/arcgis" username = "admin" pw = "some password" where = "ISO_CC = 'US'" sh = arcrest.AGSTokenSecurityHandler(username=username, password=pw, org_url=org_url, token_url=token_url) fl = arcrest.ags.FeatureLayer(url=fl_url,securityHandler=sh) fs = fl.query(where=where) print ("Found %s features with the where clause: %s" % (len(fs), where) ) if len(fs.features) > 0: feature = fs.features[0] geom = feature.geometry geomFilter = arcrest.filters.GeometryFilter(geomObject=geom) result = fl.query(where=where, geomtryFilter=geomFilter, as_json=True) # set as_json=False for the featureset object print ("Found %s features with the where clause: %s and geometry filter" % (len(result['features']), where) )
... View more
06-01-201603:48 AM
|
1
|
0
|
386
|
POST
|
Monica, How big is your file? Python can upload file over 1 MB, do you mean 1 GB? When using addItem() on ArcREST, have you tried setting the multipart to True? This will break your file into smaller parts and upload the smaller parts, then when it finishes, it will commit the item to AGOL and merge everything back together. If you have additional ArcREST issues, please log them here: Issues · Esri/ArcREST · GitHub I would download the 64-bit background geoprocessing install for your version of ArcGIS desktop and run your script against that. Just make sure you use the 64-bit python.exe when calling your scheduled task. Thank you, Andrew
... View more
01-27-201602:53 AM
|
1
|
2
|
1146
|
POST
|
Do you mean does ArcREST work for ArcGIS Server service? or do you mean can you add an AGS service from another location (www address) to AGOL using that GUI interface? Thanks Andrew
... View more
07-31-201503:51 AM
|
0
|
0
|
185
|
POST
|
Do you need the extent of every geometry? or the whole feature class?
... View more
12-17-201407:57 AM
|
0
|
1
|
1010
|
POST
|
This functionality is not support via arcpy.mapping. You would have to use ArcObjects to do this. Andrew
... View more
12-17-201407:27 AM
|
0
|
1
|
243
|
IDEA
|
-->
It would be nice if the arcpy Describe function would return the database name you are connected to. For example: >>> print arcpy.Describe(r"c:\temp\scratch.gdb").databaseName File Geodatabase >>> print arcpy.Describe(r"c:\temp\someconnection.sde").databaseName Oracle >>> print arcpy.Describe(r"c:\temp\someconnection.sde").databaseName PostGRESql etc... This would really help in developing the slight SQL differences between databases in handling of specific datatypes. Thank you
... View more
08-28-201410:06 AM
|
4
|
1
|
861
|
IDEA
|
-->
It would be nice if the arcpy Describe function would return the database name you are connected to. For example: >>> print arcpy.Describe(r"c:\temp\scratch.gdb").databaseName File Geodatabase >>> print arcpy.Describe(r"c:\temp\someconnection.sde").databaseName Oracle >>> print arcpy.Describe(r"c:\temp\someconnection.sde").databaseName PostGRESql etc... This would really help in developing the slight SQL differences between databases in handling of specific datatypes. Thank you
... View more
08-28-201410:06 AM
|
4
|
2
|
603
|
Title | Kudos | Posted |
---|---|---|
1 | 03-28-201803:28 AM | |
1 | 07-24-201705:56 AM | |
1 | 07-24-201705:39 AM | |
1 | 06-01-201603:48 AM | |
1 | 01-27-201602:53 AM |
Online Status |
Offline
|
Date Last Visited |
Wednesday
|