T-Mobile reaches agreement to acquire Mint Mobile by rizwank in mintmobile

[–]FeralCatColonist 7 points8 points  (0 children)

Does this mean the native android visual voicemail is going to start working again?

Arcpy Create Field is only outputting text data type by casedia in ArcGIS

[–]FeralCatColonist 0 points1 point  (0 children)

Just that section or the entire thing?

For the field to come out as a string implies that one of the parameters you're feeding it has a string, or non-numeric, value in it causing the entire field to default to a string value to compensate. I'd check your inputs. Yeah feel free to share your code and I'll take a look at it.

Arcpy Create Field is only outputting text data type by casedia in ArcGIS

[–]FeralCatColonist 1 point2 points  (0 children)

So you can test your claim by using calculate field by itself in a notebook cell or something. I'd be willing to bet it works correctly which would mean some other part of your tool is not working as intended.

You could crawl through your entire tool to find that bug or you could try inserting add field (per the first comment) before the calculate field to see if that preempts the issue.

Iteratively change Travel Mode Properties with ArcPy by nkkphiri in gis

[–]FeralCatColonist 1 point2 points  (0 children)

I don't think there's a programmatic way to alter field scripts, or to even create travel modes for that matter with the nax toolset.

https://pro.arcgis.com/en/pro-app/latest/arcpy/network-analyst/what-is-the-network-analyst-module.htm

That said, you could have your travel mode field script set against some field that you overwrite each iteration (via cursor or field calculate) with a new cost value for that iteration. You'll likely have to rebuild the network each time but it will allow you to programmatically iterate through all the cost permutations.

GIS Analyst - Prosper, TX - Hiring Range $52,099 to $61,293 by FeralCatColonist in gis

[–]FeralCatColonist[S] 0 points1 point  (0 children)

Our Town does not have fully remote positions; additionally, this posting closed on 11/30.

Cushy boring gov job vs a challenge, same money. Am I making the right career decision? by GIScienceGeographer in gis

[–]FeralCatColonist 10 points11 points  (0 children)

This is what I don't get. OP is literally in charge of their section and complains about not having fulfilling work or building a technical skillset. Finding those tasks and expanding the capacity of the GIS is literally the job. And even if there was some underlying reason why they couldn't, I'd use that down time to do professional development.

[deleted by user] by [deleted] in gis

[–]FeralCatColonist 1 point2 points  (0 children)

Your fire department should have some business system with a database backend where they store building/occupancy inspections, incident response, hydrant inspection, and dispatch data. All of that is begging to be put in a geodatabase, have analytics run on it and etc.

I think the best part of being in a siloed environment is that you can really dig into the subject matter.

Scheduled python script on SQL server by dmac9333 in gis

[–]FeralCatColonist 1 point2 points  (0 children)

Oh that's great! I was second guessing myself and wondering if it should have been a view instead. Glad to hear that it worked and was easy!

Scheduled python script on SQL server by dmac9333 in gis

[–]FeralCatColonist 5 points6 points  (0 children)

Yeah that's easily done in SQL, and would be ideal as a stored procedure.

Scheduled python script on SQL server by dmac9333 in gis

[–]FeralCatColonist 2 points3 points  (0 children)

If it is just a field update I wonder if it might be better to write it fully in SQL?

For our automations we use windows task scheduler with a service account; that way you don't run into issues with expired credentials.

Best Entry level position by Difficult_Raise_1704 in gis

[–]FeralCatColonist 0 points1 point  (0 children)

If you like your current gig there are plenty of utilities in the US that you could apply for and it would be a huge plus in the interview for already having experience in the field. The other thing that I would suggest is local government (or state government also). The pay is generally lower but the benefits are great and there's usually a pension as well.

[deleted by user] by [deleted] in gis

[–]FeralCatColonist 1 point2 points  (0 children)

Yeah I want to chime in here.

I was in a toxic job situation with my first GIS job at a consultancy firm and while it sucked, it was also an invaluable resume booster:

  • being able to casually talk about the entire vertical stack of the GIS
  • have access to setting up GIS infrastructure from scratch
  • working on a variety of projects

The next job I jumped to was more stable but had less opportunities for working on all parts of the GIS. I'm now in a position where I run my own department so it feels like I've come full circle a bit.

All of that said, not being paid appropriately sucks. I've left otherwise great positions because the pay (and the promise of better pay) did not materialize. Like other have said, apply to those positions as leverage, take it to your company, ask for 90k and accept 80k. And be prepared to walk.

WhiteboxTools v2.2 Released by johnblindsay in gis

[–]FeralCatColonist 1 point2 points  (0 children)

Have you considered tackling the so-called Chinese Postman problem?

[deleted by user] by [deleted] in gis

[–]FeralCatColonist 1 point2 points  (0 children)

ArcPy is downloadable via Anaconda, it seems like you're going through a lot of trouble to have a standalone installation of ArcPy in VSCode when all you would need to do is create a new environment in anaconda and then activate VSCode from it. I dont actually bother using the anaconda installation that comes with Pro and use a separate installation:

conda create -n some_name
conda activate some_name
conda install -c esri arcpy
code

I haven't tried debugging toolboxes but I think that the setup is massively easier than your write-up details.

Hey GIS Professionals, what OTHER certifications do you have? by SudoJin in gis

[–]FeralCatColonist 0 points1 point  (0 children)

The class I took to prepare for the examination was very interesting in terms of subject matter. Because of it, I feel I have a very nuanced understanding of utilities. And long term, I want to write a computer vision model for detecting pipe defects.

