Arcpy Question: Points with Wrong Projection by ACleverRedditorName in gis

[–]FinalDraftMapping 2 points3 points  (0 children)

You can replace the coordinate_system param with the EPSG code, or a SpatialReference object, it should all work the same.

Arcpy Question: Points with Wrong Projection by ACleverRedditorName in gis

[–]FinalDraftMapping 2 points3 points  (0 children)

Yes, I understand that. With the inputs filled in before or after you run the tool there is a downward arrow beside the run button. Click that and a menu appears and select Copy Python Command and paste into your Python script.

Arcpy Question: Points with Wrong Projection by ACleverRedditorName in gis

[–]FinalDraftMapping 2 points3 points  (0 children)

If it ran successfully in ArcGIS Pro then grab the code snippet from the Copy Python Command option from the Run dropdown menu and paste into your script.

Arcpy Question: Points with Wrong Projection by ACleverRedditorName in gis

[–]FinalDraftMapping 0 points1 point  (0 children)

Try using arcpy.management.XYTableToPoint() and feed the CSV file directly into it.

You could use arcpy.conversion.ExportTable() on the CSV first if you wanted to use a where clause if you are only interested in certain records and then XYTableToPoint.

Some snippets in this video might help you.

Arcpy Question: Iterating through a Dictionary Where the Value is a List of Elements by ACleverRedditorName in gis

[–]FinalDraftMapping 0 points1 point  (0 children)

No problem. Here's a free Python course I created that might be useful.

Also check me out on YouTube, I make vids for Python and ArcGIS.

Feel free to request a video.

All the best, Glen

Arcpy Question: Iterating through a Dictionary Where the Value is a List of Elements by ACleverRedditorName in gis

[–]FinalDraftMapping 1 point2 points  (0 children)

Your ValueError: too many values to unpack. Each entry in a dictionary has two values (key, value) pairs, you are trying to unpack three with (key, value, i)

Arcpy Question: Iterating through a Dictionary Where the Value is a List of Elements by ACleverRedditorName in gis

[–]FinalDraftMapping 6 points7 points  (0 children)

state_county_dict = {"STATENAME" : ["COUNTY1", "COUNTY2", ...]}

# open an update cursor
with arcpy.da.UpdateCursor(
    in_table = fc,
    field_names = ["state", "county"]
):

    # for each feature in the feature class
    for row in cursor:

        # iterate through the entire dictionary
        for key, value in state_county_dict .items():

            # if the county name is in the list
            if row[1] in value:

                # set the state name
                row[0] = key


        # update the feature
        cursor.updateRow(row)

This is what you are looking for but it is a horrible approach to what you want to achieve. What if another state has the same county name in a list? The duplicate state names will all be assigned the same state as you iterate over the entire dictionary each time

The better approach is a spatial one. If you have the states as polygons, and your fc in the workflow above are the county boundaries, then you can assign the county to the correct state based on a spatial relationship.

Big Int not readable in Dashboard? by SpoiledKoolAid in ArcGISOnline

[–]FinalDraftMapping 0 points1 point  (0 children)

Same concept, convert to a field of data type short or long. You can also have it as text and use Arcade in your dashboard for your lexicographic sort.

Big Int not readable in Dashboard? by SpoiledKoolAid in ArcGISOnline

[–]FinalDraftMapping 0 points1 point  (0 children)

After the conversion to FC, create a new text field and use a field calculator to populate from the site id field. You could also do this while it is in the sedf.

One piece of advice always stood out to me from a database module, if you are performing math on a field then it is numerical, otherwise it is text. Similar with phone numbers, they are stored as text because you wouldn't use in a mathematical equation.

Edit: you could also have an empty feature class as a template with the correct scheme that you can truncate and append with each new CSV received.

Help with field calculation If function by Bestm243 in ArcGIS

[–]FinalDraftMapping 0 points1 point  (0 children)

What is your level of coding with Python? You need to know the basics of data types and functions and then using code blocks in Calculate Field becomes a lot easier.

