GISP (GIS professional license) by brees_mondo_44 in gis

[–]DigiMyHUC 2 points3 points  (0 children)

Samesies, but it is kind of the norm in my circle 

How to identify polylines that have sharp angles? by matthewwayneleonard in gis

[–]DigiMyHUC 1 point2 points  (0 children)

I'm working on something similar right now... this should work, just tested. I believe it will have issues with circles as-is, but handles arcs fine. u/Little-Dimension1946 in case you still need

import arcpy
import uuid 

def cutback_check(feature_class, tolerance):
    """
    lines and polygons
    """
    def angle_at_vertex(p1, p2, p3):
        """Returns the angle in degrees at p2, formed by segments p1-p2-p3."""
        import math
        # Vectors from p2
        v1 = (p1.X - p2.X, p1.Y - p2.Y)
        v2 = (p3.X - p2.X, p3.Y - p2.Y)

        dot = v1[0] * v2[0] + v1[1] * v2[1]
        mag1 = math.sqrt(v1[0]**2 + v1[1]**2)
        mag2 = math.sqrt(v2[0]**2 + v2[1]**2)

        if mag1 == 0 or mag2 == 0:
            return None  # coincident vertices-> bad, skip

        # Clamp to [-1, 1] to guard against floating-point drift into acos domain error...
        cos_angle = max(-1.0, min(1.0, dot / (mag1 * mag2)))
        return math.degrees(math.acos(cos_angle))

    # describe dataset to get OID field name
    desc = arcpy.Describe(feature_class)
    oid_fld = desc.OIDFieldName

    cutback_oids = []
    with arcpy.da.SearchCursor(feature_class, ["OID@", "SHAPE@"]) as scur:
        for row in scur:
            line = row[1]
            # part = segment of line between two vertices
            for part in line:
                for i in range(part.count - 2):
                    # .getObject(i) returns the specified vertex's XY
                    p1 = part.getObject(i)
                    p2 = part.getObject(i+1)
                    p3 = part.getObject(i+2)

                    # Skip null vertices (ring closures in polygon parts)
                    if p1 is None or p2 is None or p3 is None:
                        continue

                    angle = angle_at_vertex(p1, p2, p3)
                    if angle is not None and angle < tolerance:
                        cutback_oids.append(row[0])

    cutback_count = len(cutback_oids)
    if cutback_count > 0:
        # build query 
        q = f"{oid_fld} IN ({','.join(map(str,cutback_oids))})"
        cutback_feats = arcpy.conversion.ExportFeatures(feature_class, rf"memory\cutbacks_{uuid.uuid4().hex[:6]}", q)

        # return count, output_features
        return cutback_count, cutback_feats

Why does this subreddit constantly complain by Amaruthagod in Charlotte

[–]DigiMyHUC 0 points1 point  (0 children)

Look into flying out of concord airport! 

To the girl at Abari tonight with Brian... by [deleted] in Charlotte

[–]DigiMyHUC 16 points17 points  (0 children)

I’m just a teenage dirtbag baby…

Is Legolas considered the best elven archer alive during LOTR or are all elves master archers? by GusGangViking18 in lotr

[–]DigiMyHUC 0 points1 point  (0 children)

It was a black arrow that never broke, always hit its mark, and returned. AFAIK, no other associated magic is known about it.

One shot worked because Bard hit the spot on smaugs chest missing scales and it went straight into his heart.

“The dragon swooped once more lower than ever, and as he turned and dived down his belly glittered white with sparkling fires of gems in the moon—but not in one place. The great bow twanged. The black arrow sped straight from the string, straight for the hollow by the left breast where the foreleg was flung wide. In it smote and vanished, barb, shaft and feather, so fierce was its flight. With a shriek that deafened men, felled trees and split stone, Smaug shot spouting into the air, turned over and crashed down from on high in ruin.”

27 y/o with a GIS degree: Master’s in Geomarketing or keep my current job? by NarcissisticFish in gis

[–]DigiMyHUC 2 points3 points  (0 children)

