POST
|
Thanks Randy. You nailed it. It's working now. I never thought to get a date in this format.
... View more
05-04-2020
08:07 AM
|
0
|
0
|
2548
|
POST
|
I'm not sure if it's the way that I'm querying the feature layers, because I'm using the same process for other layers and it's working well. The only thing about this layer is the layer have not been created directly from ArcGIS Online, but it's an upload from ArcGIS Pro (SDE Geodatabase). Here is the code from arcgis.gis import GIS
from arcgis.features import GeoAccessor, GeoSeriesAccessor
import pandas as pd
item = gis.content.get("id_item")
agol_layer = item.layers[0]
records = pd.DataFrame.spatial.from_layer(agol_layer)
... View more
05-04-2020
07:25 AM
|
0
|
1
|
2548
|
POST
|
I'm trying to extract field value from an ArcGIS Online feature layer using the ArcGIS API for Python. In ArcGIS Online, the date is displayed like 10/9/2018 10:30 AM (Field type = DATE) From the Spatially Enabled Panda DataFrame, the date looks like 1.5390954e+18. When I try to copy the date in a File Geodatabase (InsertCursor) from the DataFrame into a DATE field, I'm getting this error: RuntimeError: The value type is incompatible with the field type. How can I convert the 1.5390954e+18 formatted date to a proper date format to be insert in a DATE field?
... View more
05-01-2020
01:24 PM
|
0
|
5
|
2659
|
IDEA
|
There is an option called OPTIMIZE LAYER DRAWING under SETTINGS of an hosted line feature layer. It's annoying to check back that option everything that we overwrite the layer. It would be good to have 3 things: 1. Even if we are overwriting the layer, keep that option checked if possible 2. From ArcGIS Pro, add that option under CONFIGURATION 3. Add a way to update that info using the ArcGIS API for Python
... View more
10-24-2018
06:58 AM
|
11
|
1
|
1510
|
Title | Kudos | Posted |
---|---|---|
11 | 10-24-2018 06:58 AM |
Online Status |
Offline
|
Date Last Visited |
a month ago
|