Back in August 2015 I posted information about how you can extract features from a map service. Since then, I have had many contact me about modifying the code so it can extract features beyond the record limit set in the map service. So today I decided to work on one that does!
To test the script, I headed over to the map services provided by the State of California GIS. Specifically, the one for wildfires:
When you scroll down a quick look will reveal that there is a maximum record count of 1000:
Whether you are an ArcGIS Online subscriber or an ArcGIS Hub user, you can launch an open data site in 3 steps, which include configuring and designing the site and making it public. Check out ESRI’s post about it here.
Ever need to export your feature attributes or a table to a CSV file when using ArcGIS Desktop? There are a few ways to do it. Here are four (plus an extra):
Option 1: Table to Excel to CSV
This procedure uses the Table to Excel tool, then Microsoft Excel to convert to CSV.
The Table to Excel tool is located in the Conversion Tools toolbox.
If your organization participates in LARIAC, then you probably know that right now you have Early Access to the 2017 imagery (both orthos and obliques) in Pictometry’s online CONNECTExplorer application. Keep in mind the Early Access imagery still has work to be done on it, but at least you can take a look at the new stuff while they are working on it.
One thing you can do is bring some of the ortho imagery into your ArcGIS Desktop environment. Here are the simple steps to do so:
- Login to ConnectExplorer and zoom to the area you are interested in. Make sure to set the imagery date to “Early Access”.
- Next, set your Export Image preferences to output a GeoTIFF and turn off scale image, north pointer, and image date if you want. You do not need a world file for a GeoTIFF.
- Next, bring up the ortho view of the area you want. Make sure to zoom in quite a bit to get the higher resolution.
- In the lower-right corner, click on the export icon and select Export Entire Image.
- Now bring the GeoTIFF into ArcGIS Desktop. Here I have the new 2017 ortho displayed on top of the 2014 ortho.
- Your image might look a little choppy. To fix that, open the layer properties, select the Display tab, and change the “Resample during display” setting to “Bilinear Interpolation”. The “Nearest Neighbor” setting will make your image too choppy looking. Bilinear does a great job smoothing it out.
The GeoTIFF images are actually using geographic coordinates (WGS84), but they reproject very well into State Plane.
This is a very quick way to bring in the new 2017 Early Access imagery into your maps if you need to. As the imagery is cleaned up and worked on to create preliminary images, there will be map services setup for you to consume in your applications. But for now, you can use these steps. Enjoy! -mike
If you have converted your ArcGIS Pro licenses from Online to Concurrent Use, you must upgrade your ArcGIS Licenses Manager to 10.5.1 to use ArcGIS Pro 2.0. There is a GeoNet article on how to do it. Enjoy!
Looking to do a little prediction mapping using logistic regression in ArcGIS and the R environment … I thought so! This stuff makes my head ache, however if you are interested there is a series of videos that will step you through it. Check it out!
Also, check out this article about ESRI and R support.
Back in December 2013 I posted about using the field calculator in ArcMap to calc a field to the third word from another field. Since then, the comments section has been pretty active with questions and answers. I thought it would be a great time to expand on that with other nifty field calculator tricks that I have used over the years.
Split Up Data
This one I use a lot. I have a field that contains parcel number data. In LA County, parcel numbers are 10 digit numbers that represent the assessor book (first 4 numbers), page (next 3 numbers), and lot number (last 3 numbers). I want to split them out into their own fields. Here is how I do it.