Category Archives: Python
Do you work with Feature Services? Do you want to use geoprocessing tools or Python to perform analysis with ArcGIS for Desktop? Here’s a few quick tips for using a hosted feature service from arcgis.com or your own ArcGIS for Server … Continue reading
Have you ever wanted to extend your map automation scripts to include layer masking and clipping without having to open the map document? With the recent release of Esri Production Mapping 10.2 you can do just that and much more! … Continue reading
A declination diagram shows the angular relationship between grid, magnetic, and true north using a series of graphic arrows. A previous blog article on declination diagrams with ArcMap discussed what declination diagrams/north arrows are, and the different options for adding … Continue reading
With the release of ArcGIS 10.2, you can utilize the Python Distribution Utilities (Distutils) as part of a process to efficiently distribute Python toolboxes and custom toolboxes containing Models and Script Tools in the form of Python modules. Once a … Continue reading
At the Spatial Analysis and Geoprocessing island at this year’s user conference, several folks asked us about running a Python script or ModelBuilder model at a prescribed time — usually in the early morning when their computers are bored and … Continue reading
This blog is solely intended to be used as a reference to learn which Python integrated development environment (IDE) might be best for you or your organization. Since there are many IDEs to choose from, picking the right one can … Continue reading
The Esri development team would like to invite you to participate in a moderated and recorded usability study of a new application for GIS professionals currently under development.
Who we’re looking for…
- Existing ArcGIS for Desktop users
- ArcGIS Online and App users interested in professional GIS software
- Users of Esri Solutions (Local Government, Water Utilities, Land Records, 3D cities and campuses)
- Users with varying degrees of experience who author maps, analyze \ edit data, and manage GIS content
In total, we’re looking for 30 committed testers.
How it works…
Our sole intent and goal for this study is to assess the usability of our next generation professional desktop software; we want you to test our software, we’re not testing your computer, nor ArcGIS skills.
To consider you as a usability tester, we require that you are registered and approved by your employer to attend Esri User Conference and complete a pre-screening questionnaire—details below. Your time in the test lab is about 40 minutes.
Your test session will be recorded and observed by one or more members of the development team.
We thank you in advance for your time and look forward to meeting you in San Diego.
Among the most important activities at the Esri Oceans Summit (November 7–8, 2012; see prior blog post 1 and prior prior blog post 2) were the breakout groups, where participants were called upon to identify major barriers to the use … Continue reading
More organizations are moving towards using ArcGIS.com hosted feature services to serve data. One common task that has become a popular question of late is, “How do I automatically update the data within this hosted service?” For example, your organization may want to push nightly updates to keep synchronized with the daily changes made by your Desktop users. One of the easiest ways this can be done as this blog describes, is by overwriting the feature service completely with an updated one.
The following Python script demonstrates how to:
- Turn a map document into a sddraft.
- Modify the XML inside with the appropriate settings.
- Analyze the draft for errors.
- Stage the sddraft into a .sd (service definition) file.
- Upload the service to ArcGIS.com. Note that this code shares the feature service with everyone on ArcGIS.com.