code: def ip_to_geojson(ipaddress, name="Point"):
      
  
      geo = ip_to_geo(ipaddress)
  
      point = {
          "type": "FeatureCollection",
          "features": [
              {
                  "type": "Feature",
                  "properties": {
                      "name": name
                  },
                  "geometry": {
                      "type": "Point",
                      "coordinates": [
                          geo["longitude"],
                          geo["latitude"]
                      ]
                  }
              }
          ]
      }
  
      return point
docs: Generate GeoJSON for given IP address