Tag Info

Hot answers tagged

7

At 10.1 they added geoprocessing tools to import/export XML workspace documents. At 10.0 you'd need to write something (see these: 1, 2) using ArcObjects, use Delete Rows beforehand, or use a more complex combination of geoprocessing tools and logic in Python (e.g. what X-Ray for ArcCatalog does).


7

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

I'm not a lawyer, but as per my understanding, you can use the EDN license, only for development & customization. You cannot use the software in production. What this means is that one license allows one developer to develop customization and tools against the standard APIs. You cannot for example use the ArcGIS Desktop for Analyzing data or Creating ...


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

The 'sdeexport' command accepts a WHERE clause flag (-w). Just set it to 1=0, and the resulting export file will be empty. Note that an 'sdeimport' of the resulting file will not have any ArcGIS metadata, or ArcGIS anything (feature datasets, domains,...), so you really don't want to do this unless you have a bunch of simple feature classes created with ...


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

After installing my web adaptor, iis is configured like this: The apppool is configured like this: In my web.config I have the two lines mentioned but I do not receive any error. I suggest you reinstall the webadaptor.


4

You can use the Identify Operation on the Mapservice to get the pixel values from the raster. Using the Identify Operation on a map service with Rasters, I can get both the Pixel value, as well as the stretched values:


4

In order to publish an ArcGIS Server service, you need to author a resource (a map document, for example) that would contain some data which can be local (that is, stored on the same machine where you have your ArcGIS Server installed) or stored at a shared location (such a shared folder). What you need to do then is to make sure ArcGIS Server ArcGIS Server ...


4

You have to use your web server administration tools to configure what port bindings your web site will have. When you have done this, during the installation you will be able to choose what web site you want to "tie" your ArcGIS Server Web Adaptor installation. Here is the example for IIS web server. After you have installed the Web Adaptor at a needed ...


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', ...


3

She doesn't want to publish a feature service, She is just trying to publish A service. I passed through the same exact situation with my ArcGIS for Server 10.2 trial version. Everything was going fine and I was able to publish and read my services. One day, I tried to connect to the ArcGIS for Server Manager and there were no services. I bet if you tried to ...


3

To check if the service is secured from the GIS Tier, you can use the ArcGIS for Server Admin API. Query the REST end point is this http://yourserver:6080/arcgis/admin/services/yourservice.MapServer/permissions If the REST end point returned "esriEveryone", it means it is public. Else it will return the permitted Roles or Group who can access this ...


3

Try using the ArcSDE command line tool sderaster to delete and drop the raster layer. These tools often attempt to clean up corrupt layers where ArcCatalog fails, and are installed with ArcSDE so can likely found on your database server or where you have ran the ArcSDE setup. Alternatively if that doesn't work another more risky solution is to manually ...


3

The best is to check ESRIs product information sites on its products, they describe its key features pretty well. In short words: ArcGIS Engine is a pure Developer Toolkit to embed ESRIs GIS Technology (Map View controls and so on) in individual Desktop and/or Mobile (Windows 6.5 and 7 mobile) Applications which are not intended as a pure GIS application ...


3

I'm using my W7 box as a virtual terminal (Outlook + Firefox + 2 PuTTY sessions) and it's using 2.5Gb of 4Gb (4200Gb swap). Squeezing the last bit of RAM out of any Windows box will always be a challenge. Even if you run up the swap to (physical + 4Gb) you're unlikely to get much more out of this system (if you actually start utilizing swap, performance ...


3

Always go with the UNC path (\\server\folder) when creating a data store for ArcGIS Server. This is both cleaner (since you can see the machine name in the path directly) and safer (if there will be a problem with disk mapping, you can have troubles accessing the path). From Esri Help: When you use UNC paths to reference your data, all GIS server ...


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 ...



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