New answers tagged

1

I changed this line arcpy.FeatureclassToCoverage_conversion(in_features="'"+arcpy.env.workspace+"\\lines' ARC;'"+arcpy.env.workspace+"\\points' POINT;",out_cover=coverageOutDir) to this arcpy.FeatureclassToCoverage_conversion(in_features="'lines' ARC; 'points' POINT;",out_cover=coverageOutDir) and it worked. :)


1

SampleServer3 = ArcGIS 10.0. SampleServer6 = 10.3. As suggested, its the server which is having problems, not your code. The following works against 10.3 - note I modified your code to use built-ins instead of Requests. (Remember, Server underwent massive changes between 10.0 and 10.1. If you're stuck at 10.0 I'd suggest looking to upgrade as soon as ...


1

As @polygeo suggests, POST requests do have a size limit, but it depends on server and browser. http://stackoverflow.com/a/2880777/3182496


1

Storing images in a database stopped being high-tech with the introduction of map caching at ArcGIS 9.2 (9 years ago). Current best practice for serving images is to use image files on disk from a raster dataset (which requires the Image Server extension). Extracting image files from an ArcSDE database should be a last-ditch effort -- far better to use the ...


0

Another option if you're automating or scripting the workflow is to turn off the KML capability when you create the .SDDRAFT. See this help link, specifically example #4 on how to disable KML everytime you generate an SDDRAFT file.


2

I can't answer the "why" question. I just know KML has been a default ever since 10.0 or 10.1? Anyways, if you want a heavy handed approach to disabling KML... and when I say disabling, it wont ever be an option, you can try the below. Note that if you 'break' your Server following these steps, you're on your own. Tech support will need you to do a repair ...


2

Yes, you can publish this tool so it can reconcile versions that are created dynamically. You need to add a couple other tools to the model though. Most of the tool parameters can/should be model parameters, this will give you the most flexibility. You should not use a parameter for the sde connection since this will be a connection on the server. The ...


1

I think the proxy usually just redirects basemap requests through the proxy. However the basemap tile request is still made through the client (i.e. the web server that hosts the proxy does not make the request to return to the client). I would say test it out on something simple to see. Alternatively, it may be worth looking at this library that Esri have ...


0

Instead of writing a model in ModelBuilder, and exporting it as a Python script, I think you should instead: run the two tools from their tool dialogs use the Geoprocessing | Results window to Copy As Python Snippet their code into a Python script. I find that this is an easier way to learn ArcPy than the way that you are trying.


0

I ended up using the Query Tool and manipulating it to achieve what I needed.


1

At this point, it's helpful to review the ArcGIS Server functionality matrix. With Basic license, you can only publish feature services (technically, they are map services with Feature Access capability enabled). In order to serve dynamic or cached map services, you need to have at least Standard license. Here is the screenshot of the page 14.


0

I host the Java proxy in Apache Tomcat that provides a login page. The ArcGIS proxy runs in the same application context as the login page. This way, my users gain access with credentials stored in a separate, secure database. Tomcat does the usual session management while the slightly modified ArcGIS proxy handles the hidden ArcGIS credentials and tokens. ...


1

Based on the ESRI documenation (http://server.arcgis.com/en/server/latest/publish-services/linux/accelerating-map-cache-creation.htm) the best practice for the number of instances to use for caching is n + 1 where n is the number of cores running on the server. Your servers have 4 processors each and each X5690 processor has 6 cores according to the ...


4

You could take a look at the maki https://www.mapbox.com/maki/ icon set from mapbox. They've got a couple of teardroped shaped symbols (marker-stroke and marker ), and are downloadable as SVG and PNG, and if you grab the github repository there's an ArcGIS Style file. As an added bonus they're released under a creative commons license so you can use them ...


0

Found the solution! I have a read-only version and an admin version of the enterprise gdb. Had to register the other version. The more you know! Thanks all for the help!


1

You haven't explicitly defined myfeatureLayer as a variable, so it's not available when you try to run map.addLayer(myfeatureLayer). You could first declare myfeaturelayer as a variable, then add the variable to mysources, or you could get the last index of mysources and add that to the map.


0

I have discovered a better solution to this problem with this ESRI document. Either Portal or AGOL can act as a reverse proxy to your server. A secure service can be shared or added to your organizations AGOL or Portal domain and the username and password is stored within that environment. The secure service is then passed a new url via portal or AGOL ...


0

As long as you registered the enterprise geodatabase with your ArcGIS Server you can add as much data to the geodatabase as you want, and it will not be copied to the ArcGIS Server. To republish a service, starting with ArcGIS 10.1 you can/should republish directly from ArcGIS Desktop environment, without having to manually save the SD file and then ...


1

The way to step through and debug this is: on(navToolbar, "onExtentHistoryChange", extentHistoryChangeHandler); This line states that when the navToolbar's ExtentHistoryChange event fires, the code within extentHistoryChangeHandler should be run. Examining this code shows: function extentHistoryChangeHandler () { registry.byId("zoomprev").disabled = ...



Top 50 recent answers are included