5,070 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Best practices
0
votes
7
replies
121
views
Point Inside Polygon or On An Edge
I need to verify if a supplied list of coordinates lie inside the contour of a plate or on one of the edges or corners. I used an implementation of the point in a polygon algorithm that I saw on a ...
Best practices
1
vote
0
replies
15
views
Filled polygon becomes hollow after using Shape Modification → Fillet lines
I drew a solid graphic polygon in KiCad. When I use Shape Modification → Fillet lines to round the corners, the fillet is applied but the polygon becomes hollow (outline only). After this, the ...
0
votes
0
answers
53
views
Using SVG for the pattern with asColorLike argument to Style the fill of a polygon
Is it possible to use a data URI containing a SVG image for the 'src' attribute in a PatternDescriptor?
I have found examples of using PNG files, but not SVG. Please can someone post an example of ...
Advice
2
votes
2
replies
132
views
Generating Random Polygons in R
I need help coming up with a spatial workflow in R, or to be pointed in the direction of a package or something, I have no idea where to start with this.
I have a raster called "Suit" (epsg:...
Advice
0
votes
6
replies
123
views
Polygon centroid calculation - centroid outside the polygon
I have 2 polygons which are very simmular but one has is centroid inside and the other outside.
Polygon 1 (inside) with
"X: 2590431 Y: 5823888"
"X: 2590433 Y: 5823881"
"X: ...
3
votes
1
answer
112
views
tmap MAP_COLORS not coloring adjacent polygons distinctly
I am trying to use tmap with the MAP_COLOR argument which is supposed to plot the given shapefile with unique colors for adjacent polygons. However, it seems to be failing when I use it on two ...
0
votes
2
answers
68
views
How to find identical polygons
I have an algorithm that takes as input a list of polygons - each polygon is a list of 32 bit x and y coordinates, and the length of the coord list.
It then needs to normalise the coordinates to the ...
0
votes
0
answers
84
views
How should given edges be discarded when calculating a straight skeleton?
I want to calculate the straight skeleton of a polygon using the CGAL library in C++, but I want to discard some edges from the skeleton calculation. I thought this would be possible using the ...
1
vote
0
answers
89
views
How do I cut a single edge of a block and round it?
folks!
So basically, in the design, there are blocks that have bottom right edge cutted. One - with border, second - with background. Edge looks ike that:
I tried different approaches and none of ...
17
votes
3
answers
367
views
Ordering points that roughly follow the contour of a line to form a polygon
I have a list of points (x,y). A line is drawn somewhere 'inside' these points (within the area they form). I have been trying different algorithms for ordering these points to create a polygon, with ...
5
votes
2
answers
122
views
Optimize reverse polygon with edge attributes
I have a closed polygon, that has attribute parameters at each edge. These are stored at the point at the beginning of the following line segment. So, point[0] holds the attribute for the edge point[0]...
0
votes
0
answers
27
views
rounding svg corners [duplicate]
I have this svg code
<svg width="200" height="200" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<polygon
points="
13.5,13.5
13.5,40.5
3.5,50
13....
0
votes
1
answer
153
views
R Convert a list of polygons into a shapefile, where each polygon is a feature of the shapefile
I'm trying to convert this list of polygons, named all_buffers, into a shapefile. I'd like each polygon to be its own feature in the shapefile. Everything I've tried has only exported one single ...
0
votes
0
answers
49
views
How to set the outside area color of a Circle or Polygon in react-native-maps?
I'm using the react-native-maps package.
When I use the fillColor property on a Circle or Polygon, it fills the inside of the shape — which works as expected.
However, I want to achieve something ...
0
votes
0
answers
47
views
Which of the 10,000 properties are in a drawn polygon
I have Javascript code that can detect the coordinates of a polygon that is drawn on Google map. I also have 10,000 property addresses. What is the fastest way to find which of the 10,000 properties ...