Wednesday, 11 July 2018

python - Creating a circle with radius in metres


I am using shapely and python.


How should I go about creating a circle using shapely whose radius is in meters?


If i use



sampleCircle = Point(1,1).buffer(1)
print sampleCircle.area

This returns an area of 3.13654849055. How do I interpret the unit of this area? I read that this can be interpreted in square degrees but seek a little more explanation.


Also, how do i create a circle with a specified radius (in meters) around a point (defined using lat,long)?


The closest article I found was this [http://comments.gmane.org/gmane.comp.python.gis/1582] but it lacks any concrete solution




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...