Convert SPH Rules created in Style Editor into objects to edit and show in drawings

Convert SPH Rules created in Style Editor into objects to edit and show in drawings

chrcamilo
Contributor Contributor
1,333 Views
11 Replies
Message 1 of 12

Convert SPH Rules created in Style Editor into objects to edit and show in drawings

chrcamilo
Contributor
Contributor

Hello Forum,

 

So I was able to get lots of help on my last post from @Pointdump regarding my Tree Inventory. Now, I was able to create a couple Rules that show the Minimum Tree Protection Zone (MTPZ) and the Critical Root Zone (CRZ). What I now need is to adjust the objects shown in those Rules. I need to do the following:

1. The circles in the Rules need to merge when they overlap

2. The labels appears for some circles but not for others. Why is this happening?

3. There are three classifications for each tree. a. Remove (red, if 25% or more of CRZ is affected); b. Protect/Injure (Yellow, if 24% or less will be impacted); c. Retain (green, roots not impacted). These trees need to be classified depending on how the construction affects it.

 

What I have in mind is to create a polygon that shows the area of construction, and the trees that are inside this polygon will then be classified. For this, I would need the circles from the Rules to be objects on the drawing. Is there any way to convert the Style Rules into objects in the drawing to do what is specified above? Or is there a way to do this using Map 3D capabilities?

 

The images attached, the one showing style manager shows the Rules I have placed so far, but even though the feature Label calls for text, There is no text. I can also show one Rule at a time, not multiple.

chrcamilo_0-1684441892273.png

This next image shows what the final product should look like. You can see the trees inside the blue boundary are red, the ones affected are yellow, and the unaffected are green. SHP file attached for trees and information.

chrcamilo_1-1684442004140.png

Thank you for your help everyone!

 

 

0 Likes
1,334 Views
11 Replies
Replies (11)
Message 2 of 12

Pointdump
Consultant
Consultant

Hi Christian,
I don't see your shapefile attached.
In your first screen shot you need to click the ellipsis to the right of "(default)" and use an expression to set each Thematic Rule.
As for the buffer problems, I don't have much experience with those.
Dave

 

chrcamilo_2.png

 

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2025
0 Likes
Message 3 of 12

ChicagoLooper
Mentor
Mentor

Hi @chrcamilo 

 

Depending on your shapefile's database file, or the file with the extension dbf, you can create circles that are 'sized' automatically from the data itself. The data would be something like, or similar to RADIUS or ROOTBALL. Doing it this way might eliminate the tedious work of sizing those circles manually. Can you share your data?

 

Without looking at your data, I'd say yes, it' can be done. (That might change after viewing your data.)

 

At first glance, though, I'm thinking FEATURE BUFFER and not just sizing the circles in the Style Editor. Feature buffer is where you indicate each tree's buffer (the buffer is the radius of the tree spread). Yes, each buffer analysis will give you the option to merge the overlapping circles provided they have same buffer value. You can only input one buffer at a time so it'll require you to perform a separate analyses for each radius or spread value. You can, however, create multiple buffers, where each buffer has a different tree spread e.g., Buffer 10, Buffer 20, Buffer 25, etc., etc.  

 

After completing Feature Buffer, you can perform FEATURE OVERLAY. This analysis can look at the new buffer shape (the new shapes were created using the feature described in the paragraph above) then analyze to see whether the new shape, or tree spread, will interfere with the building footprint.

 

Here's a quick and crude illustration. I'm sure it can be fine tuned based on your requirements and your actual data.

 

Notes:

  1. Without sharing your data, there's no definitive way to answer your question and give you a play-by-play explanation outlining the procedure. Can you share your data?
  2. All objects shown in the image beloware shapefiles. AutoCAD entities don't have the horsepower needed to handle this kind of analysis. The red overlapping circle thingy was created by Map3D and connect where they overlap and are separate where they don't. 
  3. The image of the Style Editor you uploaded in your opening post isn't equipped to perform what you want to achieve. The style editor allows you to customize the appearance, such as color, size, shape, rotation, line thickness and labels. It can't perform the analysis you want.
  4. Can you share your data?

101.PNG

 

 

Chicagolooper

EESignature

0 Likes
Message 4 of 12

chrcamilo
Contributor
Contributor

The files are attached now. I will look into more detail at this FEATURE BUFFER option, but any help in detail would be helpful thank you.

0 Likes
Message 5 of 12

ChicagoLooper
Mentor
Mentor

 

Thanks for sharing your TPP and tree inventory data.

 

Your tree inventory is your best bet going forward. The TPP shapefile isn't geospatially accurate. I suggest you recreate your tree points (TPP shapefile) again in Global Mapper using the existing tree inventory csv file. The TPP was projected incorrectly to UTM84-19N, it should've been Zone 17N. New Brunswick is in Zone 19, Ottawa in Zone 18 and your site is in southern Ontario which is Zone 17. Using the zone 19 for your trees will put them in the Atlantic.

 

