|
POST
|
@JMik , That's not possible as far as I know. Unless you convert the polygons into polylines which will allow you to remove any side(s) of the polyline.
... View more
09-05-2021
05:48 PM
|
0
|
0
|
2762
|
|
POST
|
Hi @AzinSharaf , The following code snippet unregisters a datastore: gis_servers = gis_portal.admin.servers.list()
# Select the relevant server
server1 = gis_servers[1]
dataStore_list = server1.datastores.list()
# select the datastore you want to unregister,let's say the 4th one
dataStore_list[3].delete() I hope that's helpful.
... View more
09-01-2021
08:43 PM
|
0
|
2
|
1466
|
|
POST
|
Hi @lightpro , It should work. You also have the option to add spatial reference to the item properties. item_properties = {'title': 'Temp',
'description':'Temp',
'tags': 'temp',
'text':feat_collect.properties,
'type':'Feature Collection',
'spatialReference':'WGS_1984_Web_Mercator'}
append_featurecollection_item = gis.content.add(item_properties) alternatively, you can test it on another feature layer.
... View more
09-01-2021
06:07 PM
|
1
|
0
|
1909
|
|
POST
|
@JMik , I was wondering if the solution I provided worked for you. If yes, could you please accept it as solution? Thanks.
... View more
08-30-2021
07:19 PM
|
0
|
1
|
2786
|
|
POST
|
Hi @naglane , The following code snippet converts rings to polygonJson (geojson): const rings = [
[
[
-13441425.32511117,
4491520.711015136
],
[
-13440894.1920939,
4491511.685098792
],
[
-13440922.71925878,
4490494.010447212
],
[
-13441438.25014971,
4490494.010447212
],
[
-13441425.32511117,
4491520.711015136
]
]
];
const polygon = new Polygon({
rings: rings,
spatialReference: { wkid: 4326 }
}); I hope that's helpful.
... View more
08-30-2021
07:15 PM
|
0
|
0
|
1102
|
|
POST
|
@ChrisPy When connecting using an enterprise user account from an Active Directory, specify your username as domain\\username. You can use something like the following: print("\n\nPortal-tier Authentication with LDAP - enterprise user")
gisldap = GIS("https://portalname.domain.com/webadapter_name", "AVWORLD\\Publisher", "password")
print("Logged in as: " + gisldap.properties.user.username)
# prints all the users from AD
gisldap.users.search()
# OR
gisldap.users.search(query="@AVWORLD") you also have the option to query: gisldap.users.search(
query=None,
sort_field='username',
sort_order='asc',
max_users=100,
outside_org=False,
exclude_system=False,
user_type=None,
role=None,
) I hope that helps. ====================================================================== Please give a like if helpful and Accept as Solution if it's answered your query.
... View more
08-25-2021
07:46 PM
|
0
|
1
|
3522
|
|
POST
|
Hi @ChrisPy , The following links are useful and show how to access identity store and administer users: https://developers.arcgis.com/python/guide/working-with-different-authentication-schemes/ https://developers.arcgis.com/python/guide/administering-your-gis/
... View more
08-25-2021
06:13 PM
|
0
|
1
|
3527
|
|
POST
|
@GPGeoespacialIDSM , Your sample table csvs do not include any coordinates so cannot be mapped. Unless they are supposed to be related or joined tables to a hosted feature layer.
... View more
07-18-2021
07:35 PM
|
0
|
10
|
9948
|
|
POST
|
Hi @JMik , I reckon Integrate is the tool you can use to align two boundaries. Make sure to make a copy of your original feature class as this tool does changes on your original feature class (in ArcGIS Pro, you have the option to enable the Undo mode) and you also need to find the right xy tolerance based on your dataset. ArcMap: https://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/integrate.htm ArcGIS Pro: https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/integrate.htm I hope that's helpful.
... View more
07-18-2021
07:31 PM
|
2
|
3
|
2922
|
|
POST
|
@GPGeoespacialIDSM I don't know why you're getting the type error. Your second script using feature collection should work. Besides, The following script should work as I tested it a couple of times: gis = GIS("https://myorganization.maps.arcgis.com","user","pass")
# the hosted table item
table_ago = gis.content.get('xxxxxxxxxxxx')
existing_table = gis.content.search("table.csv")
for item in existing_table:
item.delete()
new_csv = gis.content.add({}, data=r"path to table.csv")
new_csv.publish(overwrite=True) Regards Mehdi
... View more
07-14-2021
10:23 PM
|
1
|
12
|
9980
|
|
POST
|
@GPGeoespacialIDSM , Is your new csv file has got the same name as the first one published? The file name needs to be exactly the same as the original file name.
... View more
07-14-2021
08:56 PM
|
0
|
0
|
9985
|
|
POST
|
@deleted-user-s_pSF_cCqVzk , By default, tools are run “in the background” meaning that while a tool is running you can do other stuff with ArcMap. When a conflict arises, the part of the code that does this (the background server) throws an exception (the actual technical term is “throws a wobbly”). You can fix this by going to the Geoprocessing Menu and looking for “Geoprocessing Options”. In the window that pops up, untick the Enable Background Geoprocessing: The downside of this is that you won’t be able to do other work until the tool has finished its work. http://blogs.lincoln.ac.nz/gis/2019/02/21/fixing-common-arcgis-problems/ I hope that helps.
... View more
07-14-2021
07:31 PM
|
2
|
3
|
11722
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-16-2021 09:38 PM | |
| 1 | 03-17-2024 06:09 PM | |
| 1 | 11-10-2020 04:59 PM | |
| 1 | 02-08-2021 09:29 PM | |
| 1 | 02-17-2021 04:47 PM |