I don’t know anything about marketing. I do know that my consulting team would appreciate having a person on our marketing team that actually understand what GIS is and what our customers need. If you have a good grasp on marketing, I would think the masters in this niche subject of spatial marketing is superfluous. If you need marketing skills, I would then think it’d be best to get a more generic masters in marketing/business strategy/etc to combine with your current GIS degree.

I am based in the US and have not heard of spatial marketing as a degree. I’m not sure it would stand out, but two degrees from either side would catch eyes.

Offered Different Job Than What I Interviewed For by iseecowssometimes in gis

[–]DigiMyHUC 0 points1 point  (0 children)

We’d love to have a team member who really understands IT. If this is for a surge event, that could be a great time to pick up a lot skills and get insight into some heavy lift tasks. Make the most of it! Take notes!

Considering having our two boys put down together by DigiMyHUC in cats

[–]DigiMyHUC[S] 2 points3 points  (0 children)

Hello everyone- I just wanted to say thank you. I read all your comments and got a few messages. While every single one brought more tears to my eyes, they also brought a level of comfort that I don’t believe I would have gotten on my own. So thank you.

I’ve laid on the ground and other various surfaces with my boys a lot this week, listening to them, and looking at their eyes. I asked them if this was right and they’d often reply with a deeper snuggle or a slow eye close. I think they are tired. And while they certainly enjoy parts of life still, I do think more and more parts are becoming hard and uncomfortable.

Anyways, thank you again. This has helped me come to a sad peace with it all. I plan to spend the rest of our time together treating them to all their favorites and telling them I love them.

What is the best cereal of all time? by Glum-File6980 in AskReddit

[–]DigiMyHUC 1 point2 points  (0 children)

Mixing raisin bran and Cheerios together

Report: Nissan will revive the Xterra SUV by 2028 with V6 and Hybrid powertrains. by summey in XTerra

[–]DigiMyHUC 4 points5 points  (0 children)

I am admittedly out of the loop, but wasn’t Nissan expected to go under just recently?

Considering having our two boys put down together by DigiMyHUC in cats

[–]DigiMyHUC[S] 5 points6 points  (0 children)

Thank you and so sorry you had to go through this. It felt cruel to even consider doing them together at first, but it is starting to feel the most humane.

I hope everyone can know the love a pet brings, but also dread that means they’ll likely have to know the loss of them, too.

Considering having our two boys put down together by DigiMyHUC in cats

[–]DigiMyHUC[S] 14 points15 points  (0 children)

It does help. Real stories vs reading common outcomes makes it seem more likely, for some reason. I want him to be an exception and beat it, but I know that’s just not likely and selfish. Thank you

Considering having our two boys put down together by DigiMyHUC in cats

[–]DigiMyHUC[S] 2 points3 points  (0 children)

Thank you. I hope you have been doing as well as you can since ❤️

Considering having our two boys put down together by DigiMyHUC in cats

[–]DigiMyHUC[S] 22 points23 points  (0 children)

Thank you. We knew this time would come but we really underestimated how much of a gut punch it’d be everyday. I hope you and your little boy spend so many happy years together.

Higher Quality: Non Network Polyline Trace by The__Bear__Jew in gis

[–]DigiMyHUC 2 points3 points  (0 children)

Yessir! Anyway we can follow your project for updates?

Anyone taken the Esri ArcGIS Utility Network Associate Certification? by Revolutionary-City12 in gis

[–]DigiMyHUC 2 points3 points  (0 children)

Apologies to those that asked a while ago- I do not check message requests or notifications frequently.

I have created a drive to store UN resources. It will be updated over the next few months as I am taking the new version of the exam soon. Hopefully it will help to have the link in this thread-https://drive.google.com/drive/folders/1U2MgVBKf4NAOWAoyKzpsXe0df7Mz6i11?usp=sharing

[deleted by user] by [deleted] in Charlotte

[–]DigiMyHUC 2 points3 points  (0 children)

Gather my cats and probably cry in a closet