

def Point(position):
    """ Create a valid GeoJSON Point geometry. """
    return {
       "type": "Point",
       "coordinates": position
    }


def MultiPoint(coordinates=None):
    """ Create a valid GeoJSON MultiPoint geometry. """
    return {
       "type": "MultiPoint",
       "coordinates": [] if coordinates is None else coordinates
    }


def LineString(coordinates):
    """ Create a valid GeoJSON LineString geometry. """
    return {
       "type": "LineString",
       "coordinates": coordinates
    }


def MultiLineString(coordinates=None):
    """ Create a valid GeoJSON MultiLineString geometry. """
    return {
       "type": "MultiLineString",
       "coordinates": [] if coordinates is None else coordinates
    }


def Polygon(coordinates):
    """ Create a valid GeoJSON Polygon geometry. """
    return {
       "type": "Polygon",
       "coordinates": coordinates
    }


def MultiPolygon(coordinates=None):
    """ Create a valid GeoJSON MultiPolygon geometry. """
    return {
       "type": "MultiPolygon",
       "coordinates": [] if coordinates is None else coordinates
    }


def GeometryCollection(geometries=None):
    """ Create a valid GeoJSON GeometryCollection. """
    return {
        "type": "GeometryCollection",
        "geometries": [] if geometries is None else geometries
    }


def Feature(geometry=None, properties=None):
    """ Create a valid GeoJSON Feature. """
    return {
        "type": "Feature",
        "geometry": geometry,
        "properties": properties
    }


def FeatureCollection(features=None):
    """ Create a valid GeoJSON FeatureCollection. """
    return {
        "type": "FeatureCollection",
        "features": [] if features is None else features
    }


@@ -48,39 +48,30 @@
 eoJSON Point
- geometry
 . %22%22%22%0A
+
     return %7B
@@ -209,25 +209,16 @@
 ltiPoint
- geometry
 . %22%22%22%0A  
@@ -396,33 +396,24 @@
 N LineString
- geometry
 . %22%22%22%0A    re
@@ -575,25 +575,16 @@
 neString
- geometry
 . %22%22%22%0A  
@@ -761,33 +761,24 @@
 JSON Polygon
- geometry
 . %22%22%22%0A    re
@@ -880,32 +880,32 @@
 rdinates=None):%0A
+
     %22%22%22 Create a
@@ -931,25 +931,16 @@
 iPolygon
- geometry
 . %22%22%22%0A  

Make docstrings consistent in generate.py.