Is this possible?
I would like to create a self service map generator. There will be basically 2 paths that the user can go, interior or exterior maps, and features (door points, fire alarms, bike racks, etc) can be chosen to be turned on and shown in each map. This data all lives in an ever evolving SDE. And my idea is that all the parameters the user picks will be building an ArcPy script that is manipulating an ArcPro project.
I’m laying out the base plan now, and would like to gather some ideas/input before starting off.
Here’s an example of what I want this service to do, and my initial thoughts of going about it:
Basically the user selections from the parameters will build an ArcPy script
- I will have 2 ArcPro Map projects, one for Interior, one for Exterior
- The user will select if they’d like to see the interior/exterior.
- If it’s interior; the interior ArcPro project has a map series created from every floor of every building from the “floor” layer (field called bldgFlr). Therefore when the user selects a specific bldFlr, the ArcPy script will generate a PDF of only that specific building floor.
- If its exterior; the exterior ArcPro project will have a basemap, and the extents of the mapframe will be set by a polygon in the buildingExtents layer.
- The user will select if they’d like to see the interior/exterior.
- Then there will be a parameter the user will then be able to pick from a big list of different layers on Both ArcPro projects (fire alarms, door points, trees, etc), and multiple can be shown
- The layers on the map are turned off by default. When the user selects the layer, there will be an ArcPy command to turn the layer on, therefore the chosen layers will be in the exported PDF map.
- Then the user can paste a file path as to where they’d like their map to output and their desired file name.
Is this something that’s possible?
My biggest question is how to set up parameters where there is a drop down list of every unique attribute in a field (for the building floor, or building user parameter selection).
Then the next biggest question is getting the ArcPy script formatting to output correctly when building the script from all the separate parameters.
Thanks for any direction/ideas that you all might have!