|
POST
|
So, I started with a similar strategy. But I was using ArcGIS Online as the gis target. It worked well over all. I had the job set to run every few minutes. The problem was that the connection would mess up (time out) every few days, creating a hole in the data updates. I found the AGS service to be far more robust. But maybe this strategy would work well for Annette. This process for me was: Add csv to Online by hand and create a hosted feature layer: Then update with a python batch job. This is my simple proof of concept script (I have the full dev one as well if you want to see it - the prototype might be faster to digest): from arcgis import GIS
from arcgis.features import FeatureLayerCollection
import pickle
original_pickle = 'original'
in_file = open(original_pickle, 'rb')
original = pickle.load(in_file)
in_file.close()
print(original)
if original:
city = 'city.csv'
time = 'time.csv'
else:
city = 'city2.csv'
time = 'time2.csv'
gis = GIS(url=xxxx, username=xxxx, password=xxxx)
my_content = gis.content.search(query='owner:' + gis.users.me.username,
item_type='Feature Layer Collection',
max_items=100)
cities_item, = [x for x in my_content if x['title'] == 'city']
time_item, = [x for x in my_content if x['title'] == 'time2']
print('updating city layer to: {}'.format(city))
cities_flayer_collection = FeatureLayerCollection.fromitem(cities_item)
cities_flayer_collection.manager.overwrite(city)
print('updating time layer to: {}'.format(time))
cities_flayer_collection = FeatureLayerCollection.fromitem(time_item)
cities_flayer_collection.manager.overwrite(time)
print('done')
original = not original
out_file = open(original_pickle, 'wb')
pickle.dump(original, out_file)
out_file.close()
... View more
09-10-2021
11:51 AM
|
0
|
1
|
5410
|
|
POST
|
I am just right clicking the table in the ArcMap table of contents and selecting display x,y events then I publish it as a map service. So, on the Portal side I end up with a "Map Image Layer"
... View more
09-10-2021
11:26 AM
|
0
|
2
|
5416
|
|
POST
|
I am not sure how helpful this will be for you. But we just created a dashboard that automatically refreshes x, y events. But the pattern is a little different. The process: 1. Update a table in Oracle with latitude, longitude, and other attributes with python batch job 2. Using ArcMap create the x, y events, symbology, etc. and publish the service to portal/server 3. Create map and set refresh intervals. 4. Create dashboard
... View more
09-10-2021
10:42 AM
|
0
|
4
|
5437
|
|
POST
|
I would use c# and arc objects to do this task. https://desktop.arcgis.com/en/arcobjects/10.6/net/webframe.htm#0b0860b0-67f8-4cae-bb22-bc41074e1bc7.htm
... View more
09-07-2021
10:13 AM
|
0
|
0
|
1038
|
|
POST
|
Thanks for all you efforts on this. I cannot reproduce the behavior. Are you using a tpk published as an image service?
... View more
09-03-2021
05:51 PM
|
0
|
0
|
3700
|
|
POST
|
Thanks David -- I will make an app and give it a try
... View more
09-02-2021
03:05 PM
|
0
|
0
|
3711
|
|
POST
|
I want to set a maximum zoom level for a dashboard map, i.e. do not allow the user to zoom in more then the city level. I have reviewed a number of posts on this subject. It looked like it might be possible if I created a tile cache and set it as the basemap. So, I did this but it will let me zoom in past the base map resolution at witch point everything disappears. To be clear I do not need a custom basemap. The esri ones are fine for display. I created the cache with the sole goal of controlling the zoom.
... View more
09-02-2021
12:28 PM
|
1
|
6
|
3726
|
|
IDEA
|
I am also wanting this for dashboards. I would like to be able to just use an out of the box online basemap and limit zoon to 1:20,000. We need this because the data we have overlaid on the base map should not be displayed at closer zoom levels
... View more
09-02-2021
09:38 AM
|
0
|
0
|
1084
|
|
POST
|
Yes, we are on Oracle ( sorry I should have led with that). And we are on ArcMap 10.6.1. The user does often select more than 100 features. The user also reconciles and posts to a versioned geodatabase often. We don't do disconnected editing. It looks like this users log files are not getting deleted when the user disconnects. I now show him with 2,000 more rows in this table and no active connections to the database. I checked the connections with ArcCatalog and on the Oracle backend. The other heavy users have no row in the log data table, so the problem appears to limited in scope at this time. Any other bright idea's? I am thinking it might be time for an Esri case.
... View more
09-01-2021
09:47 AM
|
0
|
1
|
1699
|
|
POST
|
We have a log file that is consuming more space than normal. From our DBA: "The space is being consumed by table user.sde_logfile_data and two of its indexes. This table has 882, 054 rows." The user reported no large selection operations. So, my questions are: 1) when does the users log file normally get cleaned out? 2) is a 1,000,000 rows in the log file unreasonable
... View more
08-30-2021
03:09 PM
|
0
|
3
|
1752
|
|
POST
|
We have a geometric network setup. This gives us the behavior you describe. However, the geometric network is at the end of it's life. The new version is: https://pro.arcgis.com/en/pro-app/latest/help/data/trace-network/what-is-a-trace-network-.htm
... View more
08-27-2021
10:25 AM
|
0
|
1
|
1646
|
|
POST
|
Thanks, it was GeoConX in the past. They could have rebranded it. Thanks for feedback.
... View more
08-25-2021
10:33 AM
|
0
|
0
|
2386
|
|
POST
|
Is there any word on geoconx 2022? I googled it but got no hits....
... View more
08-24-2021
11:44 AM
|
0
|
2
|
2418
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-04-2024 05:39 PM | |
| 1 | 07-30-2024 09:05 AM | |
| 1 | 07-08-2024 05:32 PM | |
| 1 | 03-20-2024 10:27 AM | |
| 6 | 03-13-2024 03:38 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-12-2025
11:02 AM
|