If you want to perform Feature Overlay analysis in M3D, then geospatial accuracy is a must. This is how to recreate the tree points accurately in shapefile format using global Mapper.

 

  1. Open a brand new map in Global Mapper. Assign UTM84, Zone 17N, units meter.Image-1Image-1
  2.  Go to File=>Open Data File=>Browse to and select TreeInventory_IM21406074_FDGB_v1_EDIT_DD2.csv=>Open=>follow the options shown below. BTW, the number 17 in the Fields to Skip.....section is telling GM to 'skip' the first 17 columns before reading the east/north coordinates. Those columns, the first 17, are not deleted from the file, they're just ignored (the csv is read from left to right and from top to bottom) when looking for coordinates. Image-2Image-2
  3. Input the the projection the tree coordinates listed in the csv are using. The tree points will appear in the map area.                                                                                                                   Image-3Image-3
  4. If you want to view the data attributes in tabular format that were captured from the csv file, do this.Image-4Image-4
  5.   Pan so all of the tree points are in the center of the map area then add an image to the map. Image-5Image-5
  6. Click-and-drag to move the Layers on the left panel, Control Center, so the points are on top of the image.Image-6Image-6
  7.  Finally, export the tree LAYER to shapefile format. The projection file (prj) that's created during export will adopt the same projection currently assigned to GM's map area, which is UTM84-17-meters.Image-7Image-7

 

You may now add the newly created shapefile to Map3D using a DATA CONNECTION. Don't use MapImport--if you do you won't be able to use M3D's analytical toolset. Be sure to assign UTM84-17N to modelspace beforehand. After the shapefile has been added, turn on Bing Map Hybrid to compare your trees against the background imagery. 

 

Once you've successfully created an accurate tree inventory shapefile, you're on your way to using Feature Overlay.

 

 

 

 

Chicagolooper

EESignature

Message 6 of 12

parkr4st
Advisor
Advisor

in Map 3d open a new map

assign the CS UTM84-17N

draw a line

mapexport to a .shp

in windows explorer copy the .prj from that .shp group

delete the UTM84-19N .prj in the tree inventory .shp group

paste in the UTM84-17N .prj and rename it the same as the tree inventory .shp group

put the tree inventory .shp into the map   

 

attached .zip is the result

 

 

 

Message 7 of 12

ChicagoLooper
Mentor
Mentor

@parkr4st 

Ah yes! Good one. You got me thinking.........another way to do it is like this:

 

1-Edit the shapefile's coordinate system to the correct one.1-Edit the shapefile's coordinate system to the correct one.2-the result with Bing aerial background.2-the result with Bing aerial background.

 

 

Chicagolooper

EESignature

Message 8 of 12

parkr4st
Advisor
Advisor

does the attached provide data as needed for the buffer of critical root zone = 4? 

0 Likes
Message 9 of 12

ChicagoLooper
Mentor
Mentor

Hi @parkr4st 

Your uploaded CritiRoot_4_Indiv.sd in post #8 is geospatially accurate against UTM84-17N but it doesn't have any data. Both the orange points and the csv have 1146 rows of data, the table view of the blue points have 960.

405.PNG

 

 

Chicagolooper

EESignature

0 Likes
Message 10 of 12

ChicagoLooper
Mentor
Mentor

I took a second look and the TreeInventory.csv uploaded in post #4. In this presentation, shapefile (or SDF) is more appropriate as opposed to vanilla AutoCAD blocks. The attributes (or columns) acquired from the csv drive the data.....and the data drives the map presentation.

 

Here's an example where you can present the data using shapefile. The tree points are small green circles (arbitrary circle size such as 1) and the critical root zone as yellow circles where the diameter of the root ball is taken directly from the shapefile's database file (dbf).  Refer to image-1.

Image-1Image-1

 

 

Using the attribute name Critical_R, the tabular data is used to create the Width and Height of the root ball at each individual tree location. Refer to image-2.

Image-2Image-2 

 

Note: To perform Feature Overlay analysis there must be two or more data features, e.g., Trees, Buildings, Roads, to compare one against the other. Since this example only contains a tree feature, no analytical comparison is made. The features used in Feature Overlay can be either shp or SDF, either will suffice. Feature Overlay is able to look at how one feature intersects, or overlays, with another.

 

Chicagolooper

EESignature

Message 11 of 12

parkr4st
Advisor
Advisor

chrcamilo

 

check the attached data against your area polygons. it is trees with 4 Meter Crit Root Zone

is the overlap correct?

Can you post the area polygons mentioned in the oringinal post?

 

Message 12 of 12

chrcamilo
Contributor
Contributor

Apologies for the delay everyone. I will get back to all of you as soon as I have some technical issues solved. 

1. Yes, I need to adjust the whole drawing to 17N

2. Eventually, some of the data from the the points need to be adjusted so that they more accurately align with the image tree location

3. I understand that the Critic_R circles need to be checked against my drawing polygons. As soon as I have access to the drawing, I will upload the polygon.

 

Thank you all for your help and patience!

 

Christian

0 Likes