Top "Polygon" questions

For issues relating to the creation, manipulation and rendering of polygons in graphical user interfaces.

How to calculate centroid of polygon using sf::st_centroid?

I am trying to manipulate some Brazilian Census data in R using the new "sf" package. I am able to …

r polygon centroid sf
How can I create a polygon using fields in PostgreSQL?

I have 8 real values in a table that I'd like to combine into a polygon. I haven't been able to …

postgresql polygon postgis
mysql query points within polygon - no results

I'm pretty sure that I'm doing multiple things wrong here but I'm not sure what... The table (minus a few …

mysql polygon point
Calculate Polygon area in planar units (e.g. square-meters) in Shapely

I am using Python 3.4 and shapely 1.3.2 to create a Polygon object out of a list of long/lat coordinate pairs …

python polygon area shapely
polygon union without holes

Im looking for some fairly easy (I know polygon union is NOT an easy operation but maybe someone could point …

algorithm math geometry polygon computational-geometry
Placing a MapLabel on top of a Polygon in Google Maps V3

I'm trying to place a MapLabel on top of a Polygon in Google Maps V3. I've tried to set the …

javascript google-maps polygon
Mongodb : Check if a point is inside a stored polygon

I'm new to the mongodb geolocation features. I stored some polygons that represent the country borders in a database along …

mongodb geolocation polygon
Java Graphics.fillPolygon: How to also render right and bottom edges?

When drawing polygons, Java2D leaves off the right and bottom edges. I understand why this is done. However, I …

java graphics polygon graphics2d edges
Breaking a concave polygon into convex ones

I'm using a game physics library (Box2D) which only supports convex polygon shapes. However, I'd like the level builder …

actionscript-3 physics polygon box2d
How to calculate the area of polygon overlap in R?

Does anyone know how to calculate the area in common between 2 or more polygons in R? I would like to …

r overlay polygon intersection