Tag Info

New answers tagged

3

Your license is invalid. See the line in the log: 2014-10-30 16:39:10,196 | ERROR | rint Extender: 3 | LicenseEnforcer | 333 - com.esri.ges.rest.cxf-service - 10.2.1 | Our license isn't valid. Shutting down.


1

Recently upgraded from 10.1 to 10.2.2 and ran into the same issue. Talked to ESRI support, but they could not reproduce the problem. My print service stops working after ~1hr which corresponds to the duration of my short-term token. Try increasing the duration of your short-term token. I increased mine to 24hrs since my services are restarted nightly. ...


2

Luckily you do not need to trust in what you read from the web but you can make a test with your own data. It is not as simple as "PNG tiles are much larger than JPEG, but have better quality". That is mostly true with aerial and satellite images which can be compressed effectively with lossy jpeg method. PNG is lossless and quality is thus perfect but the ...


1

The questions you raise are some of the fundamental trade-offs between performance and flexibility of tiled services. The short answer is: No, you can't reproject it 'on-the-fly' either at the server or client. In my opinion, your best choice is to adopt the web-mercator alternate sphere projection. The next-best solution is to recreate the cache in the ...


0

There are no known issues of performance degradation with upgrading to SQL SERVER 2008 R2. In the recent times the only bug that I can think of is [NIM082657:When working with an SQL Server 2012 geodatabase and Geometry or Geography type data, ArcMap drawing performance is slower than it was using SQL Server 2008. This affects all rendering and editing ...


1

Is there any particular reason not to serve the basemap with 3857 projection, such as your area of interest is at a high latitude? Almost all basemaps you can access freely on the internet is in this projection. If you have all the original data, you can publish your own image service in perhaps any projection you want. But for cached image service, it's ...


2

if possible, my recommendation would be to work with your FeatureLayer in selection only mode and display the ArcGISDynamicMapServiceLayer instead (as in this example)


1

Maybe you could try use sdegroup command i.e. merge features as described here. You could use merged features layer only at zoom levels that are slow to display i.e. huge number of features is fetched.


1

I've never used this feature myself, so I can't give details, but you might want to try the point clustering feature: https://developers.arcgis.com/javascript/jssamples/layers_point_clustering.html This allows you to display several point features as a single feature (symbolized to denote the number of features that were grouped) when zoomed out, but ...


1

instead of null fill, use a completely transparent fill, like this reference: https://twitter.com/derekswingley/status/487335272825094144


0

Sorry for taking so long to respond to this - I forgot all about it! In the end I discovered too many other limitations with the Dijit Legend widget, so ultimately I created my own, using an ajax call to the legend on the REST endpoint (.../MapServer/legend?f=pjson) to obtain the necessary info, including the symbol, which I was then able to style however I ...


1

You could reproduce the toolbox yourself pretty trivially: the parameters are described in that documentation and the source for zip.py and unzip.py are both online.


0

You're going to want to refer to the ArcGIS REST API docs to see how to make your requests. This would also apply to your custom geoprocessing service. I basically do just pass the request through WebRequest in .NET and do any tweaking as needed. A simple version may look something like this. public object Get(string name) { string query = "where=NAME ...


0

This example post from the GeoNet forum is javascript-based, but it essentially accomplishes what you want to happen. However, for the case of ESRI's 'ArcObjects for .Net' API (which we can tell you are using based on the Namespaces) you should implement the IArcGISSingleSignon.GetToken method. This object's method will sign on a user to ArcGIS Online ...


1

You can't read a shapefile directly from an ArcGIS js application, you must publish the shapefile through ArcGIS Server. If ArcGIS cannot access the file maybe it's just a permission issue on the files. You should grant read permission to the ArcGISSOC (10.0) or arcgis (10.1, 10.2) account. If you are using an ArcGIS Server > 10.1 you must also register ...


2

Your layerUrl is similar at: http://services1.arcgis.com/cFi1BRRsYB2fYqCl/arcgis/rest/services/NameService/FeatureServer Just add the token to Url: ...


0

Please refer the below link, seems to be that you do have some proxy issue. For accessing a secured services you need to have username and password and just write a code where token is generated at run time and you just need to append it properly http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//0048000000sv000000


0

There is an option to specify the SpatialReference when creating the map using the extent option. The dynamic map service layer should automatically project onto the map's spatial reference. It would look something like this var map = new Map("map", { extent: new Extent({ xmin: <xmin value>, ymin: <ymin value>, xmax: <xmax ...


0

ArcGISTiledMapServiceLayer is only useful when the service is in the same spatial reference as the map. This is because it uses the Map Tile resources of the REST API which cannot request re-projected images. ArcGISDynamicMapServiceLayer uses the Export Map operation which does have the capability to re-project images, although this will be slower. ...


0

It's quite a hassle but you could write a Feature Class extension in the geodatabase. In the create event you just update the Service number field. Read more on feature class extensions: http://resources.arcgis.com/en/help/arcobjects-net/conceptualHelp/#/Creating_class_extensions/000100000201000000/ I don't say it is the only way, but it is very reliable ...


1

What you're asking for isn't possible. ArcGIS server supervises the Python process and kills it if it takes too long. It doesn't send an interrupt/break to the Python session so the Python interpreter would never get to that finally block. I know you said it's out of your control, but you may want to beg the administrators of your server to let you tick up ...


1

It looks like you have not declared legendLayers as an array (var legendLayers = [];) before using it. If that doesn't solve your problem, could you paste the error that you get when you run this code in the browser?


2

I spent hours trying to figure out the same issue. I was passing the LegendLayer objects with the layerId as it is defined in the arcgis MapServer service, and no legend showing at all. Finally, I realized that I had to pass the OPERATIONAL LAYERS, in those ids (Sniffing the JSON that it sends to ExportWebMap). So for example, it turned to be layerId = ...


3

In theory this is a "solved" problem from a SysAdmin perspective. Any good monitoring package can monitor things, it just depends on identifying things to monitor (for which it helps having well documented protocols; ArcGIS's proprietary services make things somewhat tricker). http://www.thegeekstuff.com/2009/09/top-5-best-network-monitoring-tools/ - ...


1

I'm not aware of any existing tools, but you can find information in the server logs if a context has failed to start or failed to connect to datasource (depending on logging level). They are available in C:\Program Files (x86)\ArcGIS\Server10.0\server\user\log (or where your install dir is). You could either just scan through the textfiles or use Arcobjects ...


1

This is a silly bug with a silly workaround. The workaround will actually work even though it sounds so incredible. Here's the steps on getting it working: http://support.esri.com/en/knowledgebase/techarticles/detail/40538 I know it says 10.1, but 10.2 is affected too. When choosing paper size, go large... plotter large. Make sure you're the user that ...


0

Read the API-description: http://resources.arcgis.com/en/help/rest/apiref/ Have a look at the geometry service interface. If you don't have access to your own geometry service, you could use esri's at http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer If you have access to your own ArcGIS server but don't have a geometry ...


0

I figured a Way around it. Just Published another service with those layers only, and made it "type=dynamic" in the config file when adding that service. That way I am able to turn off and on the independent ones As seen in the screenshot. Thanks!


1

The Geocortex Essentials Manager application tries to access an ArcGIS Server REST endpoint directly, because the Essentials REST application would also try to do that. For most user interaction, your browser will make a direct connection to your resources. However, when you print the map, generate a report, or export a map image (among other things), ...


2

Situations requiring edit sessions: Feature classes participating in a topology Feature classes participating in a geometric network Versioned datasets in ArcSDE geodatabases Some object and feature classes with class extensions I'd say you need to start an edit session, and save the edits before you do the append. The Editor class allows use of ...


2

After you login, and generates your token you can make the following query to see the url of your content. http://www.arcgis.com/sharing/content/users/<username>?f=json&token=<generatedToken > This will return you the json that contains the url of your published services.


1

We are currently supporting about 30 editors across the country on an m1.large machine in the Northern California region. It costs about $350/month. Our plan is to move to a m3.medium in the Oregon region. This should bring our costs down to less than $200/month. We run standard workgroup version of ArcGIS Server with SqlServer Express, SDE, GIS Services, ...


0

I have experienced exactly the same problem earlier and was looking for the solution on the Internet. It seems as using pypyodbc library works much better. I was able to publish a GP service and call stored procedures & perform multiple SQL statements obtaining as a result object record sets without any problem. Pypyodbc is a pure Python ODBC interface ...


0

You can use CreateMapSDDraft (arcpy.mapping) or Upload Service Definition (Server) http://resources.arcgis.com/en/help/main/10.1/index.html#//00540000001p000000


1

Esri world imagery layer is already a mosaic "in the cloud". I do not think you can download it and use it locally. You would also need a very large storage space if this was possible.


1

A bit belated, but at version 3.10 the ArcGIS API for JavaScript added internal logic which simplifies displaying information from a related table in a popup. https://developers.arcgis.com/javascript/jssamples/popup_relatedrecords.html https://developers.arcgis.com/javascript/jshelp/intro_popuptemplate.html


1

Instead of using PIPE in the subprocess.Popen, you can use a file path to save the output. You can create the path by using the arcpy.CreateScratchName() (http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/CreateScratchName/000v0000001z000000/). After the subprocess runs and you have the output in the file, you might set the output parameter ...


1

I think the set of PostgreSQL drivers you downloaded are incomplete, and here's why: ArcGIS Server was installed as an x64 (bit) app, while the ArcGIS 10.2 Desktop client is an x86 (32-bit) app. So, referencing this ESRI documentation means the 64-bit postgreSQL libraries (libeay32.dll, libintl.dll, libpq.dll, and ssleay32.dll) go into the Server ...


0

I've been trying to do the same thing. Asked an ESRI tech support about this and they said to take a look at this document - http://resources.arcgis.com/en/help/main/10.2/index.html#/Printing_maps_that_contain_secured_services/0154000005q3000000/ EDIT The problem for us was that we have have a clustered server environment and we were 1) not using the ...


1

http://resources.arcgis.com/en/communities/flex-viewer/ You can find a lot of the answers to your questions through that link. On the right of the page you will see different subjects that cover the basics of what Flex is and what you can use it for.


1

There is some documentation which I am assuming that you are unaware of because you do not reference it in your question. I encourage you to read the page entitled Authoring geoprocessing tasks with Python scripts, and in particular the section headed Tool validation code which says: If you have experience writing script tools, you may be providing ...


0

There are two issues that you need to solve. Firstly, the polygon that you have, is in a format that is called the WKT. You will have to convert it to a geometry in the ESRI's JavaScript format. I have used Wicket in the past to do this conversation for me. Once you have an ESRI Polygon, you can use the project operator on the GeometryService. You should ...


0

Ok, I figured out how to do this. As Stefan suggested, I had to add a couple of parameters to the URL: geometry (value = e.g. 639739.5,7598259.3) geometryType (value = esriGeometryPoint) spatialRel (value = esriSpatialRelWithin) Here is an example call: ...


1

Yes you can add any non-spatial table to your gis-service (mxd) and access it through the REST interface. Query Layer Requests for example work as expected.


1

To deploy a custom .NET tool, you would need to document the tool first. Refer to A quick tour of documenting tools and toolboxes for the steps. However, to document a DLL-based custom tool, you need to enable Item Description first. Consult Enable ArcMap to create documentation for custom geoprocessing tools for details. After editing the registry as ...



Top 50 recent answers are included