Tag Info

New answers tagged

0

You might want to try using the SpatialRelater and the 'intersects' test. This will find (and associate) all the features in one layer that touch another layer.


3

It seems that you're misunderstanding the way the AreaOnAreaOverlayer behaves. It actually intersects the polygons and creates new ones if they intersect. The documentation states that the tool: Performs an area-on-area overlay so that all input areas are intersected against each other and resultant area features are created and output. The ...


0

Without more information about your data sets and workspace its difficult to know why AreaOnAreaOverlayer isn't working as expected. Perhaps try side-stepping the need for the AreaOnAreaOverlayer in your workspace by putting one of your polygons through the CenterOfGravityReplacer and then using the resulting points along with your other polygon as the two ...


0

If you want to locate Shapes from A within B, I think you could use a "tester" transformer to filter according "_overlaps" attribute that is created on each of the output elements. Something like this: I hope it serves this idea.


0

Assuming you want to use it in Model Builder, I suggest you a "Calculate Value" script as follows: def LargestEcoregion(tabulate_intersection_result): rows=arcpy.SearchCursor(tabulate_intersection_result,sort_fields="PERCENTAGE D") row=rows.next() arcpy.AddMessage("%s--%s" ...


1

Use turf.js for this, the functions union and erase in particular. Make a union of all your polygons (or at least the ones that are within the current viewport), then erase the result from the polygon that covers the current viewport. The result will be the inverted selection you're looking for.


0

So not completely automated but my answer at for the following questions solves it quickly: Connecting polygon accidentally deleted - filling in the gap


0

One approach would be to create another layer with a polygon that roughly covers the hole and then use a geoprocessing operation, such as difference or clip to remove the overlap and leave just the jigsaw piece you want. The extent of the rough-cut polygon would limit the operation to the region of interest. ...


-1

first select feature then click on reshape then reshape feature Since the beginning of the feature


0

Thank you all for your answers, it was actually "Tabulate area" the option that I needed, because it let me set up specific zones for both the raster and the polygon layer. You were right Chris, I had not exhausted all the zonal options :)


1

You could try using Symetrical Difference as this, for me atleast, sometimes removes unwanted slivers if I receive them from the Difference tool. If not then you could try from QGIS: Eliminate Sliver Polygons (Vector > Geoprocessing Tools > Eliminate Sliver Polygons) Or from GRASS: v.clean (This is used to repair topology errors. Select the rmdangle ...


0

The approach mentioned by @whuber is the quickest, even if it isn't 100% perfect. Here are the steps using GDAL tools (at least version 1.10) from the command line. First step: rasterise the vector to a fine scale resolution. The finer resolution raster needs to be fine enough to reasonably capture the detail of the vector data, which depends on the vector ...


1

The Tools Find Identical (Data Management) and Delete Identical (Data Management) should be able to assist. The tools find identical data based on the shape or attribute. The down side is that you need ArcGIS for Desktop Advanced to use the tools


1

From some quick searching it doesn't appear the Vector -> Research Tools -> Vector Grid, Geoalgorithms > Vector creation tools > Create Grid, or MMQGIS plugin allow for rotation in grid creation. The easiest thing to do would probably be create the grid and move/rotate it manually. Start by determining the length of one side of your square. ...


0

Not an answer, just an illustrative comment:           The bus stop should be the center of a circle inside the green area, which is tangent to the two black settlements.


3

This should work. Which version of Leaflet are you using? Here, have a look at this jsFiddle. It is important you get the arrays right. First array is the polygon object [ in here the outer ring [ in here some [lat,lon],[,] close the outer ring], then the inner ring [ in here some [lat,lon],[,] close the inner ring ] close the polygon ]. scotland = ...


0

If you are trying to get the outline of a DEM raster then you will need to do the following If you have Spatial Analyst and 3d Analyst then you can: 1)multiply the raster by 0 to create a constant value raster using Raster Calculator. 2)Convert results of step 1 to a raster integer by using the "INT (Tool)". This is necessary for the next step. 3)convert ...


0

So after a week of trial and error, I figured it out for myself... again. $(document).ready(function () { var wgs84Sphere = new ol.Sphere(6378137); var interactions = ol.interaction.defaults({ altShiftDragRotate: false, pinchRotate: false }); var measureTooltipEiement; var draw; var measureTooltip; var ...


0

My solution was to convert the polygons to raster (snapped to the land cover map and with the same resolution) using a unique polygon ID field for raster value. Then I converted this raster to points, and ended up with nearly 35,000 points, with attributes POINTID and GRID_CODE. POINTID is a unique cell identifier and GRID_CODE matches the original polygon ...


0

A thematic/categorical dataset such as landuse would technically be appropriate for a polygon feature class rather than a raster. So, one solution would be to convert your land use raster to a vector layer, and then perform a spatial join that would result in an attribute table with a record for each polygon--land use combination. Another option is to use ...


1

The general problem here, known as polygonization in the literature, is quite difficult. See, e.g., this web page. The problem with the convex hull is that the region outlined by your points might not be convex. And in fact, you could lose most of the detail:           Above, the convex hull of the circled points is the ...


0

I recently needed to have similar functionality. See the following JSfiddle. You can adjust the math portion according to your needs. Fiddle


1

This is even simpler: x = rbind(x1, x2, x3, makeUniqueIDs = TRUE)


3

I have a solution that works. A LinearRing is also a LineString so use directly a LineString and you can project your points (using Shapely:Coordinate of the closest point on a line) line = LineString(list(polygon.exterior.coords)) pt1 = line.interpolate(line.project(point1)) pt2 = line.interpolate(line.project(point1)) Now we need to know on what ...



Top 50 recent answers are included