New answers tagged

0

Useful script @phloem - thanks! I suggest adding a KeyError handling exception, especially if there are missing keys in the dict, e.g., ... with arcpy.da.UpdateCursor(pt_off_line,[pt_off_line_ID,"SHAPE@"]) as cursor: for row in cursor: # loop through points try: row[1] = pt_on_line_dict[str(row[0])] # move point geometry to match ...


1

You can load the map in QGIS using Web Map Service (WMS). In the browser-panel, right-click WMS, add a name and the following URL: https://services.bgr.de/wms/boden/buek200/? Than close by clicking OK. Now you have a new WMS-connection that you can expand. Select an item and drag and drop it to your layers-panel and the map will load: see screenshot: Select ...


0

According to the accepted answer, you cannot do what you want using fiona. I would advise you to use GeoPandas instead. You can open the Shapefile file and remove a row by a condition. PS: I know this question was asked 3 years ago, but I'm answering it in order to help others.


1

Found this ESRI sample ConvexHull ESRI which revealed what I was doing wrong. Basically indicated output parameter to required instead of derived and switched its type to feature class instead of feature layer. Ath the end no IGPSchema was needed. Here's the working code: outputParameter = new GPParameterClass(); outputParameter....


5

Here I am using Virtual Layer approach because it can save me from following a step-by-step workflow, where the output of the previous has to be used as the input for the next geoalgorithm. In QGIS I can suggest using a "Virtual Layer" through Layer > Add Layer > Add/Edit Virtual Layer.... Let's assume we have two layers "units_1" (yellow) and "...


6

Goal: Isolate the small polygons adjacent to the border which divides them into two different larger polygons/areas. Concept: Either select everything by hand (feasible if this is only a one-time-job and few polygons like in this case), or use the select by location tool to select all areas adjacent to the border. To do so we need to get the line feature of ...


Top 50 recent answers are included