Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
podcast
Filter by Categories
ArcGIS Pro
GDAL
GeoJson
Map
Map Tools
Maps
postgis
Python
QGIS
Uncategorized

Random Geographic Geometry Generator

Generator Random Geographic Geometries That You Can Download!

Welcome to the Random Geographic Geometry Generator! This tool allows you to create various geographic shapes and features using WGS 84 coordinates. It’s perfect for testing GIS applications, generating sample data, or simply exploring different geometric forms on a map.

Random Geometry Generator (WGS 84)

Random Geographic Geometry Generator (WGS 84)

All geometries are generated and displayed using WGS 84 coordinates (EPSG:4326).

Coordinates are in the format: [Latitude, Longitude] in decimal degrees.

Geometries as WKT (WGS 84)

How to Use The Random Geographic Geometry Generator

Map View: The map is centered on London, UK. You can pan and zoom to focus on any area of interest.

Generate Geometries: Use the buttons above the map to create random geometries:

    • Generate Point: Creates a single random geographic point.
    • Generate Line: Creates a straight line between two points.
    • Generate Polygon: Creates a closed shape.
    • Generate MultiPoint: Creates five separate points.
    • Generate MultiLineString: Creates three separate lines.
    • Generate MultiPolygon: Creates two polygons, possibly with inner rings.
    • Generate GeometryCollection: Creates a collection containing a point, a line, and a polygon.

    View Results: Each generated geometry will appear on the map and be added to the WKT (Well-Known Text) output below.

    Clear Geometries: Use this button to remove all generated geometries from the map and WKT output.

    Download GeoJSON: This button allows you to download all current geometries in GeoJSON format.

      Understanding the Outputs

      Map Display:

        • Each geometry type is displayed in a different color on the map.
        • Click on a geometry to see its type in a popup.

        WKT Output:

          • Below the map, you’ll see the WKT representation of each geometry.
          • WKT is a text-based format for representing vector geometry objects.
          • Each new geometry is added to the list, separated by blank lines.

          GeoJSON Download:

            • The downloaded file contains all current geometries in GeoJSON format.
            • GeoJSON is a standard geospatial data interchange format based on JavaScript Object Notation (JSON).

            Note on Coordinate System

            All geometries use the WGS 84 coordinate system (EPSG:4326), which represents locations on the Earth as latitude and longitude in decimal degrees. This is the standard used by GPS and many web mapping applications.

            Enjoy exploring random geometries with this tool!

            About the Author
            I'm Daniel O'Donohue, the voice and creator behind The MapScaping Podcast ( A podcast for the geospatial community ). With a professional background as a geospatial specialist, I've spent years harnessing the power of spatial to unravel the complexities of our world, one layer at a time.