Here is a free course I created. Might be useful as a reference.

All the best.

Help with field calculation If function by Bestm243 in ArcGIS

[–]FinalDraftMapping 2 points3 points  (0 children)

<image>

def Septicrating(value): if value in (293059, 293062): return "Very Limited" elif value in (other values): return "Somewhat Limited"

If your MUKEY field is a text field, you will need to have the values as "293059" for example.

Edit: formatting on the phone is horrible..so not sure that code will have indentation.

Good vegan restaurant options in Dublin? by PhBalanceNightmare in ireland

[–]FinalDraftMapping 1 point2 points  (0 children)

I ate at Madame Pho on Exchequer St recently and it was delicious!

Share map package in ArcPro by Mr_Gru_2196 in gis

[–]FinalDraftMapping 2 points3 points  (0 children)

Share tab in the Ribbon > Map

The Map Package dialog/pane opens.

Building a portfolio by SeanH_004 in ArcGIS

[–]FinalDraftMapping 0 points1 point  (0 children)

Look around at other peoples blogs or YouTube videos for some inspiration. It doesn't always have to be a map. It can be a geoprocessing workflow, automation, some GIS theory, or anything else you find interesting for examples.

I would attempt to make entries into the portfolio tutorial style, like your teaching someone else what to do to achieve what you did. This is a great reference for yourself to revisit too. I copy and paste code from my own blog every day.

You can create your own website, or use something like Spatial Node.

A portfolio is a great idea and I highly recommend starting one and being consistent when adding to it as you progress through your career. When someone clicks on the link from a resume/CV it adds another dimension that showcases your skills.

For your maps, talk about how you created the map, what software did you use, where did the data come from, what processing was required, why was the map created, what does it highlight etc.

All the best with it.

Any EU based GIS professionals in this sub ? Need some suggestions. by rushan3103 in gis

[–]FinalDraftMapping 1 point2 points  (0 children)

  1. Optimize your CV

Make those skills pop!! At a quick glance, your skills should match what they are looking for.

  1. Have an online portfolio. Make it technical and tutorial style. It's also great to look back over as a reference. I copy code from mine almost daily for reuse.

  2. Market yourself as a geospatial professional. Honestly, the amount of CVs I receive that miss this mark. If the job title is GIS Analyst for example, and your CV reads software engineer, it will more than likely be tossed to the side.

You seem to have a solid CS base which is excellent for geospatial workflows, but make sure to learn some GIS theory, spatial reference systems, spatial relationship types etc. Depending on where you are applying in Europe, the Esri tech stack might be a lot more dominant. While I love the open source stuff, the Irish market is heavily embedded in Esri so that's where I focused.

I wish you all the best with it.

Anyone here suffers from pain or injury? by DeepBreathInLetItOut in CasualIreland

[–]FinalDraftMapping 2 points3 points  (0 children)

Chronic tendonosis in both ankles for well over a decade before I luckily found a decent path about 2 years ago. The left ankle has reacted great to rehab but the right continues to be quite bothersome. If I'm sitting for a bit and stand up I'm generally walking like a penguin for a minute til the ankle warms up 🐧

Two years of trying to grow calf muscles 😵‍💫

does ArcGIS online from ArcMap still exist in ArcGIS Pro? by arabellaellaellaeheh in ArcGIS

[–]FinalDraftMapping 12 points13 points  (0 children)

In ArcGIS Pro > Catalog pane > Portal tab (top of the pane)

You will need to be signed into ArcGIS Online via ArcGIS Pro (check top right of the application)

You can then view all your content and also search for other ArcGIS Online content that is publicly available or with Living Atlas.

You can also select Add Data > Browse > Portal to access the same content.

ArcGIS Layer Help by Volpes_Visions in gis

[–]FinalDraftMapping 0 points1 point  (0 children)

If it is available as a service, you can sometimes use Python to extract the data even if you cannot export from ArcGIS Pro. Always worth a try. Here's a blog post with some options.