|
DOC
|
Hey All, This toolbox started out as an experiment using Pandas in ArcGIS but I have decided to include any scripting tools that leverage numpy/pandas to this distribution. Tools in Distribution: Add Z Scores Tool: This 10.4 ArcGIS scripting tool is designed to take selected fields and create an added field with a Z score for each one of the selected fields. The script essential exports a table to a numpy array, then to a dataframe, and then uses pandas to calculate new columns with corresponding Z Scores for the fields selected. Add Grouping Fields: TBD Feedback appreciated! Parameter Outline Parameter Explanation Data Type Input_Feature_Class Dialog Reference This is the selected input feature class that will have new fields with Z scores calculated joined to it. If the fields already exist, they will be updated by the tool. ___________________ Python Reference The feature class uses the ExtendTable function used from the DA module of arcpy to join a modified structured numpy array with column-wise calculated Z scores joined to it. Feature Layer Fields_to_Standarize Dialog Reference These are the fields that will have their Z scores calculated within a Pandas data frames, converted to a structured numpy array, and then joined to the input feature class based on the object ID. The fields added will be in the form of "Zscore_"+%FieldName%. If a field of that form already exists in the table, it will be updated. ___________________ Python Reference Generally the fields are selected from the feature class to be converted into a numpy array, then into a pandas data frame, then back to structured numpy array to be joined based on the object ID. This tool assumes there is an object ID to use to join to. Multiple Value Download on Github:GitHub - Holisticnature/ArcNumerical-Tools: The goal of this script is to add new fields with standarized Z Scores for e…
... View more
03-27-2016
05:15 PM
|
0
|
4
|
3526
|
|
POST
|
At this rate we might have a link for every state. Get Data - NM RGIS NM warehouse is pretty intense. Thanks Andrew. http://rgis.unm.edu/getdata/
... View more
03-23-2016
03:05 PM
|
0
|
0
|
4202
|
|
POST
|
Hi Scott, Generally the complete street rule aligns everything to the Y axis because CityEngine has Y being up rather than Z like most modeling packages. I would suggest two things: Best option: Experiment with making edited copies of the models so that their axis is adjusted to different facings. I had to do this in sketchup for some of the models I made a few times too. Adjusting the Drawing Axes | SketchUp Knowledge Base Second Best Option: Editing the code to flip the specific models that are facing the wrong direction, but make sure those changes do not violate any assumptions elsewhere (street direction etc should not be changed). David
... View more
03-23-2016
09:35 AM
|
1
|
2
|
7705
|
|
POST
|
Hey Charles, The rule generally uses UV space 0 for sidewalks and streets (2/1 for crosswalks). That said the rule can on its own support vegetated buffers street side if the Tree_Percentages are set to 0 and the Sidewalk_Planting_Spacing are also set to zero. You are more than welcome to add your own splits, but can also used the values seen here. Can you share a screen shot of the type of buffer you are trying to make? Is it vegetated? Paved? Have street furniture? For more information: Documentation: The Official Unofficial Guide to the ESRI Complete Street Rule.pdf More recent version of rule: GitHub - Holisticnature/Complete_Street_Rule: This is an updated repository for a modified version of the ESRI Complete …
... View more
03-17-2016
09:04 AM
|
0
|
0
|
1185
|
|
POST
|
This is really cool Alan! Are you sampling the imagery below the subdivided shapes?
... View more
03-11-2016
03:02 PM
|
0
|
2
|
2277
|
|
POST
|
Hi Diego, I am not sure I understand the question. I would not recommend changing the freeway UV structure, and I will add the code complexity for the complete street rule spikes on the "Street" start shape, but the other start shapes are fairly simplistic. What is your goal for this project? David
... View more
03-04-2016
10:59 AM
|
0
|
4
|
7705
|
|
POST
|
Street UVs are discussed in the documentation here: http://cehelp.esri.com/help/index.jsp?topic=/com.procedural.cityengine.help/html/manual/is/create/uvs.html
... View more
03-04-2016
10:35 AM
|
0
|
6
|
7705
|
|
POST
|
Hi Diego, As discussed in the Complete Street Rule Documentation, on page 9 the roundabout functionality only has an island if that shape has the sidewalk_ground_cover attribute turned on (not none). For freeways, the support for complex shapes and transitions does not currently exist because of the complexities to working with exact geometry in the UV spaces those start shapes use. The documentation has a discussion on page 6. Let me know if you have any further questions, David
... View more
03-04-2016
10:22 AM
|
0
|
8
|
7705
|
|
POST
|
Interesting idea Geoff going to keep that example around. For some of the setback functions I have noticed that in practice sometimes the setback can have odd lines when the resulting block shape has large curb radii. Pedro Soares, perhaps taking the generated shapes and reducing their curb radii might help with your setbacks if you have really small setbacks (a few feet etc). I have had some success with this in the past for certain lot rules.
... View more
03-03-2016
03:01 PM
|
0
|
0
|
3824
|
|
POST
|
Excellent. That seems like progress. No data makes sense too. Perhaps giving null values a small value rather than none might help?
... View more
03-03-2016
02:09 PM
|
0
|
1
|
3370
|
|
POST
|
Hey Steve, From first glance do you think it can be an Elevation Surface settings? Are the areas in white areas of low values? David
... View more
03-03-2016
12:05 PM
|
0
|
5
|
3370
|
|
POST
|
Thanks for sharing this. I might want to modify my tools based on some of the ideas here! 😃
... View more
03-02-2016
01:46 PM
|
0
|
0
|
1690
|
|
POST
|
Hi Michael, The closest I have ever seen to a set data standard for the types of data you mentioned is FGDL mentioned above but that only gets to the statewide level (others have similar data bases for sure though). Most City Specific GIS Data is curated by local authorities that have similar needs, but minimal coordination not only in terms of a standard . A good example I have encountered open parcel data sets like PLUTO in NYC that have a full set of land use attributes, building attributes, assessed value, and a multitude of rich attributes. At the same time, there exists parcel data sets that basically only have aspects of the geometry available for use in places like Monterey County. To answer your question, the diversity of data standards available for most useful city data is context specific and is not highly standardized. There are sources of City Specific Data that are standardized like TomTom, Points of Interest Databases, and even more open sources like Open Street Map that have some level of data standardization but they are more of the exception rather than the rule. Open Street Map might have the data you are looking for, but generally it sounds like you need a combination of well attributed street centerline data, parcels, and foot prints. Those datasets do exist I know for NYC (see their data portal), but I would suggest maybe seeing what Open Street Map can do on a larger scale too. Something that will be challenging is the street width you ask for (I wish I had that for my applications as well), and this is because the general disconnect that exists between surveyors in public works and those who manage street centerline data bases. Generally, cities do not record width information, but they include functional classification and other information (TomTom has lanes for major streets) that enable you to make incredibly rough inferences (get you orders of magnitude, nothing precise by a long shot). OSM sometimes has this data I have been told, but I have never saw it in a high enough quality or at a large scale before. At the end the data, comprehensive data sets like those you want are very context specific at a national scale. While proprietary data sources have processed and collected a lot this data, easily available data requires cleaning and QAQC. It is hoped that as open data standards become more prominent that some level of coordination will start to coalesce, and also ideally down the line more and more cities will start drilling into the details of their assets a little further to get more data about things like streets. I hope this helps Michael. I am sure others on Geonet would have a similar story or know it first hand for many of them are Municipal or County GIS Managers who deal with these coordination issues daily. David
... View more
02-23-2016
09:54 AM
|
0
|
0
|
4202
|
|
POST
|
Hi JK, I understand! I specifically designed this one just to deal with data that was processed a lot or data sets whose fields don't change (so the same tool run could be used over and over for templated data). Just thought it might be a useful template for a final tool etc. In the case of making all the aliases title case, you could modify my script to instead take a list of field names, then cast them as a string (str(unicode) just in case), then use the title method mentioned earlier in the thread. It seems like you are on the right track regardless. David
... View more
02-22-2016
12:17 PM
|
1
|
0
|
1690
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-07-2024 02:16 PM | |
| 1 | 05-15-2022 12:21 PM | |
| 1 | 08-27-2016 11:03 AM | |
| 1 | 12-19-2021 01:10 PM | |
| 1 | 06-12-2020 03:29 PM |