Tag Info

Hot answers tagged

8

As 102100 and 3857 are mathematically identical, I think you can safely ignore the errors and just continue with overriding the source srs using the -s_srs flag. You can try adding the definition for 102100 in your $GDAL_DATA$ but it's not really recommended. If you really want to do it though, here's the method and the accompanying warning from Frank ...


6

Although someone else with more experience than I may be able to answer better, this is my understanding: To edit data in a spatial database, you need ArcGIS Server (the SDE components) That database can be anything, PostGIS, Oracle or SQL Server You can use native geometry types in the database, which should mean you can edit/view with other software. ...


6

No, you do not need ArcGIS Server to edit your MS SQL Server database. If you want to continue to interface with ArcMap/ArcCatalog without a ArcGIS Server license you do have at least one other (albeit non-free, but definitely cheaper than an ArcGIS Server License) option. I need to be able to connect to the ms sql server and import, export, create, and ...


5

Using Pre-existing WPS or Building Them There is a whole description/tutorial on web processing services (WPS) found here. Most of this is going to be done using HTTP requests sent to a server like GeoServer that is hosting this process. The GeoServer link will outline the general process of hosting and calling a WPS using their software. GeoServer's WPS ...


5

The "ArcGIS-101SP1-S-SSEC-Patch-lx" patch should be applied to 10.1 SP1, not just 10.1 (10.1 SP1 is a standalone install, not something to be applied to 10.1). There are more recent patches posted on support.esri.com -- I recommend you keep up to date. Choosing to upgrade ArcGIS Server should be part of a process that includes ArcGIS Desktop upgrades ...


5

To be able to work with a geodatabase stored in SQL Server you would need at least ArcGIS Server Basic Workgroup (see matrix here). You can work with simple features in ArcMap, but no geodatabase editing or alike will be available. Since you have ArcGIS Desktop (I assume you have Standard or Advanced), you get automatically access to geodatabase stored ...


4

What you need to do, is to query your ArcGIS Server REST Endpoint via JSON, and then Parse the Result. Let us take the example of the ArcGIS Online Sample Server that you are using. You normally use http://sampleserver3.arcgisonline.com/ArcGIS/rest/services as the url in your browser. But if you append an ?f=json at the end of it, the server responds in ...


4

Looks good to me. This recommended ESRI workflow should help you, but it sounds like you have it set. If you do any reconciling I would do that first obviously. Reconcile Compress Rebuild Indexes Analyze Datasets / Update Stats ESRI has put a great python code example on their site that does just this: import arcpy, time, smtplib # set the workspace ...


4

Unversioning removes the A and D tables associated with a single versioned feature class. Any edits not reconciled and posted to the base table will be lost, which appears to be your goal.


4

Tearing a database out from under an application is a fairly traumatic operation. Since you do this each night, you should stop the AGS instance(s) before stopping the database, then restart after the database has been up for a minute.


4

Turns out that ESRI just added this feature, but only for users of ArcGis server - the public server will have it turned off. The feature is called ExportTiles and it has been introduced in 10.2.1 for REST API: It'll export things into ArcGis's .Tpk or bundled image formats.


4

Yes, if you have a service definition (.sd) file sitting around. The createservice command line utility which ships with ArcGIS for Server does not use arcpy. If you read the source, you will see it does a few things: Log in to the server and acquire a token Find the Publish Service Definition tool on the server Upload the service draft to the uploads ...


4

I hit the same road block and couldn't really get the results I was looking for without learning to code against the API. We ended up going with Mango (http://mangomap.com) instead as it has a really good Google style attribute search available. There's also a query tool, which is pretty simple but works for our purpose. I would share our app but it's ...


4

I couldn't find this syntax listed anywhere so I'm sharing it in case it helps someone else. import urllib, urllib2, json serviceEndPoint = "http://<server>/ArcGIS/rest/services/<name>/FeatureServer/<ID>/" #Query the server for the objects to be deleted params = urllib.urlencode({'where': <whereclause>, 'f': 'json', ...


4

