Tag Info

New answers tagged

0

Here is a script solution for you. I'm not understanding why it is necessary to import and then move, but if it is necessary this will do it. import arcpy, os, sys from arcpy import env arcpy.env.overwriteOutput = True inDWG = arcpy.GetParameterAsText(0) GDB1 = arcpy.GetParameterAsText(1) GDB2 = arcpy.GetParameterAsText(2) annoRef = ...


0

You can use turf.js in client side (as Devdatta said) but also on the server. It requires nodejs and spatial data in geojson format, the perfect format if you like to render it on a leaflet map. You can install just the modules that you need: Buffer: turf-buffer Merge: turf-merge Overlap: turf-overlaps Here is an example with node


2

You cannot publish a map service to ArcGIS Server from ArcGIS Pro. There are no GP tools for that available in Pro and no GUI options for that either. No arcpy functions that either. As you already found out, your options are ArcGIS Online and Portal. A quote from Esri blog post: (Feb 2015) The first release of ArcGIS Pro does not allow you to publish ...


1

The answer to your question is yes. You might like to clarify what kind of server-side software you have. You can use GeoServer to do WPS requests. You could use a Python library like Shapely. Or a C# library, or a Java library, or a JavaScript library. Or the QGIS API, or the ArcGIS API or the database, be that SQL Server, PostGIS or Oracle. So, to ...


0

There is a documented bug for this issue: NIM-063468. According to the bug report, Synopsis: If one or more layers in a map that is published has a broken link, .NET REST returns an "Index was outside the bounds of the array." exception Solution: Update the map document to fix the broken layer(s). I was using ArcMap 10.2.2 to open and save ...


0

i see a couple issues with your query: the geometry parameter does not expect Point coordinate values to be passed inside an array. (see doc for more info). CONTAINS in this context would mean parcels that are contained by your input query point. the more appropriate spatial operator would be INTERSECTS you can find a working example here.


1

There currently is an enhancement for this functionality to be introduced to automate the process of updating the license file within the geodatabase prior to expiration: Esri's enhancement ID: ENH-000083167 - Add functionality to warn and update an enterprise geodatabase license before expiration


1

You cannot just copy a content from a webpage to localhost and await that it will work, especially when it's a service. There will be many broken references and ArcGIS JS API will look for content on your localhost that is not there. If you want to play with some map server configuration, you have to install one. If not, there is no need to have the map ...


2

The arcgis server local account does not get created outside of the local machine environment. So if you create the account on srvr a it will not exist on srvr b. You are correct in your workarounds, create same user and password on srvr b or run the utility and change the user to an AD account that is accessible by both machines.


2

I just found this post, from your post here and wanted to share some Python code I wrote that helps select a given feature in a JavaScript app. This code is obviously very specific to the Selenium and Python bindings, but I've got good mileage from it across different browsers, OS and screen resolutions. The idea is that if you Know the real world x/y of ...


0

import arcpy fcout = r'C:\Hydrants_test01.shp' url = ...


0

You will need to use the ESRI tool structure and include the files in your script folder if you would like to reference them directly by name like you are doing in your code. http://resources.esri.com/help/9.3/ArcGISDesktop/com/Gp_ToolRef/sharing_tools_and_toolboxes/a_structure_for_sharing_tools.htm Otherwise, you will need to append the location of the ...


0

CanMap Address Points Integrate Canada's most comprehensive collection of individual address points into your business application(s) or GPS devices to improve the accuracy of your results. Specifically designed and formatted for easy integration through our OEM content model, CanMap Address Points includes the definitive Canadian address ...


0

This might be better as a wiki. In British Columbia, civic addressing is maintained by local governments (ie, municipalities and regional districts). Depending on what your use is for the data, they can often be obtained by simple data requests directly to those local governments if it's not publicly accessible already. The data you get might not be under ...


1

