blankblank blank




KML Circle Generator



KML-Circles is an online app that creates open or filled polygons around a specified center point. With the default number of 60 vertices, you essentially create circles, but by selecting a small number, you can create other polygons (e.g. 3 for a triangle, 4 for a square), but with no control over their orientation. It operates in two different styles:

In Fixed style, you can specify an indefinite number of central points, and up to 15 different circle radii, each with its own selectable color:

circlesfixed

# Vertices - Number of points used to draw polygon; the more points, the smoother the circle

Input - Either radius from the center, or diameter

Units - Metric (Meters, kilometers) and English (Miles, feet, yards)

Radius/Diameter - Sets the value for drawing the circles, in the units specified above. Circles are drawn in order from top to bottom, so it’s usually better to draw the larger circles first. Set the color for each radius by clicking on the “…” button.

Shape - LineStrings draws just the radius of the circle, Polygon draws it filled in.

Line Width - Sets line size in LineStrings mode.

Opacity - Sets opacity percentage (100% - fully opaque)

Altitude - Clamped to ground (default), Relative to ground and Absolute

Elevation - Sets value for Relative to ground and Absolute

Example 1 - Sample of fixed style (shown above)

Example 2 - Sample of variable style (shown below)

Clear - Clears position and radius/diameter data

Load File - You can load your own text data file into the input box; data can be separated by commas (CSV), spaces or tabs, with the Separator defined by the dropdown at upper right.

Create KML>> - Click on this button, and the specified data will be plotted in a Google Maps interface:

circlesgooglemap

If you like the results, click on Download KML File and the KML code will be generated:

circlesGE

In Variable style, you can specify different sets of radii for different points, as in Example 2:

circlesvariable

Up to 15 different radii can be used as input, with the “Column” dropdowns at left letting you specify the order in which the input radii are drawn:

solidcirclesGE

GE-Path also creates circular polygons (in addition to grids and other useful shapes), but only one at a time. If you need to make multiple circles on a common radius at at the same time, KML-Circles is a convenient alternative.

Other posts in the Google Earth Data Tools series

  1. KML Editors
  2. Diagramming In Google Maps And Google Earth With Smoot
  3. Plotting Data In Google Earth Using GE-Graph
  4. Drawing Grids, Paths And Polygons In Google Earth Using GE-Path
  5. Online Google Earth Utilities For Buffering And Area Calculations
  6. Easy Display Of Thematic Data In Google Maps And Google Earth
  7. Using GIF/PNG Transparency In Displaying Raster Graphics In Google Earth
  8. Adding Vector Graphic Objects To Google Earth
  9. Animated GIFs In Google Earth
  10. Creating A Network KML Link To A Google Spreadsheet
  11. LIDAR Tools
  12. EarthPlot Software Tools For Google Earth
  13. Geographic Time Animations
  14. Convert TIGER Polygons To KML Files
  15. Putting Time Data Into A KML File
  16. Using The KML Time Embedder To Stamp Time Data Into A Google Earth File
  17. Using The KML Time Embedder, Concluded
  18. KML Time Embedder Improved With Hour-Minute-Second Ability
  19. Grid Creation And Path/Polygon Measurements: Two New Online KML Tools
  20. Google Earth PhotoOverlay Tool
  21. KML Random Placemark Generator
  22. Update For Online Google Earth Utilities
  23. KML Time Code Utility
  24. Screen Overlays In Google Earth
  25. The KML Screen Overlay Maker Utility
  26. KML Screen Overlay Maker Utility, Concluded
  27. KML Circle Generator
  28. Creating Google Earth Screen Overlays With EarthPaint
  29. Text Editor With KML Validation
  30. Online Spreadsheet To KML Converter
  31. Version 2.0 Of Google’s Online KML Spreadsheet Mapper Tool Released
  32. Creating Google Earth Ground Overlays From Georeferenced Images
  33. Google Earth Ground Overlays With GIF Transparency
  34. Creating "Transparent" Topo Map Overlays For Google Earth
  35. Using Google Earth Ground Overlays To Display Shapefile Data
  36. Converting 3D Objects Into Google Earth Format
  37. Thematic Mapping In Google Earth
  38. An Online KML Validator
  39. Modify A KML Polygon File With Excel Data
  40. US Nautical Chart Overlay For Google Earth
  41. Plot Google Analytics Geographic Data In Google Earth/Maps
  42. Placemark Creator For Google Earth


Subscribe to this blog's RSS feed

3 Responses to “KML Circle Generator”


  1. 1 Guy Cosnahan

    Last year we had a Foot and Mouth outbreak in the UK. The Govt created exclusion zones (500m diammeter) and controlled zones (10km) out from each occurence of the outbreak. Since the outbreaks were often on farms within less than the exclusion zone size an envelope of overlapping circles was created.

    Could you create a solution to write only the external sections of the overlapping circles?

    Thanks
    GUY

  2. 2 Leszek Pawlowicz

    I’m not the author of the KML Circle Generator, so I can’t help you on that front. But this is the sort of project that would literally take less than half-an-hour with even a basic free GIS like MapWindow or gvSIG.

    1. Gather up the coordinates of all the farms into a single file of points (a point shapefile).

    2. Use the buffer feature to draw circles of the right size around every farm.

    3. Merge all of the circles into a single area (an area shapefile)

    4. Convert that area shapefile into a KML file for viewing in Google Earth, using shp2kml.

    If you can send me a file (spreadsheet or point shapefile) with the locations of the farms in question, the precise details of the exclusion zones, and the exact details of what you want, I can have a crack at it, and write up a step-by-step description of the process as a post. I’m always looking for good topics :).

  3. 3 Laur E Baan

    Thanks, good post, KML-Circles is a handy tool! If you like to learn how to create basic shapes for Google Earth using KML and the Python programming language, take a look at “http://zoolboolcode.blogspot.com/2008/10/draw-simple-shapes-in-google-earth_09.html” for a basic introduction.

Leave a Reply


Be sure to enter the "reCAPTCHA" below before submitting your comment.