Skip to main content
13 votes

Export ArcGIS tiles data to any image format

I added aerial imagery from GIS server and created fishnet over the area of interest: I use fishnet as index layer for my data driven pages, making sure the sorting order coincides with record order ...
FelixIP's user avatar
  • 23.1k
10 votes
Accepted

Passing token to ArcGIS Server REST service?

For Post Request You send it over inside a form in the body with the key token and the value is the token you received from this document explaining how to get token For Get Request You can send them ...
Brian McCall's user avatar
9 votes

Converting ArcGIS Server JSON to GeoJSON?

ArcGIS now supports GeoJSON Now ArcGIS Server (since 10.4) and ArcGIS Online has GeoJSON through ArcGIS Rest API URL. All you need to do is set f=geojson in the URL and configure the service. Be aware,...
hoogw's user avatar
  • 1,742
9 votes

Download Dataset From ArcGIS REST Service

Download data stored on an ArcGIS REST MapServer one layer at a time using the command line and the Python package pyesridump. Example command: esri2geojson http://gis.naperville.il.us/arcgis/rest/...
stevevance's user avatar
9 votes
Accepted

How to include a single quote / apostrophe in an ArcGIS Server REST API query string

As with the ArcObjects question above, the answer is to include a second single quote: &where=locality = 'O''CONNELL'
Stephen Lead's user avatar
  • 21.1k
7 votes

Using own basemap with ArcGIS API for Javascript?

For arcgis javascript SDK version 3.x you can use esri/basemaps class to declare and register custom basemaps and use with your map: https://developers.arcgis.com/javascript/3/jsapi/esri.basemaps-amd....
digz6666's user avatar
  • 201
6 votes

Overwrite existing map service in ArcGIS Server through ArcPy?

@JasonBK @jasonbk The CreateMapSDDraft method used in this sample asks for a {folder_name} parameter that was setted to None, so by default it points to root level (see below). If you want to use a ...
Antonio Slivak's user avatar
6 votes

Download Dataset From ArcGIS REST Service

To download this data, you can visit https://geodatadownloader.com, specify your URL, pick an extent or a where clause if you like, then click "download". It'll save the output file to your ...
Myles Haynes's user avatar
6 votes

What exactly does "enable geodatabase" perform on a SQL database

Are you talking about the Enable Enterprise Geodatabase tool in ArcToolbox? Please see System tables of a geodatabase in SQL Server which lists all tables created when enabling your Enterprise ...
Midavalo's user avatar
  • 29.7k
6 votes

Python script to print the feature classes which are referencing AGS map services

I have answered the same question here Which feature class(es) is/are used by service?. By the way, you can access this information manually in the ArcGIS Desktop application by right-clicking the ...
Alex Tereshenkov's user avatar
6 votes
Accepted

Replacing Esri branding with custom graphic in web app

The "logo" option is documented as being a Boolean value that defaults to true. So if you put false, it won't show it; if you enter any value (or leave it off so it defaults to true), it will show ...
Bill B's user avatar
  • 86
6 votes
Accepted

MXD files in ArcGIS

Almost. An mxd is a project file that contains (amongst others) layer definitions. You might say that an mxd is a collection of layer files, but besides that, it has for instance a pagelayout, a map, ...
Berend's user avatar
  • 4,737
6 votes

Parametrized queries for ArcGIS?

Out of the box, ArcGIS Server comes with two pieces of functionality you might explore: Feature services have ValidateSQL request available which can check your SQL query/statement. validateSQL ...
Alex Tereshenkov's user avatar
6 votes

00068 Script Script contains broken project data source: CURRENT

You cannot use "CURRENT" in a Geoprocessing Service. The GP Service has no idea what "CURRENT" is as the service isn't an open session of ArcMap. CURRENT is reserved for working with a script inside ...
KHibma's user avatar
  • 16.8k
6 votes
Accepted

Relationship between WMS styles and layers parameters for GetMap request in WMS 1.3.0?

The WMS 1.3.0 specification says in section 7.3.3.4: The mandatory STYLES parameter lists the style in which each layer is to be rendered. The value of the STYLES parameter is a comma-separated ...
CL.'s user avatar
  • 1,983
6 votes

Connection to ArcGIS Server via QGIS fails

