New answers tagged

0

This issue can be resolved by "Using Plus" button in ArcGIS Representation for custom representation rule but you can't use "load rule facility" of ArcGIS Representation to add saved rule from other representation data. If you added a new rule by loading rule that is saved from other representation. You will receive error that geometry is empty only for ...


0

It is a while since I have done this but it looks to me like your model may not have specified an output parameter. If you compare your model to one in the Help page titled A quick tour of authoring and sharing geoprocessing services you will see that the latter has two input and one output parameters while yours only has a single input parameter.


0

Akis, I think the answer to "Q3" on the blog post Clarifying 3 questions about Web AppBuilder for ArcGIS probably best answers your question. Just an added note that you can certainly author a Web Map that does not share data to the public, and then use Web AppBuilder to build an app based on that web map. Either: create a web map that contains a Hosted ...


1

Esri has some JavaScript libraries that will get you from GeoJSON to ArcGIS Server JSON. Terraformer ArcGIS Parser arcgis-to-geojson-utils (Despite the name, it converts in both directions)


0

The GeoJSON format and the ArcGIS Server JSON format (ArcGIS Server REST API:geometry) are simple Python dictionaries There are many Python spatial modules which have the Geo_interface protocol (GeoJSON like)(list of modules with examples). For example with Fiona import fiona lines = fiona.open("a_shapefile.shp") # first feature of the shapefile line = ...


2

You could try to use Server Object Interceptors, SOIs. They allow arcgis server to manipulate requests as they are received from a client. From the help: Operation-level access control for map services—ArcGIS Server only supports enabling service operations for all users of the service or disabling access completely. A series of SOIs can filter ...


0

I think you need to add mode when you initialize the Feature layer, like: var myfeatureLayer = new FeatureLayer("http://arcgis-serveruf-1981283418.us-east-1.elb.amazonaws.com/arcgis/rest/services/MyFiles/LandParcels/FeatureServer/0",{ mode: FeatureLayer.MODE_ONDEMAND, outFields: ["*"] }); I hope this would help.


0

You need to edit the Data Type of your Output Folder: Right-click on your Toolbox (ArcMap) > Properties > Parameters. Probably you selected the Data Type "Folder" for your output location. There seems to be a bug. Use "String" instead. It should work just fine.


1

I think the key concern, as raised by most people here, is whether or not your 3rd party libraries are x64-compatible. (Some libraries are simply pure python code that is architecture independent while some are not.) Since you just stated that you are using a pure x86 python environment, I would suggest you to verify the 3rd party libraries can run in x64 ...


0

Yes you will want to change your server to support https. Here is a link to the doc to help you out. http://server.arcgis.com/en/server/latest/administer/windows/enable-ssl-on-arcgis-server.htm Russ


2

What we have typically done at my organization, is on a shared location that is accessible by all of our servers is set up a folder with third party python modules and temporarily append that path to the PYTHONPATH like so in the GP Script: sys.path.append(r'//server/path_to/third_party/modules') The other option is as you mentioned would be to install the ...


0

You can append the token to the link with the layers. Example: https://myserver:6443/arcgis/services///MyService/MapServer/KmlServer?Composite=false&compatibilityMode=GoogleEarth&LayerIDs=0&token=THE_TOKEN To generate the token in the first place, you can go to: https://myserver:6443/arcgis/tokens/generateToken This is a bit brittle though. ...


2

Simple typo. s.addFeatures(f); Should be s.addFeatures([f]); As you only created a single feature.


0

Change the rights of the folder you are writing too. I think the arcgis user must have write and read rights. Another Idea ist to register to folder with the files and don't copy the files to the server.1



Top 50 recent answers are included