Formats

Eight file formats, read directly

MapCrafter reads Excel, CSV, KML, KMZ, GPX, GeoJSON, TopoJSON and zipped Shapefile without a conversion step. This page is about the difference between them: what each one can carry, what it quietly loses, and which to export from whatever produced your data.

Which format for which job

The honest summary of a comparison that usually gets reduced to “use GeoJSON”.

Map file formats compared by capability and limitation
FormatCarriesLosesBest for
CSVPoints, lines or polygons from coordinate or geometry columnsEverything structural: no types, no projection, no geometryExports from a database or dashboard
ExcelPoints, lines or polygons from coordinate or geometry columnsFormulas are read as values; merged cells break the tableData that lives in a spreadsheet already
KMLPoints, lines, polygons, folders, stylingNetwork links and time animation are not geometryAnything drawn in Google Earth
KMZThe same as KML, compressed with its imagesCustom raster icons are replaced with vector markersSending a KML with images attached
GPXLines and points, with elevation and timestampsNo polygons, no attributes beyond the GPX vocabularyRecorded tracks from a device
GeoJSONPoints, lines, polygons, mixed, arbitrary propertiesNothing, but file size grows quickly with precisionAnything web-facing; the native format here
TopoJSONThe same as GeoJSON, with shared arcs stored onceNot directly renderable; needs converting firstBoundary files that must stay small
ShapefileOne geometry type per file, with attributesField names past ten characters, nulls, booleans, curvesData from a government agency or desktop GIS

Format guides

Each guide covers what the format is, what MapCrafter reads from it, and the problems it actually causes — coordinate order in KML, field name truncation in Shapefile, byte order marks in CSV.

What every format has in common here

  • Files are parsed in your browser and are not uploaded.
  • Geometry is detected rather than declared, wherever it lives.
  • Rows that cannot be placed are counted and reported, never dropped quietly.
  • Coordinates outside the valid range are flagged, because that usually means a projected system rather than bad data.

What no format carries

  • A projection, except Shapefile — everything is assumed to be WGS84.
  • Column types, except in Excel and Shapefile.
  • Any guarantee that a “latitude” column holds latitudes.

Format questions

Which map file format should I use?
GeoJSON if you are choosing, because it carries any geometry and arbitrary properties, is readable as text, and every web tool accepts it. TopoJSON when the file has shared boundaries and size matters, which for world or national boundaries is a factor of four or five. Shapefile only when a source only publishes that.
What is the difference between KML and GeoJSON?
Both carry points, lines and polygons with attributes. KML is XML, from Google Earth, and carries display styling and folder structure as part of the format. GeoJSON is JSON, from the web mapping world, is smaller for the same geometry, and stores properties as plain JSON with no styling attached.
What does a Shapefile lose compared with GeoJSON?
Attribute names are truncated to ten characters, there is no boolean or null type, no support for curves, one geometry type per file, and the projection lives in a separate .prj file that is often lost. Going GeoJSON to Shapefile and back is lossy in ways that are not obvious until you look at the columns.
Can MapCrafter read a file that has no coordinates?
Address-like columns are retained for an explicit geocoding step in the layer inspector. A separate region-value table is not automatically joined to built-in boundaries. Supply geometry or prepare the join before importing.
Do I need to convert my file before importing?
No. All eight formats are read directly, including KMZ archives and zipped Shapefile sets, which are unpacked in the browser. There is no conversion step and nothing to install.
Which format is smallest?
TopoJSON, typically by a factor of four or five over the equivalent GeoJSON, because shared borders are stored once and coordinates are quantised to integers. For a world boundary file that is the difference between a slow first paint and a fast one.

Bring the file you already have

Whichever of the eight it is, the geometry gets detected and a starting style gets applied. No conversion, no desktop software, no card.

Open the studio