You are trying to load an ArcGIS FeatureServer into QGIS and don't need the export you added. Simply open the Data Source Manager (Ctrl + L): Go to the ArcGIS Feature Server tab and click on New: In ...
Dror Bogin's user avatar
  • 3,485
5 votes
Accepted

Publishing map from ArcGIS Pro to ArcGIS Server as Map Service?

The functionality to publish map services via Python using CreateSharingDraft has been implemented in version ArcGIS Pro 2.3: Creates a MapServiceDraft from a Map in an ArcGIS Pro project.
Vidar's user avatar
  • 1,870
5 votes

Is there a point symbol for ArcMap that looks like the Google Maps Marker Symbol?

I've just had this issue and after searching through a ton of the pre-set symbols in ArcMap I've found something pretty similar. Go into the Symbol Property Editor, select Character Marker Symbol. ...
Caz's user avatar
  • 51
5 votes
Accepted

How can I get a map image from an ArcGIS mapserver centered on a single feature?

You can use my restapi module. It is very simple to do these kinds of things: import restapi import os url = 'http://gis.mda.state.mn.us/arcgis/rest/services/MN_Agriculture_EAB_Detection/MapServer' ...
crmackey's user avatar
  • 8,504
5 votes
Accepted

What is Esri ArcGIS "MapServer"?

Esri map service URLs end with the type of the service, the main types you can use are: Map Server - Used for displaying layers as raster images(even vector data) and can be used for queries. ...
Lior Greenberg's user avatar
5 votes
Accepted

How to get connection info from an .ags connection file?

In short, no. There is no way to extract that information from a .ags file without a major effort and some serious reverse engineering. Esri designed it that way because having a file that contained ...
MrBubbles's user avatar
  • 833
5 votes
Accepted

Identify which map services are locking feature class

I actually just created something to do this recently, and plan on implementing it as part of my restapi package eventually once I add more utilities. I just added this serverAdminTools module to ...
crmackey's user avatar
  • 8,504
5 votes

overwrite feature class in arcgis online using python

The following code (380 lines) will overwrite a ZIP file on arcgis.com and call PUBLISH on that. The zip file is expected to have shapefiles inside. You'll need to start modifying items to match your ...
KHibma's user avatar
  • 16.8k
5 votes

Vector tile packages (vtpk) publish in ArcGIS server?

In short, yes you are able to publish a vector tile map using ArcGIS Server as mentioned "Build and publish a vector tile package", "Is there a way to publish vector tiles to ArcGIS Server without ...
whyzar's user avatar
  • 12.1k
5 votes
Accepted

Accessing layers offered by an ArcGIS REST Server via Python Console?

Here is a script that will walk through the directory of folders, services, and layers. Ultimately, it prints the folder name, the service name, the layer name, and layer type for all available layers....
Matt's user avatar
  • 17.4k
5 votes
Accepted

Download shapefiles from arcgis.com

If you're using ogr2ogr you can just read the data directly, no need to export to shapefile and risk messing up the field names because of the shapefile (dbf) limitations. Based on the examples in the ...
user2856's user avatar
  • 66.5k
4 votes

Converting ArcGIS Server JSON to GeoJSON?

Converting ArcGIS JSON to GeoJSONThere in pure Browser there are 2 ways you can do 1) TERRAFORMER Note: use in node.js and use in browser are different, details see link 2) Esri/arcgis-to-geojson-...
hoogw's user avatar
  • 1,742
4 votes

Starting and stopping ArcGIS Server map services using Python?

As of ArcGIS Server 10.3, several Python-based command line utilities come bundled with ArcGIS server. Per esri's documentation they are usually installed here: C:\Program Files\ArcGIS\Server\tools\...
Charlie Lefrak's user avatar
4 votes
Accepted

Monitor open sde connection

Esri deprecated use of the ArcSDE application server (giomgr and gsrvr processes) in favor of exclusive Direct Connect connections at 10.2 (there are no 10.3 application server binaries). ArcGIS 10.1 ...
Vince's user avatar
  • 20.1k
4 votes

OSMDroid app using custom ArcGIS Tile Server - tiles are shuffled

Marco_B pointed the way and, therefore his answer is accepted as correct. Nevertheless, since it is a theoretical answer that takes time to figure out how to implement, i will post the final code ...
tony gil's user avatar
  • 487

Only top scored, non community-wiki answers of a minimum length are eligible