IDEA
|
When cloning a hub, you have the ability to change the name, however the accompanying Core/Content group does not change name. It seems to stay with the original Hub name with an added 1. I think when cloning a Hub there should be a wizard to ensure the new Hub, core and content groups and URL are all changed together.
... View more
06-23-2021
12:55 PM
|
3
|
0
|
641
|
POST
|
When opening the map with the beta viewer it displays the map with the orginal route layer, but when opening in the older 3.x version, it opens with the my son and I created. The screenshot I provided you was the beta viewer, however I selected the "open existing map" on the left side pane. The map I selected to open and the map that actually loaded were not the same. Here is the link. https://arcg.is/1q4nXS
... View more
06-16-2020
05:50 AM
|
0
|
1
|
1860
|
POST
|
On the left is the map I selected, however it opens with the the original route layer symbology on the right.
... View more
06-15-2020
06:06 PM
|
0
|
4
|
1860
|
POST
|
Hi Owen, I am getting a similar result here. When I select "Open existing map" I see all the maps my son has in his content. The image for each map is the map we stylized ourselves, but when the map opens it has all of the components of the route layer included. Is there a workaorund for this?
... View more
06-15-2020
06:03 PM
|
0
|
0
|
1860
|
POST
|
Thanks Shane, Earlier today I added the webmap into pro and exported the 2 layers I wanted, then used that data in another webmap, which seemed to work. When I called tech support in Canada they seemed to think it could be a bug. They told me there have been some issues with the "edit map" feature in the new story app.
... View more
06-15-2020
04:44 PM
|
0
|
1
|
1860
|
POST
|
My son and I are working on a story map documenting his hockey season. I am having an issue with a certain aspect though. I created a web map with directions from one point to another. The route layer created has 4 sublayers (Stops, DirectionPoints, DirectionLines, and RouteInfo) I have turned off all except Stops and RouteInfo. I have attached a picture of the web map we created. When I try to add this map (yes I saved it) into the story map it goes back to the default map with all the original sublayers selected and the original styling. (Also attached - StoryMap) When I add the map in, there is the option on the left hand pane to edit the map before inserting it, however this brings me bag to the web map I created with (some layers turned off, route colour/size changed). Long story short, the map I am able to select/edit is not the map being inserted into the story map.
... View more
06-12-2020
02:54 PM
|
0
|
10
|
2308
|
POST
|
Thanks. I also just today came across this, which may do exactly what I am looking for. GeoRover® Software - FlexRT | Products
... View more
03-10-2017
09:49 AM
|
2
|
0
|
1787
|
POST
|
I am trying to figure out how convert the following: .shp to DRW (Falconview) .shp (point) to LPT (Falconview) I came across a conversation about some asking how to go from DRW to .shp, but I am looking for the opposite. Has anyone ever done this? Is it possible? Thank you
... View more
03-03-2017
07:14 AM
|
0
|
0
|
1158
|
POST
|
Good Morning, I am looking at ways to convert .shp files to specific Falconview file formats. The 2 conversions are: .shp to DRW .shp (point) to LPT Is anyone aware of any conversion tools to accomplish this conversion.
... View more
03-02-2017
07:11 AM
|
0
|
2
|
3875
|
POST
|
Thank you guys, much appreciated. The I jumped the gun on what I had thought the project will be. I will however try to implement these scripts into tools later on. Thanks you for your time.
... View more
06-05-2015
10:20 AM
|
0
|
0
|
801
|
POST
|
Hello, I am still somewhat raw with python, although I am learning and trying to develop some tools. What I do need help with is a script tool which creates an index of rasters. It was created by someone who no longer works here anymore. He was fairly advanced with python and he created a wide variety of script tools. The tool in question does almost exactly what I need, however I would like it to avoid certain file extensions (.OVR, .TOC). I am just unsure of where to place a statement in the code to have these file types ignored. Hopefully someone can help out. Here is the code #------------------------------------------------------------------------------ # Description: # Generate footprints for all raster products within a directory. Can # optionally perform a recursive traverse to find all rasters within the # tree. # # Produces a single shapefile output with attributes to identify each raster # dataset found. # # ArcGIS Version: 10.0 # Python Version: 2.6 #------------------------------------------------------------------------------ import arcpy import datetime import os import sys def message(msg, severity=0): """Notify the user of some event with a message. Arcpy does not print messages to command line, and print statements do not appear within the Arc runtime. This method can act as a global notification system for both environments. """ # print a message to the command line print msg # notify the user within the arc environment # splits a message on \n, making a notification for each line in a # multiline string try: for string in msg.split('\n'): # add message under appropriate severity if severity == 0: arcpy.AddMessage(string) elif severity == 1: arcpy.AddWarning(string) elif severity == 2: arcpy.AddError(string) except: # ignore errors pass def listRasters(rasterTypes = "ALL"): """Generate a list of rasters found within a workspace.""" # keep a list of all files for all types foundFiles = [] if rasterTypes == "ALL": # just gather all file types foundFiles = arcpy.ListRasters("*", rasterTypes) else: # arcpy will not let us specify multiple file types to search for, so # we replicate that ability by appending the file lists for each # specified file type. fileTypes = rasterTypes.split(';') for fileType in fileTypes: foundFiles.extend(arcpy.ListRasters("*", fileType)) # return all discovered files return foundFiles def processRasterList(shapefile, rasterList): """Process a list of rasters into coordinates and attributes.""" # make sure there is some data to be processed # if no data is found, notify the user and move on if not len(rasterList): message("No rasters found.") return # notify the user work is starting message("Processing %d rasters." % len(rasterList)) arcpy.SetProgressor("step", "Processing rasters...", 0, len(rasterList)) # keep track of if we find any projected data projDataFound = False for rasterStr in rasterList: # inform the user which raster is being processed arcpy.SetProgressorLabel("Processing %s" % rasterStr) # Wrap the whole thing in a try block to catch possible problems # Problems are ignored, and the user is notified that a raster was # not processed. try: # make a raster object raster = arcpy.Raster(rasterStr) except: message("Processing raster failed: %s" % rasterStr, 1) message(arcpy.GetMessages(2), 1) # abondon this raster and move on continue # notify the user if projected data is found (prefer geographic) if raster.spatialReference.type == "Unknown": projDataFound = True # generate an array to hold each corner of the raster coords = arcpy.Array() # add each corner of the raster to the array coords.add(raster.extent.lowerLeft) coords.add(raster.extent.upperLeft) coords.add(raster.extent.upperRight) coords.add(raster.extent.lowerRight) # Polygons require the start coordinate to match the end coordinate coords.add(raster.extent.lowerLeft) # make a polygon from the points array rasterPolygon = arcpy.Polygon(coords, raster.spatialReference) try: # use an insert cursor to create new records for this raster fcRows = arcpy.InsertCursor(shapefile, ) # make a new row row = fcRows.newRow() # set all the attributes row.shape = rasterPolygon row.path = raster.path row.filename = raster.name row.type = raster.format row.process_d = str(datetime.date.today()) row.num_rows = raster.height row.num_cols = raster.width row.xmin = raster.extent.XMin row.xmax = raster.extent.XMax row.ymin = raster.extent.YMin row.ymax = raster.extent.YMax row.Projection = raster.spatialReference.name row.datum = raster.spatialReference.spheroidName row.epsg_code = raster.spatialReference.factoryCode row.num_bands = raster.bandCount row.pixelw = raster.meanCellWidth row.pixelh = raster.meanCellHeight row.bit_depth = int(raster.pixelType[1:]) row.comptype = raster.compressionType # insert the row into the featureclass fcRows.insertRow(row) # free up some memory del row del fcRows del coords except: message("Cataloging raster failed: %s" % rasterStr, 1) message(arcpy.GetMessages(2), 1) # update the progress bar position arcpy.SetProgressorPosition() # notify the user if any unprojected data was found if projDataFound: message("Unprojected data found. Check outputs.", 1) # reset the progress bar to normal arcpy.SetProgressorLabel("Looking for rasters...") arcpy.ResetProgressor() def create_featureclass(fcPath, inMemory=False): """Create a shapefile to store all the data that is collected from a raster list. Also adds all fields required for metadata about each raster. """ # split the path into its component parts (dirName, fileName) = os.path.split(fcPath) # make all outputs WGS84 Geographic spatialReference = os.path.join(arcpy.GetInstallInfo()["InstallDir"], r"Coordinate Systems\Geographic Coordinate Systems\World\WGS 1984.prj") # get a path to the template shapefile tmplShp = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), '..', 'data', 'raster_index_tmpl.shp')) # check if creating feature in memory if inMemory == "true": dirName = "in_memory" fileName = "memoryindex" # create the featureclass arcpy.CreateFeatureclass_management(dirName, fileName, "POLYGON", tmplShp, "DISABLED", "DISABLED", spatialReference) return os.path.join(dirName, fileName) ## fields come from the template shapefile, this is just for reference ## # add appropriate fields to the featureclass ## arcpy.AddField_management(fcPath, 'Path', 'TEXT', 254) ## arcpy.AddField_management(fcPath, 'Filename', 'TEXT', 254) ## arcpy.AddField_management(fcPath, 'Type', 'TEXT', 16) ## arcpy.AddField_management(fcPath, 'Process_D', 'DATE') ## arcpy.AddField_management(fcPath, 'NUM_Rows', 'LONG') ## arcpy.AddField_management(fcPath, 'NUM_Cols', 'LONG') ## arcpy.AddField_management(fcPath, 'XMin', 'FLOAT', 15, 10) ## arcpy.AddField_management(fcPath, 'XMax', 'FLOAT', 15, 10) ## arcpy.AddField_management(fcPath, 'YMin', 'FLOAT', 15, 10) ## arcpy.AddField_management(fcPath, 'YMax', 'FLOAT', 15, 10) ## arcpy.AddField_management(fcPath, 'Projection', 'TEXT', 50) ## arcpy.AddField_management(fcPath, 'Datum', 'TEXT', 50) ## arcpy.AddField_management(fcPath, 'EPSG_Code', 'TEXT', 6) ## arcpy.AddField_management(fcPath, 'NUM_Bands', 'SHORT') ## arcpy.AddField_management(fcPath, 'PixelW', 'FLOAT', 15, 10) ## arcpy.AddField_management(fcPath, 'PixelH', 'FLOAT', 15, 10) ## arcpy.AddField_management(fcPath, 'BIT_DEPTH', 'SHORT') ## arcpy.AddField_management(fcPath, 'Compression', 'TEXT', 20) def index_rasters(inputWorkspace, outputFeatureClass, processRecursive, inMemoryProcessing, fileTypes = ""): """Process all rasters within a given directory.""" # notify if using in memory processing if inMemoryProcessing == "true": message("Using in memory processing") # support the ability to index multiple directories at the same time, either # as recursive or not. inputWorkspaces = inputWorkspace.split(';') for inWS in inputWorkspaces: # arc wraps directories in quotes for fun inWS = inWS.replace("'", "") # set the workspace to be the base directory from the user arcpy.env.workspace = inWS # if the user doesn't want to process only certain files, set "ALL" if fileTypes == "": fileTypes = "ALL" try: # create a featureclass to hold all raster metadata if len(inputWorkspaces) == 1 or not arcpy.Exists(outputFeatureClass): featureData = create_featureclass(outputFeatureClass, inMemoryProcessing) # Determine if recursive. No need to walk if not doing a recursive # list. if processRecursive == 'false': message("Gathering raster list from %s" % arcpy.env.workspace) rasterList = listRasters(fileTypes) processRasterList(featureData, rasterList) else: message("Recursive processing started.") for root, dirs, files in os.walk(inWS): # have to do this once for the top level folder arcpy.env.workspace = root message("Gathering raster list from %s" % arcpy.env.workspace) rasterList = listRasters(fileTypes) processRasterList(featureData, rasterList) ## for subdir in dirs: ## arcpy.env.workspace = os.path.join(root, subdir) ## message("Gathering raster list from %s" % arcpy.env.workspace) ## rasterList = listRasters(fileTypes) ## processRasterList(outputFeatureClass, rasterList) if inMemoryProcessing == "true": # if processing was done in memory, write items to disk arcpy.Merge_management(featureData, outputFeatureClass) # delete the in memory feature class arcpy.Delete_management(featureData) except arcpy.ExecuteError: print arcpy.GetMessages(2) arcpy.AddError(arcpy.GetMessages(2)) except Exception as e: print e.args[0] arcpy.AddError(e.args[0]) # Test how the script is running. This allows it to run from multiple # environments, or to be included as a module into another script without # destroying environments. if __name__ == '__main__': # gather all arguments that have been passed in argv = tuple(arcpy.GetParameterAsText(i) for i in xrange(arcpy.GetArgumentCount())) index_rasters(*argv)
... View more
06-05-2015
10:18 AM
|
0
|
2
|
3885
|
POST
|
Hello, I am looking for a way to utlize an AOI in order to search for data. I deally I would like to eliminate the need to search through folders and sub folders for the data I am looking for in a specific area. I would use the AOI to extract only the data within it. I know there is a data extraction tool within the server tools toolbox, but that only extracts data from within the table of contents. I am looking to create something that will look at an actual drive on the network and create a GDB or something. Any thoughts?
... View more
06-02-2015
08:23 AM
|
0
|
3
|
3904
|
POST
|
Yes, this is something I am hoping for as well. My co-worker and I are developing an application which requires users to add points to the map at a precise location.
... View more
03-13-2015
05:50 PM
|
0
|
1
|
768
|
POST
|
Hello, I am wondering if anyone has a widget that allows a user to add a point based on a coordinate, specifically MGRS. Rather than just looking at the coordinates at the corner of the app, I would like to provide the user the ability to type in the coordinate and then place the point at that exact location. Any assistance would be of value, thank you
... View more
02-25-2015
07:49 AM
|
0
|
1
|
4082
|
POST
|
Hello Robert, Myself and a colleague are producing a web app, it is pretty basic, but there is one piece of functionality that seems to be missing with the Edit Widget, is the ability the add points using absolute x,y. Have you come across any custom built widgets for this?
... View more
02-18-2015
07:18 AM
|
1
|
1
|
738
|
Title | Kudos | Posted |
---|---|---|
3 | 06-23-2021 12:55 PM | |
2 | 03-10-2017 09:49 AM | |
1 | 02-18-2015 07:18 AM |
Online Status |
Offline
|
Date Last Visited |
01-10-2022
11:13 AM
|