Drawings & engineering

Shapefile, GeoJSON & KML: online viewer for .shp .geojson .kml .kmz and more

Thumbnails, composition and references for Shapefile, GeoJSON, KML, KMZ and GPX, with flat vector previews and 3D views of models packed in KMZ.

Formats
  • .shp
  • .geojson
  • .kml
  • .kmz
  • .gpx
GIS vectors01 / 02

GIS vectors01 / 02

Viewing GIS vectors in Vormio, screenshot 1 of 2

Capabilities

What it reads and its limits

Look at geographic vector data right in your folders: ESRI shapefiles (.shp), GeoJSON, KML and KMZ, and GPX. You get thumbnails with a transparent background, a flat preview you can zoom and pan, and the composition, references and properties. Files are only ever read, and the plugin never goes online.

  • Shapefile: the composition shows the shape type in the header, the extent and the number of records. The shape types are Point, PolyLine, Polygon and MultiPoint, their Z and M versions, and MultiPatch. It also shows the coordinate system named in the .prj and the DBF fields (name, type and width). The .shx (index), .dbf (attribute table), .prj (coordinate system) and .cpg (character encoding) next to it are listed as references, and any that are not there are marked as missing. The composition and the viewer only read the ones in the same folder as the .shp. In the desktop app, a same-named file elsewhere marks the reference “Found by name”, but that file is not read. The viewer can show the first 200 rows of the DBF.
  • DBF encoding: the DBF is read in the encoding the .cpg names, and spellings such as UTF-8, GBK, 936 and ANSI 1252 are all understood. Without a .cpg, the language driver byte in the DBF header decides, which is how ArcGIS on Chinese Windows marks GBK. With neither, the text is read as windows-1252, and a note says so when it holds non-English text.
  • GeoJSON: the number of features, the geometry types and their counts, and the extent. The coordinate system is WGS 84, as RFC 7946 says. When a file in the older format has a crs member (such as EPSG:3857), the plugin reports what it says.
  • KML and KMZ: folders and placemarks, the number of points, lines, polygons and 3D models (Model), and the extent. Every href is listed as a reference, with icons in styles, overlay images, network links and models told apart. A KMZ is read from its doc.kml, or from its first KML file when there is no doc.kml. Files inside the archive are not external references, and addresses starting with ../ point to the folder the KMZ is in. Collada models (.dae) inside the archive are listed in the composition. KMZ files exported this way from SketchUp or Google Earth have no lines or polygons, so the thumbnail and the viewer show the first model, which you can orbit and zoom, with its textures found in the archive.
  • GPX: tracks, routes and waypoints. The inspector shows the duration. It is the time between the first and last point of the longest track or route, so the time between separate tracks does not count.
  • Viewer and thumbnails: points, lines and polygons are drawn flat in the file's coordinates, with no basemap and no reprojection. Longitude and latitude are used as plane coordinates. Drag to pan and scroll to zoom, or use the arrow keys, + and −. Files with nothing to draw, such as a KML of network links only, have no thumbnail, and the viewer says so.

When a file cannot be read, the plugin says why: it is empty, not in this format, incomplete, damaged or over a limit. A damaged .dbf does not affect what the .shp itself reports, and a note says what is wrong with the .dbf.

Not read

  • KML styles and colours, overlay images, gx:Track and altitude are not drawn. Of 3D models, only Collada models inside a KMZ are drawn, and only when there are no lines or polygons; they are not placed at their coordinates or drawn together with points, lines and polygons. Network links are listed as references and never followed. KML files in a KMZ other than the first are not read, and a note says how many there are.
  • Shapefile MultiPatch records are 3D patches, and the plugin only joins their parts into lines in XY. Z and M values are not used. DBF memo fields (.dbt) are not read.
  • The plugin does not support encrypted KMZ files or compression other than deflate.
  • DBF text is read only in the encodings used on the web, which include UTF-8, GBK, Big5, Shift_JIS and windows-1252. Other encodings, such as DOS code page 437, cannot be read: the fields are not listed, and a note names the encoding.
  • The plugin does not edit files or run GIS operations.

Limits

  • GeoJSON, KML, GPX and the KML inside a KMZ can be up to 32 MiB. They are read whole and parsed in the plugin's own background thread, so the window stays usable while a large file is read. Shapefiles have no such limit, because analysis reads only the file header and no geometry. The record count comes from the .shx, or from each record header when there is no .shx.
  • The preview draws at most 1,000,000 points and 100,000 shapes, and beyond that only the first shapes. While the points drawn so far are fewer than half that limit, the shape that does not fit is drawn thinned out. The viewer says what is not drawn.
  • Shapefile records larger than 64 MiB are not read. The preview stops before such a record, and when no shape comes before it, the file has no thumbnail. When such a record has no points, which only happens in a damaged file, the preview skips just that record.

Samples

All samples use physical, geophysical or measured GPS data with no country or administrative boundaries: upstream open-source files include cerknicko-jezero.gpx (measured Slovenia hike from gpxpy, Apache-2.0), iceland-heatflow.kmz and earthquakes-2012.kml (OpenLayers Iceland heat-flow and 2012 M5+ earthquakes, BSD-2-Clause), and unmodified Natural Earth (Public Domain) world-rivers.shp and world-lakes.geojson; clipped Florida fixtures (including GBK-encoded places.shp, missing sidecar/overlay examples and Kenney's bathtub landmark.kmz) remain for encoding and missing-reference cases. Sources and licences are in samples/README.txt.

Where to inspect

Choose how to inspect your files

Start in your browser

The web app reads one local folder at a time. UID / GUID references are marked “Not checked”.

Working across folders?

Desktop links multiple folders, filters by properties, shows what references a file and watches for changes.

Related formats

Related formats