|
POST
|
Hey Cameron, I have not tested since 1.2-1.3. I am not sure if it will work in 2. I hope this help. David
... View more
06-08-2016
04:02 PM
|
1
|
1
|
4143
|
|
IDEA
|
I think the best of both worlds would actually get CE Jython API to play nice with arcpy or have an arcpy plug in. I think this might be a quick way to seamlessly allow workflow integration from ArcGIS to CE and potentially back to ArcGIS.
... View more
06-08-2016
03:45 PM
|
1
|
0
|
903
|
|
IDEA
|
I think the best of both worlds would actually get CE Jython API to play nice with arcpy or have an arcpy plug in. I think this might be a quick way to seamlessly allow workflow integration from ArcGIS to CE and potentially back to ArcGIS.
... View more
06-08-2016
03:45 PM
|
1
|
0
|
570
|
|
POST
|
Hey Jessica, I usually use this tool to accomplish this task. It creates A LOT of polygons, but it gets the job done. The other approaches suggested will help you get rid of overlap and get similar answers but this one does returns shapes. https://www.arcgis.com/home/item.html?id=1dd4a6832b3d40b494dbf8521cc5134c I actually just used it to create this map of willingness to travel overlap in Florida. David
... View more
06-07-2016
06:26 PM
|
0
|
0
|
6932
|
|
DOC
|
It is buried in the thread, but some main methods are: 1. Falsy behavior: (More General) if *variable*: return "Variable is not None and thus True" else: return "Variable is None or some other falsy object" 2. Is operator: Evaluates to true if the variables on either side of the operator point to the same object and false otherwise. if *variable* is None: (More specific) return "Variable is None and thus True" else: return "Variable is Not None" 3. isinstance() function: (Also more specific) if isinstance(*variable*,None): return "Variable is None and thus True" else: return "Variable is Not None" There are other types of "None" types in other languages, being called everything from Nil, Null, None, NaN, and in numpy np.NaN. Numpy NaNs usually require specific numpy operators to find np.NaNs. There are other methods mentioned in the thread, this is just a small sample.
... View more
05-22-2016
09:45 AM
|
0
|
0
|
5083
|
|
DOC
|
I thought this was an awesome thread. I referred to this thread recently as what happens when a geonet question transitions to open bar. Great name for it Curtis Price
... View more
05-21-2016
09:57 PM
|
0
|
0
|
5083
|
|
POST
|
Curtis, actually renaming the tool name (internal, not the label) is how I got it to work in model builder again. Does the label and name need to start with a different letter? Thanks this does seem like something I should check more. I currently cannot save to 10.3 still even with the changes, but I have not tried changing the labels or altering the first letter.
... View more
05-21-2016
09:54 PM
|
2
|
1
|
1984
|
|
POST
|
I know this is a resolved thread, but I recently had this problem too. When ever I try to back save my 10.4 toolbox, 3 of the 4 tools I had disappear. Do you have any advice on moving the tools to a new TBX?
... View more
05-21-2016
03:25 PM
|
0
|
4
|
1984
|
|
POST
|
Hey Micah, This is actually a great question because it gets to an important aspect of customization of the Complete Street Rule which is key functions that are pervasive through out the rule and its general function. Specifically, the thematics for the rule tie into a color functions that is located at the semi-top level of ever mode's area of influence (generally). Some rules have them embedded in them directly (Bikelane is a good example because it is called on the sidewalk too. The Attribute "Display_Thematics" drives this functionality in the rule. For example if you choose impervious surface area, the "_Mode Classifier" functions will make all vegetation blue, and all other street objects white. If you choose "Bicycle Highlight", all bike infrastructure is emphasized by the chosen color in the rule. In order to have edits use this functionality you need to use the color functions similar to the example here. Other areas that require modification might include reporting aspects of the rule like cut and fill, paint area, usage, preference (depending on intention), and other reports. That said, the textured object you insert would need to have the same texture source I think to match, but I have not tried to get inserted objects to match exactly in the rule so tell me if this helps. The fact that it is matching on one and not the other though suggests this might be a normals issue, or perhaps an orientation issue. It might be that one side needs a different copy of the OBJ with a different orientation. I have ran into this problem before I believe too at some point... David
... View more
05-18-2016
01:14 PM
|
1
|
0
|
976
|
|
POST
|
Good to know about np.NaNs for that. I have been running into issues with that at work recently. NP methods for scrubbing NaNs seem best, but I have found masked arrays to be annoying in practice. Pandas seems to handle it a little better on the surface. Do you have any good articles on np.NaN types specifically Dan?
... View more
05-05-2016
12:13 PM
|
0
|
0
|
6843
|
|
POST
|
Only thing I might add is this leverages Falsy behavior in python. 2.3.1 Truth Value Testing Something to keep in mind is that 0 can also be Falsy along with a few other values (empty strings etc). Using if value: (falsy) is None is not None or even isintance() built in is what I see over and over again. 😃
... View more
05-05-2016
11:32 AM
|
0
|
2
|
6842
|
|
DOC
|
Thanks Adrian! They still need a little more work (as I mentioned to you before haha), but they work from start to finish. 😃 I will actually be presenting at the UC about the project application in CA.
... View more
04-28-2016
02:57 PM
|
0
|
0
|
5277
|
|
POST
|
Hey Adrian, I was thinking about making a post about the scripts in question it, and I don't want to hijack this one. I will tag you when I do. It has been a low priority because I got my temporary fixes to work on the projects I needed it on, but I would appreciate the input. David
... View more
04-28-2016
12:06 PM
|
0
|
0
|
1780
|
|
POST
|
I have a related question to spatial references. I usually reference the incoming feature class or use the specific factory code for a projection. Examples:
OutPut = arcpy.CreateFeatureclass_management(workspace, tempOutName, "POLYLINE", template=inFeatureClass,
spatial_reference=inFeatureClass)
# or
webMercatorAux = arcpy.SpatialReference(3857)
I was curious while reading this you could use either of these approaches? Is there a stability advantage? (One of my projects has some cursor instability issues ATM and I am not sure what is causing it).
... View more
04-28-2016
09:46 AM
|
0
|
2
|
1780
|
|
POST
|
Hey Wendell, At the moment, all intersections are sent to asphalt, so they don't support turn restrictions like this one out of the box. Something you can do is draw a short street segment across the street and create a new median across it. I realize this is not an elegant solution, but at the moment setting up intersection control parameters are something I want to experiment with down the line...Orientation/smooth transitions is hard problem to solve with these shapes unfortunately. David
... View more
04-21-2016
09:38 AM
|
0
|
5
|
11412
|
| 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 |