|
POST
|
Hi Greg, The paramaeters argument (or more accurately the REST operation being called: Export Item—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers ) is expecting a JSON object is what's going here. Something like this will work: item.export(title="test",export_format="CSV",parameters={"layers" :[{"id" : 0, "where" : "year_ > 1990"}]}) For you, I'm not sure but I'll assume the export is from layer 0: icy_conditions.export(title=icy_reports,export_format="CSV",parameters={"layers" :[{"id" : 0, "where" : "Status = '3'"}]}) -Earl
... View more
02-27-2019
04:21 PM
|
3
|
4
|
5857
|
|
POST
|
All right. I think that you're running into a flavor of this limitation: BUG-000119406: The error message, "Shape Integrity Error" is return.. The root cause would appear to be the validation checks. The easiest workaround is to use a version of ArcMap lower than 10.6.1 or a version of ArcGIS Pro lower than 2.2. Alternatively, you could import that same data into a SDE-enabled database (Enterprise Geodatabase) and it should load without issue.
... View more
02-27-2019
03:00 PM
|
1
|
3
|
5840
|
|
POST
|
Which versions are you working with? Is that a PostGIS database by any chance? Without further details, I surmise the problem is related to validation: Database data and ArcGIS—Help | ArcGIS Desktop
... View more
02-27-2019
02:37 PM
|
0
|
5
|
5840
|
|
POST
|
Hi Chaim, I meant you can't set a target owner yet. You can, however, find the items owned by Source User A (not necessarily the Source Admin account) and copy them to the content of Target Admin B. Then you re-assign to Target User B. Try: from arcgis.gis import GIS
from IPython.display import display
gis1 = GIS("https://esrica-services.maps.arcgis.com", "testMigration_pw", "XXXXXXX")
gis2 = GIS("https://esrica-pw.maps.arcgis.com", "testMigrationpw", "XXXXXXX")
item = gis1.content.get("05dc246acf9e41b0bef594ba81980da9")
data = [item]
gis2.content.clone_items(data,"test",copy_data=True) It's been a while, but I recall having to create the list ahead of time. The "test" is the folder argument - basically, it'll create a folder named "test" and copy the content there. -Earl
... View more
02-27-2019
01:40 PM
|
0
|
0
|
2832
|
|
POST
|
If I understand you correctly, what you're looking for might be the .url property: item.url If it's not that and instead you're wanting to get the URL for the item which includes the Item ID, I think you'll need to get the item id from the item and then append that to a url string. So something like: url = "yoursharingurl" + item.url
... View more
02-27-2019
10:04 AM
|
0
|
1
|
1781
|
|
POST
|
I see. And the same thing happens when you create a new GeoEvent Definition with the geometry field explicitly created? I'm thinking: Let the input generate the initial definition Create a new definition for the output that includes new fields for Latitude (Double), Longitude (Double), Geometry (Geometry) For your service: Map the input fields to the output fields Throw in 3 field calculators that: Convert the Latitude (String) to Latitude (Double) using the new field we created Convert the Longitude (String) to Longitude (Double) using the new field we created Use the converted Lat/Long values to calculate Geometry into the Stream Service defition Output to the Stream Service
... View more
02-27-2019
06:12 AM
|
0
|
1
|
2903
|
|
POST
|
Chaim, Aaron is absolutely correct - clone_items would be the better option for what you're hoping to achieve. To give you another example. here is one which I originally authored which you can modify to copy only certain item types: How To: Copy content from the Operations Dashboard of one Portal for ArcGIS or ArcGIS Online account to another using Ar… At the time of this writing, clone_items copies content between Administrator accounts so you will need to re-assign ownership. The good news, however, is that adding an argument to set the target owner is in the Product Plan.
... View more
02-26-2019
08:47 PM
|
1
|
2
|
2832
|
|
POST
|
Langdon, I recently had this issue myself on a Red Hat VM which was abruptly turned off. In my case, I think some level of corruption occurred and I had to blow everything away and re-deploy on a new VM. Assuming your situation is like Sergio's and everything checks out with your licensing/keycodes file and there is no other obvious answer, I would start with checking folder permissions. You'll want to ensure that the account running GeoEvent/ArcGIS Server has appropriate permissions on content/application directories. Assuming you're on Linux, that means recursive 770 permissions. It's also a good idea to have that account be the owner of directories. If all that looks good and still you get that error, then you can try the below (ideally you have a backup of your configuration): Stop the geoevent.service and geoeventGateway.service Uninstall GeoEvent Server Rename/delete the following folders: /home/esri/.esri/GeoEvent /home/esri/.esri/GeoEvent-Gateway /home/esri/arcgis/server/GeoEvent Re-install GeoEvent and re-authorize
... View more
02-26-2019
02:25 PM
|
1
|
1
|
1885
|
|
POST
|
Marc, I don't have any ideas as to what might be causing this, but if you have not already done so I would recommend submitting an issue on the github page with the above details: Issues · Esri/ago-assistant · GitHub
... View more
02-26-2019
02:09 PM
|
1
|
1
|
1213
|
|
POST
|
Hi Ellen, You may not have this issue anymore, but I thought I'd comment all the same in case someone chances upon this post. Typically, I'd recommend working with a flattened schema. Also, I note that the Stream Service schema Latitude/Longitude fields are esriFieldTypeString and you have no Geometry field. Therefore, it would seem that there's no information that could be used to draw points in the output. I don't mean to further complicate your issue, but in order to have points draw I think you'll want to convert your Latitude/Longitude values to double and use those values then to calculate Geometry.
... View more
02-26-2019
02:01 PM
|
0
|
3
|
2903
|
|
POST
|
Just in case someone finds this post looking for an answer... I'm actually working with someone on this very thing. At the moment, there's no out-the-box solution since GeoEvent doesn't come packaged with an FTP transport. I believe an Enhancement was logged for this functionality, however. I understand it could be achieved through scheduling downloading these XML files to a folder and have GeoEvent watch the folder for new files, but was hoping on avoiding another moving part. Unfortunately, this is exactly what you'll need to do.
... View more
02-24-2019
05:23 PM
|
0
|
1
|
1333
|
|
POST
|
Hi Greg, Seems like this approach would also work for your use case: https://community.esri.com/thread/213402-how-to-use-python-api-to-export-online-feature-class-as-csv
... View more
02-20-2019
01:38 PM
|
0
|
0
|
3600
|
|
POST
|
Without digging too deep, I believe your configuration should work fine. UTC/GMT is just the logging format used by Apache Karaf and I don't think this should cause any issues. I'm not aware of an out-of-the-box way to change the log time format.
... View more
02-20-2019
10:19 AM
|
0
|
1
|
1996
|
|
POST
|
If you need to publish MXDs directly, then this documentation should still be valid: Example: Publish a map service from a map document (MXD)—ArcGIS Server Administration (Windows) | ArcGIS Enterprise
... View more
02-13-2019
09:38 AM
|
0
|
1
|
3623
|
|
POST
|
Hi Jess, Yes, there is a way to figure this out - I highly recommend you review this helpful blog post: https://community.esri.com/community/gis/enterprise-gis/geoevent/blog/2015/05/21/debugging-geoevent-add-a-feature-update-a-feature-output Basically, you'll want to turn on DEBUG level logging on com.esri.ges.transport.featureService.FeatureServiceInboundTransport With that, you will see this in the Manager UI (or you can review the log files themselves): In this example, the timestamp being used is 2018-11-05 18:57:46 If you went a bit too far ahead in time in your testing, you can reset the cache by restarting GeoEvent. Hope this helps!
... View more
02-13-2019
09:30 AM
|
2
|
4
|
1996
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 01-18-2024 01:34 PM | |
| 1 | 09-13-2023 06:48 AM | |
| 1 | 09-23-2022 09:04 AM | |
| 1 | 06-14-2024 01:14 PM | |
| 2 | 09-24-2019 08:22 AM |