{
  "slug": "geojson-to-svg",
  "name": "gizza-ai/geojson-to-svg",
  "version": "0.1.0",
  "title": "GeoJSON to SVG — render a GeoJSON map online — gizza.ai",
  "description": "Render GeoJSON to a scalable SVG map in your browser — polygons, lines and points, Web-Mercator or raw lon/lat, custom colours. No tile server, no upload.",
  "tags": [
    "geojson to svg",
    "geojson map",
    "render geojson",
    "geojson viewer",
    "geojson svg",
    "geojson visualizer"
  ],
  "category": "image",
  "urls": {
    "page": "https://gizza.ai/tools/geojson-to-svg/",
    "markdown": "https://gizza.ai/tools/geojson-to-svg/index.md",
    "descriptor": "https://gizza.ai/tools/geojson-to-svg/tool.json",
    "deep_link_example": "https://gizza.ai/tools/geojson-to-svg/?geojson=%7B%0A%20%20%22type%22%3A%20%22FeatureCollection%22%2C%0A%20%20%22features%22%3A%20%5B%0A%20%20%20%20%7B%20%22type%22%3A%20%22Feature%22%2C%20%22geometry%22%3A%20%7B%20%22type%22%3A%20%22Polygon%22%2C%20%22coordinates%22%3A%20%5B%5B%5B0%2C0%5D%2C%5B10%2C0%5D%2C%5B10%2C10%5D%2C%5B0%2C10%5D%2C%5B0%2C0%5D%5D%5D%20%7D%2C%20%22properties%22%3A%20%7B%7D%20%7D%0A%20%20%5D%0A%7D&width=800&fill=%23cfe8ff&stroke=%231f6feb&stroke_width=1&point_radius=4&background=%23ffffff&projection=mercator"
  },
  "cli": "gizza tool geojson-to-svg '{\n  \"type\": \"FeatureCollection\",\n  \"features\": [\n    { \"type\": \"Feature\", \"geometry\": { \"type\": \"Polygon\", \"coordinates\": [[[0,0],[10,0],[10,10],[0,10],[0,0]]] }, \"properties\": {} }\n  ]\n}'",
  "tool": {
    "description": "Render GeoJSON features into a standalone SVG map — no tile servers, no network. Pass `geojson` as a FeatureCollection, a single Feature, or a bare geometry; coordinates are [longitude, latitude]. Polygons are filled, lines stroked, points drawn as circles. Optional width/fill/stroke/stroke_width/point_radius/background and projection (mercator|none) control the look. Returns the SVG markup as text.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "background": {
          "default": "#ffffff",
          "type": "string"
        },
        "fill": {
          "default": "#cfe8ff",
          "type": "string"
        },
        "geojson": {
          "type": "string"
        },
        "point_radius": {
          "default": 4.0,
          "maximum": 100,
          "minimum": 0.1,
          "type": "number"
        },
        "projection": {
          "default": "mercator",
          "enum": [
            "mercator",
            "none"
          ],
          "type": "string"
        },
        "stroke": {
          "default": "#1f6feb",
          "type": "string"
        },
        "stroke_width": {
          "default": 1.0,
          "maximum": 50,
          "minimum": 0,
          "type": "number"
        },
        "width": {
          "default": 800.0,
          "maximum": 4096,
          "minimum": 16,
          "type": "number"
        }
      },
      "required": [
        "geojson"
      ],
      "type": "object"
    }
  }
}