|
POST
|
I started playing around with Experience Builder and it is an option. My preference would to be able to embed a pdf or word document as that avoids the extra work of copying and pasting the information into the EB template. That may end up being what we do for now until a better solution presents itself. Some people use Google Docs and embed an iframe of the document. That works extremely well but again there is the potential security issues with that. Anyway, thanks for the suggestions.
... View more
08-10-2022
06:04 AM
|
0
|
0
|
2647
|
|
POST
|
Yes. I played with using Google Docs but our IT dept. is saying google docs is unsecure and our office 365 accounts don't allow us to publicly share links to, say, a pdf or word document. So, I am looking for other possible options for public viewing of a daily situation report in a storymap that is easy for the person doing the report to display.
... View more
08-09-2022
10:11 AM
|
0
|
0
|
2661
|
|
POST
|
I have a storymap that shows the current wildfire situation for our area. The emergency manager wants to have a page that shows the daily situation report. I would like to have a live feed a document that as soon as she edits it showing in the storymap. I am trying to avoid any copy and pasting or that type of thing i.e., making the workflow as simple as possibly. I am wondering if there is a method of webhooking a word document or some such thing or embedding a link via an iframe. Or, perhaps, there is a better method? Any ideas would be appreciated.
... View more
08-09-2022
08:13 AM
|
0
|
4
|
2694
|
|
POST
|
Thanks. We are using Microsoft sql server and its at 64 bit. I am not sure what you mean when you say the actual path and use the C:\ drive prompt. This is not something I have ran across before. In the past it was as easy as copying and pasting the path from ArcCatalog..... Thanks again.
... View more
09-14-2021
10:29 AM
|
0
|
0
|
1280
|
|
POST
|
I am trying to upgrade a script I use in ArcMap to ArcGIS Pro. I am not able to get it to recognize the the path to our sql server which houses the feature class I want to access. The script work fine in ArcGIS Map but I get errors when trying in ArcGIS Pro. This is a script that will have multiple lines but the first step is creating problems. Also, I ran the export tool on the feature class in pro and it worked fine. I then copied the snippet from the results and pasted it into the script (using PyCharm). Here is the script as it stands so far: import arcpy try: in_table = r'Database Connections\GIS Update.sde\GIS_update.dbo.Orion_Taxlots\GIS_update.dbo.Orion_Taxlots' in_data = r'Database Connections\JOCO B Marial.sde\jocoB_Production.DBO.POLY\jocoB_Production.DBO.poly_gon' out_path = r"C:\GIS\Substage" out_shp = "jocoB_Production_DBO_poly_gon.shp" TL = r"C:\GIS\Substage\jocoB_Production_DBO_poly_gon.shp" Out_Taxlots = "C:\\GIS\\Substage\\Taxlots.shp" # Step 1 jocoB poly_gon copied to C:\GIS\Substage arcpy.FeatureClassToShapefile_conversion(in_data, out_path) print("Step 1 complete") # Step 2 Dissolve TL.shp on MNX as Taxlots.shp arcpy.Dissolve_management(in_features=TL, out_feature_class=Out_Taxlots, dissolve_field="MNX",statistics_fields="#", multi_part="MULTI_PART", unsplit_lines="DISSOLVE_LINES") print("Step 2 complete: dissolved TL.shp on MNX, save as Taxlots.shp") except Exception as e: print("Error: " + e.args[0])
... View more
09-14-2021
10:07 AM
|
0
|
2
|
1285
|
|
IDEA
|
Recently I experienced problems overwriting a Taxlot API rest service. I kept getting the error: unable to retrieve information for existing item when trying to overwrite map service. However, while the ESRI support person was looking into possible reasons that this particular layer was not getting published (others worked fine) I, using ArcGIS Pro, switched to AGOL from our Portal and tried to overwrite the ArcGIS Online hosted taxlot layer. The error that I got then was that I could not proceed because there was a join on the layer. Of course, overwriting the service in Portal worked fine after removing the join. It would be nice if the error message when overwriting a service in portal would also say that there was a join and thus can’t proceed rather than the generic message that was given. Just a suggestion. Thanks
... View more
04-08-2021
10:19 AM
|
0
|
0
|
2067
|
|
POST
|
Thanks for your response. We have been doing the steps outlined in link. Even though it says nothing needs to be uninstalled the web adapters actually need to be uninstalled and reinstalled which, for some reason, seems to also remove content folders. We just rolled it back and are looking at giving it another shot.
... View more
07-09-2020
09:53 AM
|
1
|
1
|
3005
|
|
POST
|
It took about 3 hours for Portal to upgrade and I am wondering if this is normal. Will the server and datastore be similar? What should I expect? What have other people experienced in this regard?
... View more
07-09-2020
09:01 AM
|
0
|
3
|
3142
|
|
POST
|
I want to switch from the built-in identity store to a windows web tier active directory that our organization uses. I have already set up accounts in the Portal using the built-in ID store. I am wondering what will happen to the existing accounts when I switch to the active directory? I am guessing once I have added them via the active directory they will have two accounts in the portal and I, as the admin, will have to move their existing work to the new account? Does this sound accurate or am I over thinking this. Does anyone that has done this already have any suggestions?
... View more
06-16-2020
11:06 AM
|
0
|
2
|
2055
|
|
POST
|
Does anyone have a suggestion on how to reconfigure the symbology of an exported feature in a web app? Currently when I use the select widget in an online app and do an export the symbology is identical to the parent layer. I would like it to stand out more. In this case I am selecting a parcel and want it to stand out more in a printout.
... View more
01-21-2020
10:17 AM
|
0
|
1
|
1098
|
|
POST
|
Gold star for you! I was wondering about the file geodatabase vs SDE and was considering trying it with the FGDB. You motivated me. I set up a feature dataset in wgs 84 since I was having errors with the projection portion of the script, even after Dan's reminder to type in a complete path (doh!). Here is what I came up with: #Set variable
out_fc = "E:\STAGING\Taxlots_staging.gdb\Staging\Taxlots_TEST_DeleteME"
#latLonRef = "E:\Coordinate_System\World\WGS 1984.prj"
#set workspace
arcpy.env.workspace = r"E:\STAGING\Taxlots_staging.gdb\Staging"
#Step 1: populate Latitude field
arcpy.AddGeometryAttributes_management(out_fc, "CENTROID_INSIDE", "", "", "")
print "Step 1 complete"
#Step 2: Rename INSIDE_X to Longitude
arcpy.AlterField_management(out_fc, "INSIDE_X", "Longitude", "Longitude")
print "Step 2 complete"
#Step 3: Rename INSIDE_Y to Latitude
arcpy.AlterField_management(out_fc, "INSIDE_Y", "Latitude", "Latitude")
print "Step 3 complete" Thanks for your help!!
... View more
04-24-2018
06:45 AM
|
0
|
1
|
4091
|
|
POST
|
Okay, I am feeling a bit dense here.... It might be obvious that I am not a programmer 🙂 but using the syntax for the Add Geometry Tool I get: import arcpy
#Set variable
out_fc = "Database Connections/jocoA_Staging.sde/jocoA_Staging.DBO.Assessor/jocoA_Staging.DBO.Taxlots_TEST_DeleteME"
latLonRef = "Coordinate Systems\Geographic Coordinate Systems\World\WGS 1984.prj"
#set workspace
arcpy.env.workspace = "Database Connections/jocoA_Staging.sde/jocoA_Staging.DBO.Assessor/jocoA_Staging.DBO.Taxlots_TEST_DeleteME"
#populate Latitude field
arcpy.AddGeometryAttributes_management("Latitude", "CENTROID_INSIDE", "", "", latLonRef)
print "Step complete"
As you might guess I get an error: Runtime error Traceback (most recent call last): File "<string>", line 22, in <module> File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\management.py", line 2170, in AddGeometryAttributes raise e ExecuteError: ERROR 000622: Failed to execute (Add Geometry Attributes). Parameters are not valid. ERROR 000628: Cannot set input into parameter Coordinate_System. Two (perhaps more) things come to mind: 1) env.workspace to a feature class may not be copacetic and 2) I am not calling the latitude field correctly. The original way I had this coded worked fine when ran separately but in the script with the other components it would get the lock error. What am I missing?
... View more
04-20-2018
08:42 AM
|
0
|
4
|
4091
|
|
POST
|
Thanks for responding! The code in lines 48-67 was from the old configuration I put together and I am not sure how to rewrite it to just calculate the Latitude and longitude fields. My goal is to do in the script what I would do if I right clicked on that field in the attribute table and ran the calculate geometry tool for the x and y coordinates using the wgs84 coordinate system. Nothing fancy. I think your add geometry attributes suggestion looks like just the thing! I will give it a shot. Bob Noyes GIS Analyst Josephine County 541-474-5244 GIS Webpage<http://www.co.josephine.or.us/SectionIndex.asp?SectionID=129> [email protected]<mailto:[email protected]> “A road map always tells you everything, except how to refold it<http://thinkexist.com/quotation/a_road_map_always_tells_you_everything_except_how/156219.html>” unknown
... View more
04-20-2018
06:02 AM
|
0
|
0
|
4091
|
|
POST
|
Your suggestion to create the fields first seem like a good plan so I have done that. However, since the script to calculate the lat and long for the polygon centroids was one I stole I am not quite sure how to revise it to read the created fields. Any ideas? import arcpy
import os
#Step 1: Copy S:\Common\Assessor\ArcGIS\Taxlots_TEST_DeleteME.shp to Joco A assessor
#Set Variables
in_data = "S:\Common\Assessor\ArcGIS\Taxlots_TEST_DeleteME.shp"
out_database = "Database Connections/jocoA_Staging.sde/jocoA_Staging.DBO.Assessor"
# Copy
arcpy.FeatureClassToGeodatabase_conversion(in_data,out_database)
print "Step 1: Copy complete."
#Step 2: Add Situs fields
#Set variables
out_fc = "Database Connections/jocoA_Staging.sde/jocoA_Staging.DBO.Assessor/jocoA_Staging.DBO.Taxlots_TEST_DeleteME"
# Step 2a: Create a new field - Situs_City (string, 25)
arcpy.AddField_management(out_fc, "Situs_City", "TEXT", "","","25","","","")
print "Step 2a: Add Situs_City complete."
# Create a new field - Situs_St (string, 2)
arcpy.AddField_management(out_fc, "Situs_St", "TEXT", "", "", "2", "", "", "")
print "Step 2b: Add Situs_St complete."
# Create a new field - Situs_Zip (string, 10)
arcpy.AddField_management(out_fc, "Situs_Zip", "TEXT", "", "", "10", "", "", "")
print "Step 2c: Add Situs_Zip complete."
print "Step 2: adding the Situs fields has been successful!"
# Step 3a: add Latitude (double, 12, 8)
arcpy.AddField_management(out_fc, "Latitude", "DOUBLE", "12", "8", "", "", "", "")
print "Step 3a: Add Latitude is completed."
# # Step 3b: add Longitude (double, 12, 8)
arcpy.AddField_management(out_fc, "Longitude", "DOUBLE", "12", "8", "", "", "", "")
print "Step 3b: Add Longitude is completed"
print "Step 3: adding the Latitude and Longitude fields has been successful!"
# # Step 4a: add GIS_Acres (double, 15, 4)
arcpy.AddField_management(out_fc, "GIS_Acres", "DOUBLE", "15", "4", "", "", "", "")
print "Step 4: Add GIS_Acres field completed."
#Step 5: Calculate GIS_Acres
arcpy.CalculateField_management(out_fc, "GIS_Acres", '!SHAPE.area@ACRES!', "PYTHON_9.3")
print "Step 5 Acres have been calculated."
# Step 4: calculate Latitude and Longitude fields.
latLonRef = "Coordinate Systems\Geographic Coordinate Systems\World\WGS 1984.prj"
featureClassesList = out_fc.split(";")
field_Type = "DOUBLE"
field_precision_1 = 12
field_scale_1 = 8
for featureClass in featureClassesList:
arcpy.AddMessage("Calculating XY coordinates for: " + featureClass)
arcpy.AddField_management(featureClass, "Latitude", field_Type, field_precision_1, field_scale_1)
arcpy.AddField_management(featureClass, "Longitude", field_Type, field_precision_1, field_scale_1)
rows = arcpy.da.UpdateCursor(featureClass, "", latLonRef)
for row in rows:
feat = row.getValue("shape")
cent = feat.centroid
# To get the polygon area: cent = feat.area
row.Latitude = cent.Y
row.Longitude = cent.X
rows.updateRow(row)
#arcpy.AddMessage(str(lat) + ", " + str(lon))
print "Step 4: Add Lat and Long complete"
print "Congratulations! You have completed adding and calculating the necessary fields to the Taxlots feature class. "
... View more
04-19-2018
03:23 PM
|
0
|
7
|
18478
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-21-2025 07:41 AM | |
| 2 | 04-18-2025 08:52 AM | |
| 1 | 04-18-2025 09:19 AM | |
| 2 | 02-14-2023 06:37 AM | |
| 1 | 07-09-2020 09:53 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|