|
POST
|
If you are using ArcGIS Server 10.6 or 10.7 this simple option might work for you as it did work for me recently. I needed to move our maps services from ArcGIS 10.6 single server to ArcGIS 10.7 federated with Portal.. The script posted here did not work for me, though it worked perfectly well when i was moving from 10.5.1 standalone server environment to 10.6.1 standalone server environment. If you are getting a Network Error, Just check the ports of the servers. I did experience that error when i was working with the stand alone server , if the ports are incorrect, you will get that error So in my new situation what i did was to simply upgrade the ArcGIS 10.6.2 standalone server to ArcGIS 10.7, so i now have both servers running the same ArcGIS Server version which is 10.7. Then to move the map services across, I use the export and import tools in the Admin server and it worked very easily for me. I do not know the ArcGIS Server environment you are working with but it is good to note that the script we are discussing above works only for Standalone server environment and cannot work for a federated server environment
... View more
09-17-2019
12:51 PM
|
2
|
2
|
2594
|
|
POST
|
I recently upgraded my single site ArcGIS Enterprise 10.6.1 to Federated ArcGIS Enterprise 10.7 using the export and import tools on Server Admin page. I noticed that after the import and export task, all the cached map services lost the cached tiles. Please can someone show me how i can import the tiles from the single unfederated server into my federated server Question 2. I am able to see all the imported map services on the ArcGIS Server site but I not able to see these map services when i connect to the ArcGIS Server on ArcCatalog. The folders are showing empty when viewed on ArcCatalog Please I really need help with these. See sample screenshots attached
... View more
07-15-2019
04:42 PM
|
0
|
0
|
1011
|
|
POST
|
Hi Vince Please do you still have the link to this FTP. I tried it but it is not working. I have a need to INSERT, UPDATE, and DELETE rows in non-versioned layers in ArcSDE. I want to see if your 'C' utility here can provide me with the solution i need. Thanks Irene
... View more
05-06-2019
07:24 AM
|
0
|
1
|
1395
|
|
POST
|
Hi Jonathan, I have been able to resolve the socket error issue by simply getting my IT department to change the port of the server from port 6443 to port 6080. Now I am able to push the map services and folders over to the new server but unfortunately, it now comes up with another error of not able to publish the service due to errors found during the analysis. (it does not specify what exactly the error is) Please can you think of what could be the problem here. Your contribution will be highly appreciated. Please see error below. Start Time: Tue Apr 30 09:41:50 2019 ERROR 999999: Error executing function. Unidentified Error Failed to execute (UploadServiceDefinition). Failed at Tue Apr 30 09:41:50 2019 (Elapsed Time: 0.02 seconds) Failed to publish. ** Service 'CWPP//FlamMap_Input_Fuel.MapServer' published successfully.
... View more
04-30-2019
07:55 AM
|
0
|
0
|
2528
|
|
POST
|
Have you tried the ShortList storymap template. That should solve your problem because it provides you the opportunity to customize your story map with pictures and a webmap. But you would need to arrange your data to mactch the excel template. you can follow the steps below. I got it from Esri support though i am still working on my own story map because i need it to populate data dynamically from my SDE database Navigate to the WebMap and share as a StoryMap Template Download Template: Unzip the downloaded file. Once unzipped, you'll see a folder that contains all the necessary files. See the Readme file for instructions on deploying and configuring your application. Deploy the Web application to your Web server. Copy the application files to your Web server. Configure the Web application. You can make simple changes to the Web application, like providing a different title, without having any programming experience. Minimally, you'll need to reference the map ID to display your map in the Web application. Follow the instructions in the Readme file to do this. You will also need to choose the second option of 'Yes, use them as-is' to reference the SQL database you edit. Managing the shortlist will be a little different but it should create a dynamic relationship between your data and the StoryMap can will automatically reference any edits.
... View more
04-25-2019
01:41 PM
|
0
|
0
|
699
|
|
POST
|
Please I would like to know if there is a new and easier way to achieve the transfer of map services from one ArcGIS server machine to another ArcGIS server machine. I have over 400 map services to transfer. Some two years back I was able to achieve this using the discomap.ServiceTransferTool that i found on this forum and the transfer was made from Version 10.4 to 10.5. Now we upgraded to a full ArGIS Enterprise environment 10.6.2 (ArcGIS Server, Portal for ArcGIS and Datastore) unfortunately the tool has failed and every effort have proved abortive. I keep getting this "No JSON object could be decoded" error. I am not good with JSON and I couldn't figure out what it is that is generating this errort. I would really appreciate helps and contributions from anyone here. thanks Please see attached screenshots of the tool and the error I got when executed. ** Service 'Irene//CIP_Project.MapServer' information read successfully. Now transfering... (5 steps) pathInitial line 653: E:\arcgisserver\directories\arcgissystem\arcgisinput\Irene\CIP_Project.MapServer\extracted\v101\CIP_Project.msdpathInitial line 655: E$\arcgisserver\directories\arcgissystem\arcgisinput\Irene\CIP_Project.MapServer\extracted\v101\CIP_Project.msdpathInitial line 657: \\Hamiltonpool\E$\arcgisserver\directories\arcgissystem\arcgisinput\Irene\CIP_Project.MapServer\extracted\v101\CIP_Project.msd msdPath line 659: \\Hamiltonpool\E$\arcgisserver\directories\arcgissystem\arcgisinput\Irene\CIP_Project.MapServer\extracted\v101\CIP_Project.msd simpleServiceName line 668: CIP_Project finalServiceName line 672: Irene//CIP_Project.MapServer Failed script TransferServices... Traceback (most recent call last): File "Y:\TOOLS\Server Tools\discomap.ServiceTransferTool-master\TransferServices3.py", line 1280, in <module> transferMapServices(fromServerName, fromServerPort, fromAdminUser, fromAdminPass, serviceList, toServerName, toServerPort, toAdminUser, toAdminPass, serviceType, workspace, newFolder, overwrite, workFolder) File "Y:\TOOLS\Server Tools\discomap.ServiceTransferTool-master\TransferServices3.py", line 621, in transferMapServices serviceExists = isServicePresent(toServerName, str(toServerPort), toAdminUser, toAdminPass, simpleServiceName, folderName, "") File "Y:\TOOLS\Server Tools\discomap.ServiceTransferTool-master\TransferServices3.py", line 101, in isServicePresent token = gentoken(server, port, adminUser, adminPass) File "Y:\TOOLS\Server Tools\discomap.ServiceTransferTool-master\TransferServices3.py", line 26, in gentoken token = json.loads(urllib.urlopen(url + "?f=json", query_string).read()) File "C:\Python27\ArcGIS10.5\Lib\urllib.py", line 89, in urlopen return opener.open(url, data) File "C:\Python27\ArcGIS10.5\Lib\urllib.py", line 215, in open return getattr(self, name)(url, data) File "C:\Python27\ArcGIS10.5\Lib\urllib.py", line 350, in open_http h.endheaders(data) File "C:\Python27\ArcGIS10.5\Lib\httplib.py", line 1038, in endheaders self._send_output(message_body) File "C:\Python27\ArcGIS10.5\Lib\httplib.py", line 882, in _send_output self.send(msg) File "C:\Python27\ArcGIS10.5\Lib\httplib.py", line 844, in send self.connect() File "C:\Python27\ArcGIS10.5\Lib\httplib.py", line 821, in connect self.timeout, self.source_address) File "C:\Python27\ArcGIS10.5\Lib\socket.py", line 557, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): IOError: [Errno socket error] [Errno 11001] getaddrinfo failed Failed to execute (TransferServices). Failed at Mon Apr 01 09:08:16 2019 (Elapsed Time: 1.84 seconds)
... View more
04-01-2019
07:31 AM
|
0
|
2
|
3058
|
|
POST
|
I am trying to utilize this tool to transfer my map services from my old server to my new server. I have done all that needs to be done based on the instructions files attached to the tool but I keep getting this error. The tool is able to extract the map services from the old server, but it is not able to publish the map service to the new server, it just creates the folder and returns an unspecific error - stating that there was an error found during th analysis. Please can I get help or contributions from this forum. Thanks Here is the error I am getting - Start Time: Tue Apr 30 09:41:50 2019 ERROR 999999: Error executing function. Unidentified Error Failed to execute (UploadServiceDefinition). Failed at Tue Apr 30 09:41:50 2019 (Elapsed Time: 0.02 seconds) Failed to publish. ** Service 'CWPP//FlamMap_Input_Fuel.MapServer' published successfully. ** Service 'CWPP//FlamMap_Input_Fuel.MapServer' information read successfully. Now transfering... (5 steps) pathInitial line 653: E:\arcgisserver\directories\arcgissystem\arcgisinput\CWPP\FlamMap_Input_Fuel.MapServer\extracted\v101\FlamMap_Input_Fuel.msd pathInitial line 655: E$\arcgisserver\directories\arcgissystem\arcgisinput\CWPP\FlamMap_Input_Fuel.MapServer\extracted\v101\FlamMap_Input_Fuel.msd pathInitial line 657: \\Hamiltonpool\E$\arcgisserver\directories\arcgissystem\arcgisinput\CWPP\FlamMap_Input_Fuel.MapServer\extracted\v101\FlamMap_Input_Fuel.msd msdPath line 659: \\Hamiltonpool\E$\arcgisserver\directories\arcgissystem\arcgisinput\CWPP\FlamMap_Input_Fuel.MapServer\extracted\v101\FlamMap_Input_Fuel.msd simpleServiceName line 668: FlamMap_Input_Fuel finalServiceName line 672: CWPP//FlamMap_Input_Fuel.MapServer pos line 687: 101 inputFolderPath line 691: \\Hamiltonpool\E$\arcgisserver\directories\arcgissystem\arcgisinput\CWPP\FlamMap_Input_Fuel.MapServer inputFolderPath line 693: \\Hamiltonpool\E$\arcgisserver\directories\arcgissystem\arcgisinput\CWPP\FlamMap_Input_Fuel.MapServer\extracted\v101 Folder 'CWPP' created successfully. Step 1: Creating Service Definition Draft (.sddraft) Step 2: Analyzing Service Definition Draft. Step 3: Creating Service Definition (.sd) Step 4: Uploading Service Definition. %%%%%%%%%%%%%%%%%% Executing: UploadServiceDefinition E:\arcgisserver\directories\arcgissystem\arcgisinput\transfer\2019430_94058_Hamiltonpool_tnr-gissvr1-p\CWPP\FlamMap_Input_Fuel.MapServer\FlamMap_Input_Fuel.sd E:\arcgisserver\directories\arcgissystem\arcgisinput\transfer\2019430_94058_Hamiltonpool_tnr-gissvr1-p\ServerConnection1556635258442.ags # # FROM_SERVICE_DEFINITION # STARTED USE_DEFINITION NO_SHARE_ONLINE PRIVATE NO_SHARE_ORGANIZATION # Start Time: Tue Apr 30 09:41:50 2019 ERROR 999999: Error executing function. Unidentified Error Failed to execute (UploadServiceDefinition). Failed at Tue Apr 30 09:41:50 2019 (Elapsed Time: 0.02 seconds) Failed to publish. ** Service 'CWPP//FlamMap_Input_Fuel.MapServer' published successfully.
... View more
12-20-2018
01:21 PM
|
0
|
0
|
720
|
|
POST
|
I think I eventually found the solution to the above error 00368. The input data file must be a layer file (.lyr) and not a feature class. So I had to open my TCAD layer inside ArcMap This TCAD originally exists as a feature class within a geodatabase . I then saved it as a Layer file into a folder (not inside a geodatabase). It is this layer file (.lyr) that now got rid of the error. See details below Select Layer By Location Summary Selects features in a layer based on a spatial relationship to features in another layer. Each feature in the Input Feature Layer is evaluated against the features in the Selecting Features layer or feature class; if the specified Relationship is met, the input feature is selected. A feature class is a set of common geographic features, for example roads, or parcels, or land use, as they are stored in a geodatabase or shapefile, or other storage format. Here is the help file on Feature Class Basics. A feature layer is the representation of a feature class after it is loaded into ArcMap. http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/select-layer-by-location.htm Usage The input must be a feature layer; it cannot be a feature class. This tool works on layers in ArcMap, ArcGlobe, or ArcScene and also on layers created in models and scripts using the Make Feature Layer tool. The coordinate system in which the spatial relationship is evaluated may affect the result. Features that intersect in one coordinate system may or may not intersect in another. This tool evaluates a spatial relationship in the coordinate system of the Input Feature Layer data source (the feature class on disk). Set the output coordinate system environment to evaluate the spatial relationship in a different coordinate system.
... View more
11-26-2018
10:06 AM
|
1
|
0
|
492
|
|
POST
|
Hi Jake, The attachment here contains the models. they contain virtually the same thing but yo9u may just check out the 'Extract_LakeTravis_Imprvment-Area_by Contour" and the 'Dynamic test Model (2)" Thanks for the example you sent. I checked it out and tried to insert my own variable data into the paramenter but I am still getting the same error 00345 See screenshot please
... View more
11-20-2018
12:03 PM
|
0
|
0
|
2361
|
|
POST
|
Any idea on how I can get that zipped and upload it here as I cannot see anywhere to attach a file on the menu here. I see insert video, pictures and tables
... View more
11-20-2018
09:02 AM
|
0
|
2
|
2361
|
|
POST
|
Hi Jake, I have tried your suggestion on building the model with the parameters, it did run when executed as a dynamic model but I am getting giving me this error 000368. please see my screenshot and see if you can help me further on this. Thanks
... View more
11-19-2018
09:46 AM
|
0
|
4
|
2361
|
|
POST
|
Not exactly TCAD parcels. The Tools will select all features that falls within a specific area covered by the specified polygon. I am just using the TCAD to as a starting point because it covers a very wide area. I actually started by creating some contour polygons and then have the polygon intersect TCAD and extract selected features of the TCAD that falls within the Contour polygon. So my intention is to create a tool that will input any polygon of any size and extract selected features in TCAD that fall within the polygon.
... View more
11-15-2018
09:17 AM
|
0
|
0
|
2361
|
|
POST
|
I built a model that extracts selected attributes from my TCAD feature layer using a polygon feature. I am looking for a way to convert this model to a functional tool through python scripting. The requirement is that when the tool is run, it will prompt the user to enter the polygon feature (any polygon feature that is within the TCAD coverage); the tool will also prompt the user to select the needed attributes from the TCAD layer feature. So far my model is pretty much functioning manually but I would really want it to be more automated. I have tried to export my model to a python script and tried modifying it but so far there has been no success, thus I am here to seek for help with this. Please see my model and script below and I would really appreciate if I can get help with this here. Here is the script # -*- coding: utf-8 -*- # --------------------------------------------------------------------------- # Extracting Property_IMprvtment_Values_By_ContourPoly.py # Created on: 2018-11-01 14:54:20.00000 # Description: This script will extract selected atrributes from TCAD for any given polygon (in this case I am using a Contour Polygon) # that is used to intersect the TCAD # ------------------------ # Import arcpy module import arcpy import sys import os import datetime import traceback # Database Connection editDB ="C:\Users\EgbuleI\AppData\Roaming\ESRI\Desktop10.5\ArcCatalog\TCAD.sde\TCAD.TC_USER.TCAD_PARCELS" # Local variables: TCAD_TC_USER_TCAD_PARCELS__3_ = "TCAD.TC_USER.TCAD_PARCELS" TCAD_TC_USER_TCAD_PARCELS = TCAD_TC_USER_TCAD_PARCELS__3_ Parcels_on_710f = "C:\\Users\\egbulei\\Documents\\ArcGIS\\Default.gdb\\Parcels_on_710f" Documents__2_ = "C:\\Users\\egbulei\\Documents" Contour710ft_data2_dbf = "C:\\Users\\egbulei\\Documents\\Contour710ft data2.dbf" # Process: Select Layer By Location arcpy.SelectLayerByLocation_management(TCAD_TC_USER_TCAD_PARCELS__3_, "INTERSECT", Parcels_on_710f, "", "NEW_SELECTION", "NOT_INVERT") # Process: Table to Table arcpy.TableToTable_conversion(TCAD_TC_USER_TCAD_PARCELS, Documents__2_, "Contour710ft data2.dbf", "imprv_homesite_val IS NOT NULL AND imprv_homesite_val >0", "PROP_ID \"PROP_ID\" true true false 4 Long 0 10 ,First,#,Database Connections\\TCAD.sde\\TCAD.TC_USER.TCAD_PARCELS,PROP_ID,-1,-1;py_owner_n \"py_owner_name\" true true false 70 Text 0 0 ,First,#,Database Connections\\TCAD.sde\\TCAD.TC_USER.TCAD_PARCELS,py_owner_name,-1,-1;py_owner_i \"py_owner_id\" true true false 4 Long 0 10 ,First,#,Database Connections\\TCAD.sde\\TCAD.TC_USER.TCAD_PARCELS,py_owner_id,-1,-1;py_address \"py_address\" true true false 100 Text 0 0 ,First,#,Database Connections\\TCAD.sde\\TCAD.TC_USER.TCAD_PARCELS,py_address,-1,-1;geo_id \"geo_id\" true true false 15 Text 0 0 ,First,#,Database Connections\\TCAD.sde\\TCAD.TC_USER.TCAD_PARCELS,geo_id,-1,-1;tcad_acres \"tcad_acres\" true true false 8 Double 8 38 ,First,#,Database Connections\\TCAD.sde\\TCAD.TC_USER.TCAD_PARCELS,tcad_acres,-1,-1;GIS_acres \"GIS_acres\" true true false 8 Double 8 38 ,First,#,Database Connections\\TCAD.sde\\TCAD.TC_USER.TCAD_PARCELS,GIS_acres,-1,-1;imprv_home \"imprv_homesite_val\" true true false 4 Long 0 10 ,First,#,Database Connections\\TCAD.sde\\TCAD.TC_USER.TCAD_PARCELS,imprv_homesite_val,-1,-1;land_homes \"land_homesite_val\" true true false 4 Long 0 10 ,First,#,Database Connections\\TCAD.sde\\TCAD.TC_USER.TCAD_PARCELS,land_homesite_val,-1,-1;deed_num \"deed_num\" true true false 50 Text 0 0 ,First,#,Database Connections\\TCAD.sde\\TCAD.TC_USER.TCAD_PARCELS,deed_num,-1,-1;year_built \"year_built\" true true false 2 Short 0 5 ,First,#,Database Connections\\TCAD.sde\\TCAD.TC_USER.TCAD_PARCELS,year_built,-1,-1;Shape_STAr \"Shape_STAr\" false false true 0 Double 0 0 ,First,#,Database Connections\\TCAD.sde\\TCAD.TC_USER.TCAD_PARCELS,Shape.STArea(),-1,-1;Shape_STLe \"Shape_STLe\" false false true 0 Double 0 0 ,First,#,Database Connections\\TCAD.sde\\TCAD.TC_USER.TCAD_PARCELS,Shape.STLength(),-1,-1", "")
... View more
11-15-2018
07:58 AM
|
0
|
10
|
3079
|
|
POST
|
I have designed a survey using Survey123 Connect for ArcGIS and had some images on it. these images display very well while on the Form preview but when I publish the survey, the images disappears from the published version. Please can someone tell me what could be causing this problem. Screenshots of the preview version and published versions are shown below. also I am putting here the excel spreadsheet I used for the design.
... View more
07-10-2018
07:03 AM
|
0
|
2
|
1252
|
|
POST
|
Thank you so much Stefano. Your suggestions were very correct and very helpful
... View more
07-06-2018
10:59 AM
|
0
|
0
|
1765
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-10-2025 09:18 AM | |
| 1 | 09-30-2024 08:15 AM | |
| 1 | 11-26-2018 10:06 AM | |
| 1 | 09-29-2017 06:47 AM | |
| 2 | 09-17-2019 12:51 PM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|