I\'m trying to find a way to calculate the area of a polygon using lat long coordinates in a Flex 3 site. Hong007 on Google Maps for Flash group was cool enough to post the following function:
How do I calculate the area of a polygon stored in a MySql database? The polygons\' points are lat longs. So, degrees and minutes seem to be causing a problem.
If i have a polygon in Postgis how can i fin开发者_StackOverflow社区d/calculate random points inside the polygon?The link cited by @Mike not have a code, but good clues from Dr.JTS:
Are there any libraries that p开发者_JAVA技巧rovide 3D polyhedra, and support calculating the intersection of two polyhedra?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
I have the code below. It load a CSV file into memory. This file contains the coordinates for different polygons.Each row of this file has X,Y coordinates and a string which tells that to which polygo
I have a list of (about 200-300) 2d points. I know needs to find the polygon that encloses all of them. The polygon has to be convex, and it should be as complex as possible (i.e. not a rectangular bo
I have three consecutive points of polygon, say p1,p2,p3. Now I wanted to know whether the orthogonal between p1 and p3 is inside the polygon or outside the polygon.
I figure开发者_StackOverflow社区d out an algorithm that lets me turn my holed polygons into trapezoids in linear time if I have vertex indices sorted from lowest coordinate to highest.
Given an arbitary polygon with vertices stored in either clockwise/counterclockwise fashion (depicted as a black rectangle in the diagram), I need to be able to subtract an arbitrary number of circles