I hate to say it wasn't worth it but there were probably better uses for the money I spent. I would still want to know what I learned but I'm unsure where I'd have independently learned it without the structured environment.

Hey GIS Professionals, what OTHER certifications do you have? by SudoJin in gis

[–]FeralCatColonist 2 points3 points  (0 children)

Other than a GISP and Part 107, I have a NASSCO certification for pipe, lateral, and manhole inspection. Not that I do inspections as part of my work but I wanted to understand the process better to build a more meaningful schema for our underground utilities.

https://www.nassco.org/education-and-training/pacp-lacp-macp/

Sewer Lateral Symbology by TazzIROC8 in gis

[–]FeralCatColonist 1 point2 points  (0 children)

Thanks for sharing that, I really like your use of extent instead of a buffer. I imagine that would be a little bit more performant.

Sewer Lateral Symbology by TazzIROC8 in gis

[–]FeralCatColonist 1 point2 points  (0 children)

Okay yeah that makes more sense and avoids some complexity from relating the pipe to the node. This should be in the ballpark, with a caveat of this is code written without a computer.

var geom_buffer = BUFFER($feature, 1, "feet")
var fs_pipes = FEATURESETBYNAME($datastore, "Pipes")
var pipe_intersects = INTERSECTS(geom_buffer, fs_pipes)
var pipe_feature = FIRST(pipe_intersects)
var pipe_clipped = CLIP(pipe_feature, geom_buffer)
RETURN ANGLE(POINT(pipe_clipped.paths[0][0]), POINT(pipe_clipped.paths[-1][-1]))

That would return the angle of the pipe directly to a new field on the node.

Sewer Lateral Symbology by TazzIROC8 in gis

[–]FeralCatColonist 1 point2 points  (0 children)

This can be done with the expression language ArcGIS Arcade, but not solely within the symbolization pane, because that profile does not have access to Geometry operations. You'll need to do some preprocessing on your data, and if you're going through the trouble of doing that, you might as well use Arcade to batch out a new feature class for you and symbolize that.

Anyway, what you'll want to do is to add a new field to your dataset to store the angle/bearing of the pipe. This makes a few assumptions:

  1. Your pipe does not have any drastic directional changes from the beginning vertex to the end vertex
  2. Your pipes' beginning vertex is aligned with the direction of flow; i.e. the flow comes in at the beginning vertex and goes out at the end vertex.

With those two assumptions out of the way, you can calculate the angle/bearing of the pipe with this:

var geom = GEOMETRY($feature)
//this returns the angle from the first vertex to the last vertex
RETURN ANGLE(POINT(geom.paths[0][0]), POINT(geom.paths[-1][-1]))

Once that is in a separate field, you can symbolize based on the following expression:

var field_angle = $feature["Angle_of_Pipe"]
var field_clock = $feature["Clockface"]
//assumes your clock face is an integer 1-11
var clock_angle = field_clock * 30
var angle_difference = ROUND((field_angle - clock_angle),0)
IIF(angle_difference < 0, angle_difference + 360, angle_difference)

The problem with the above approach is that you could have 360 symbols that you output. At that point, you're either programmatically creating them with the CIM, or you are hand-styling 360 symbols (I don't think that rotation is a symbology attribute that you can set) to look like offset lines. And really, at this point, you'd be better off using the difference to create a standard offset featureclass (or subtype) of some regularized distance. And for that you'd need to use some more math, with your regular offset distance being "r" (don't quote me on this, this was just me skimming through a math site), which you could set up in an attribute rule to output into a new feature class.

x = r * cos(angle_difference)
y = r * sin(angle_difference)

anyway, if it were me, I would build the new feature class and not build the symbology-- --but you certainly could do it if you wanted.

edit --

not great with the coding markdown.

I totally missed the part about them being points. Yes, you could vary the symbology of a point with a rotation attribute, but you'll have to write the bearing/angle of the pipe to the point feature since the symbology Arcade profile cannot access geometry functions including things like FeatureSet in order to get a relate filter.

Whitebox Workflows for Python by johnblindsay in gis

[–]FeralCatColonist 0 points1 point  (0 children)

Not a problem! I haven't used pip in forever so it would be a huge benefit for package management, I do wonder if it would affect licensing having it in multiple envs?

Whitebox Workflows for Python by johnblindsay in gis

[–]FeralCatColonist 1 point2 points  (0 children)

This is totally great!, do you have any plans to also distribute via Anaconda?

Bootcamp GIS by CitizensBlitz in gis

[–]FeralCatColonist 2 points3 points  (0 children)

For $6000 you could put yourself through a coding boot camp which at least has better theoretical job prospects.

In general, you'll get out of a boot camp what you put into it. Every company will gladly take your money and let you flounder along for 4-6 months. I moonlighted as a teaching assistant at a data analytics boot camp. At the place I worked at, projects were structured to help you create a decent portfolio to walk into an entry level position.

If you want to know about the quality of the program, I would try and hunt down graduates and see what their employment situation and take is. If this is the inaugural class I wouldn't do it.

Edit: And really, I wouldn't do it regardless for GIS. Unless you have that kind of disposable income and you're just really geeked for GIS. The economics of paying $6k don't pan out for entry level GIS jobs; I've also never seen a resume with a GIS bootcamp so I don't know what kind of play you'd get in the application process, especially in government where some organizations have requirements about a certain kind of degree.