If you have admin access (that is access to the admin REST endpoint, you can get information about the workspace from the manifest). For example: http://SERVER:6080/arcgis/admin/services/SERVICENAME.MapServer/iteminfo/manifest/manifest.json?f=pjson Yields: "databases": [{ "byReference": false, "onServerWorkspaceFactoryProgID": ...


3

I finally figured out this issue after struggling forever. So I will let those who also may be having problems know what I did to find my problem. 1.) Do not assign a different symbol to the graphic. Just let it use the graphic that is associated with the feature layer. This will happen automatically without any additional code. 2.) Do not assign the shape ...


3

For your own tools, you can switch to Python toolboxes. This is the closest match to a text based toolbox as being developed by ArcGIS. However, the documentation about these toolboxes still needs to improve. Python toolboxes are geoprocessing toolboxes that are created entirely in Python. A Python toolbox and the tools contained within look, act, ...


3

I'd like to respond to my own question for the benefit of others that may have encountered a similar problem. The following special cases (at least) need to be considered when reading ArcGIS data using GDAL/OGR libraries: GDAL/OGR cannot process GeoJSON results containing UNICODE characters (\uABCD style) ArcGIS limits the amount of objects returned per ...


3

You should use the disableClientCaching on the Dynamic Map Services, and set it to true. The help states: When true, images are always requested from the server and the browser's cache is ignored. This should be used when the data supporting the map service changes frequently. What this does, is to add a timestamp at the end of every request, so that ...


3

Do you have a <div> tag for your Home Button? It should have an ID of HomeButton and be in your HTML somewhere. Here's a jsfiddle showing both an overview map and a home button.


3

You need to select the option Use layer names from the map document in the Add New Service - Capabilities form. Take a look at the OneGeology WMS cookbook Setting up an ArcGIS Server WMS that shows you how to do this.


3

onExtentChange is an event that is run every time the user changes the extent in your map (you add a dojo listener for this event, which then runs the rest of your code) map.extent is the value of the current value of the view-extent in the map (which you would be saving everytime the onExtentChange event is fired and lastly map.setExtent is the function ...


3

I'd recommend looking into GeoGit. I believe it has just the functionality that you're looking for.


3

The expression "host the OpenLayers map on site" isn't much clear as using OpenLayers is more a client side topic: OpenLayers is a JavaScript library and works on the browser. Using OpenLayers doesn't depend in any way on the hosting machine. So I assume you would like to set up a geographic server. The things you should care about are: processing power ...


3

ArcGIS Server 10.1+: You can do this, however there is no out-of-the-box functionality for this. The information about what feature classes are used (and from what database files they are coming) is not exposed via ArcGIS Server Manager / Services Directory / REST Admin. However, this information is stored as service metadata within ...


3

One thing I've learned over the years is that there isn't a "right" architecture but there are bad one. In your case, decisions have already been made for you in regards to hardware/resources, which as it turns out seems like two viable options for the required capacity (i.e. you could host everything from either machine and you should have good ...


3

To display that many polygons, you'll almost certainly need to use a tiled layer, rather than streaming the vectors to the client. You've tagged this with ArcGIS, so you could use ArcGIS for Server or ArcGIS.com to generate a tiled layer, which could be shown in the ArcGIS JavaScript API. You can display this tiled layer with the OpenStreetMap basemap ...


3

Regarding your question as to whether you can edit a feature layer using the REST API, the answer is yes. See the Apply Edits section of the REST API for documentation on how do this this. However, if it's only the status of the alarms which is changing every 15 minutes, you could make the change purely within the web map (without needing to change the ...


3

The map object will take on the projection of the first layer you add to it, in the case of your code, the streets basemap is 102100 (web mercator). You have two options to solve this: Use your own basemap service that is in your 102726 projection so that the points from the web service show up in the correct place. Stick with arcgis online basemaps, ...


3

As long as the ArcGIS for Server map services have been exposed as a WMS (which is a matter of its administrator ticking a checkbox) then you will be able to add them as WMS layers to QGIS. The second service URL that you provided looks like it comes from ArcGIS for Server but neither looks like a WMS. I recommend you contact their providers and request a ...



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