There are several ways you can go and it will likely be a combination of several ones. 1 Use the backup/restore site utility installed with ArcGIS Server 10.2. This will create a backup of your services and all the server configuration. You can then restore the site on your test environment. There might be some issues with replacing the site machine as you ...


3

So from my understanding of the comments, you are looking to share your shapefile data as a service and consume it using ESRI's JS API. From this understanding, I will outline one way of sharing and consuming your data using GeoServer although others like MapServer are similar. I prefer to get the whole OpenGeo suite from Boundless. It will come with a ...


0

I think you're looking for the Postal Conversion Code File. Other companies do provide their own version of it though with other socioeconomic data.


1

You can create a graphic using the HTML Canvas. Here's a project where I did this: https://github.com/WSDOT-GIS/arcgis-map-thumbnail-builder


1

The /arcgis/rest/info?f=pjson endpoint will have an authInfo property with this information: Example: http://sampleserver6.arcgisonline.com/arcgis/rest/info?f=pjson { "currentVersion": 10.3, "fullVersion": "10.3.0", "soapUrl": "http://sampleserver6.arcgisonline.com/arcgis/services", "secureSoapUrl": ...


1

For apps I've been involved with, we use secured Feature Services (with the accounts used to secure the services coming from Active Directory - these are different than the accounts used to secure the ArcSDE layers in the geodatabase), in conjunction with a Proxy application, to control access to editable layers. An alternative to the Proxy application is to ...


0

based on the ESRI ArcGIS API for Silverlight docs for 3.1 and 3.3, I believe you want 3.2 or newer, Silverlight 5, and Visual Studio 2012 or newer to build apps to hit 10.2 servers.


2

It is possible to stop/start a map service with a Python code that can be built into a Python script tool in toolbox. You can then drag this tool into the ModelBuilder and embed it into the model. You can also just run the tool as is. The toolbox is called ArcGIS Server Administration Toolkit - 10.1+ which you can download. There is already a model which ...


2

That site looks like it has been built using the web mapping application builder software called Weave by Cohga: Weave is a business integration framework for rapidly combining disparate information systems in an easy to use environment. It is based on Open Systems technology and is independent from vendor-specific technology and proprietary ...


1

Not only does a registered rowid column need to be INTEGER (32-bit), POSITIVE, NON-ZERO, NOT NULL and UNIQUE, it also needs to be reproducible on subsequent invocations. It is not possible to manufacture a field on the fly which meets this reproducibility requirement. Therefore the only way to generate a rowid for such a non-unique view is to populate a ...


1

the two most common gotchas for Dynamic Layers are: the service itself doesn't support requests to alter symbology. (make sure Supports Dynamic Layers is true in the service metadata) the index position in the layer drawing options array doesn't match the index position of the layer. var sfs = new ...


0

You could view the cache in the javascript viewer while running the web traffic debugger fiddler. It will throw errors where it files to find tiles. You can then look at the request folder locations to help you recreate the tiles


2

It definitely should. One of the ways to test it is to publish a map service and access it with REST Service Directory JS API Viewer. Then go ahead and edit the attributes and geometry of a certain feature. If this attribute is used as the symbology field, after refreshing the page or zooming in and out (forcing the map image to re-draw), you will see ...


0

Any customisations of the GetFeatureInfo query are based on the INFO_FORMAT of application/vnd.esri.wms_raw_xml which returns XML. This XML has a shape property, but this simply returns the geometry type as a string. ...


0

here you can see a preview of soi (ags 10.3.1 in java): https://github.com/mraad/ExportImageSOI In this code there is override to handleRESTRequest. If there is a request of export and image the function call custom doExportImage for watermark otherwise follow the request from client.


1

Reposting to Esri Enterprise-GIS/GeoEvent GeoNet forum. (https://geonet.esri.com/message/483830) To ensure that your GeoEvent Stream Service deletes old features, there are three things you need to do to, in addition to checking Store Latest and specifying the Update Interval and Maximum Feature Age, when publishing the Stream Service: Make sure that an ...



Top 50 recent answers are included