• ArcGIS Api for Python - set content status on Item

    Hello - does anyone know how to set the content status on an item?  Currently, the api will allow you to read the content status property, but there seems to be no way to set the content status.  Something l...
    dcoley
    last modified by dcoley
  • Solution in Python 3 for SLIP connections

    I recently had to create a script to enable downloading of map packages from a SLIP connection here in Western Australia.  There was code available from the providers but a few tweaks were needed to allow it to w...
  • ExtentIndicator/ MapSeries

    I'm working on map series in ArcGIS Pro, where I'm generating 5129 maps using fixed layout, though till now I got output which is needed for my project, like using dynamic text but I'm facing one problem in data frame...
    adityakelkar
    last modified by adityakelkar
  • ArcGIS API Python .publish() error

    created a csv with 1 record and 10 columns then used arcgis api for python to publish it in to feature layer. the job fails. any suggestions would greatly be appreciated?   -------------------------------------...
    ahmed.askar
    created by ahmed.askar
  • Python API vs Python based GP Tools for Analysis?

    Many of the solutions we have created for our organization have been released as Python based Geoprocessing Tools (sometimes rolled-up into widgets, other times simply a GP Service).   Since we've implemented a ...
    LANDVEST
    last modified by LANDVEST
  • Please Participate! ArcGIS API for Python Blueprint Survey!

    The blueprint survey is an important part of the exam development process.  Survey participants will first review the description of the Minimally Qualified Candidate (MQC) and the exam blueprint. Then they wil...
  • Get User Folder Name Provided the Folder ID

    Using the ArcGIS API for Python, is there a way to get the name of a user's folder if provided the folder ID?   For example, one of the properties of a portal item is "ownerFolder", which returns the id of the u...
    boyle.matt
    last modified by boyle.matt
  • Is it a good idea to publish the ArcGIS Python API script?

    I have a script running perfectly in Jupyter Notebook. Now I am thinking of whether or not I should publish it as a web tool so that it can be shared among my colleagues --- I am the only one having a ArcGIS Python AP...
    simo
    last modified by simo
  • AddGeometryAttributes_management failing to execute

    I'm having a problem where I'm trying to calculate area of geometry but it is failing in my Python script. Using ArcGIS 10.6.1. arcpy.AddGeometryAttributes_management("layername", "AREA", Area_Unit="SQUARE_KILOMETERS"...
    atvanwie
    last modified by atvanwie
  • Dissolve regression in ArcGis Desktop 10.3.1 and newer

    ArcGis Desktop 10.3.1 does not dissolve to a single row while version 10.3 does it.   We use .NET API but we also tested using Python. In both cases dissolve fails to do it. Same error in all versions > 10.3...
    questllc
    created by questllc
  • Things that bothers me with arcpy and arcgis python api.

    Comming from the field of geomatics to writing scripts and programs can be alot of fun. But sometimes we skip some fundamental parts of writing exceptional good utilities. And there is a particular weekness in arcpy a...
  • Extract info from an mxd file programmatically

    Hi All, some years ago one of our developers wrote a python script to identify text fields in an mxd file and extract information such as file names and layer names. The script doesn't work with recent versions/releas...
    ljackson2806
    last modified by ljackson2806
  • QT + Python + QML + ArcGIS runtime for QT

    QT announced support for PySide2 Qt for Python 5.12 Released - Qt Blog  PySide2 · PyPI    ESRI has its Runtime for QT (100.4): ArcGIS Runtime SDK for Qt (latest) | ArcGIS for Developers  ...
    robhewy
    created by robhewy
  • ArcGIS (API for Python) on a Raspberry Pi: Happy Pi Day!

    Technically, it's the wrong Pi but hey, it's close enough for Pi Day.....   For those schools and after school clubs that use Raspberry Pi micro-computers, I've posted a working set of  instructions to get ...
  • Unifying the coordinate systems in GIS

    Hi there,  Would anyone explain to me how I unify the coordinate systems between GPS and Total Stations measurements in GIS? I have the satellite image of the area of interest. GPS data is mat...
    Isr281
    created by Isr281
  • FeatureLayer.query() returns RuntimeError: Token Required (Error Code: 499)

    I am trying to query a FeatureLayer.  I can connect to the GIS (using IWA), I validate the connection by checking the User, so I know the GIS object is valid.   Create a FeatureLayer object using a valid Ur...
    minerjoe
    last modified by minerjoe
  • SpatialDataFrame (SDF) Vs Spatially Enabled DataFrame (SEDF)

    Some background:   "New at version 1.5, the Spatially Enabled DataFrame is an evolution of the SpatialDataFrame object that you may be familiar with. While the SDF object is still avialable f...
    simo
    last modified by simo
  • User name is case sensitive

    I have noticed that when connecting to AGOL or Portal the username is case sensitive.  I am curious why this is, it certainly makes writing scripts more difficult as I need to go back through the web to make sure...
    minerjoe
    last modified by minerjoe
  • Breaking time

    Hi, it seems importing the GIS breaks a former from time import time import as demonstrated in the following example.             Switching the imports works, but it's not intuitive, a...
  • Python Emailing Upon Error

    # --------------------------------------------------------------------------- #  Script:         Creating an Service Definition File and Overwritting Existing Feature Servi...
    regalada_EMWD
    last modified by regalada_EMWD