3

I would like to construct a minimal reproducible example to illustrate a question here on gis.stackexchange.com. Ideally, that example would reference data that's easily accessible to any ArcGIS user, without requiring that they download data from some external site.

Are there example feature classes (and/or data of other types) that I can rely on every user having access to as part of their ArcGIS installation? If so, are some of those frequently used in examples, and so familiar to many users?

3

ArcGIS for Desktop comes with template data inside a file geodatabase. The data are located, on a typical installation, under:

C:\Program Files (x86)\ArcGIS\Desktop10.2\TemplateData\TemplateData.gdb

It containst two feature datasets, one for the US (in NAD83) and one for the World (in WGS84).

Additionally you have the Esri Data and Maps DVD, which the data content can also be downloaded here from ArcGIS Online.

  • Terrific! Thanks. That TemplateData.gdb is exactly what I was looking for. Regarding the Esri Data and Maps DVD, do you know whether it contains the datasets that get used by the arcpy code snippets that are scattered throughout the ArcGIS Help Library (typically near the bottom of each page)? – Josh O'Brien May 30 '14 at 17:28
  • I don't believe so... To my understanding those code snippets are created ad-hoc. The Esri Data and Maps provide large dataset some of it is found in the ArcGIS Online basemap (e.g. Topo and Streetmap). – ericchiasson May 30 '14 at 17:36
  • OK. Good to know I haven't been missing something obvious. It's really quite a pity that they haven't taken the time to make those code snippets reproducible. That is the tradition, for example, for all code samples included in help files in my native R language, and it's a super-helpful way to present ... help. – Josh O'Brien May 30 '14 at 17:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.