Everything vectorstream does

Every tool of the editor on one page, grouped by task: what it does and where it stops. Each feature here can be tried in the playground.

At a glance

vectorstream is a geometry editor for web maps. It draws and edits points, lines and areas on Leaflet, OpenLayers or MapLibre GL, and where two areas on the same layer meet, it stores their border once, so an edit on one side is an edit on both. Shapes come in and go out as GeoJSON.

Editing model
Topology: shared borders are stored once
Map libraries
Leaflet, OpenLayers, MapLibre GL
Data
GeoJSON import with geometry check, GeoJSON export
Saving
Several documents, saved automatically in the browser
Parts
Free (MIT license) and Pro (proprietary license)
Status
Pre-release, no package published yet

Draw

Tools that put new points, lines and areas on the map.

Edit and transform

Tools that reshape, move, select, copy and remove what is already drawn.

Edit corners

Drag a corner to reshape the outline. A point on a line can be removed with Alt-click.

  • A corner where more than two edges meet cannot be removed.
  • Dragging a corner shared by two areas reshapes both.

Move

The transform tool moves the selected areas and points.

  • Shift-click extends the selection.
  • Lines are not moved with the transform tool.

Rotate and scale

The transform tool also rotates and scales the selected areas and points.

  • Drag the rotation handle to turn the selection around its centre.
  • Drag a corner handle to scale it.

Combine and split

Tools that cut, merge, split and thin out the areas you already have.

Topology and undo

How vectorstream keeps neighbouring areas together and takes back any step exactly.

Precision

Help for placing corners exactly where they belong.

Flush docking when moving

Move a polygon with the transform tool against a neighbour and it docks flush to that edge. From then on the two share the border.

  • Hold Alt while moving to place it without docking.
  • Undo separates the two areas again.

Layers and documents

How shapes are organised and kept between visits.

Data and maps

How shapes get in and out of vectorstream and which map libraries it runs on.

Free and Pro

What is free and what is Pro

Every tool and the topology are free. Pro adds the parts that check, preview and list rules between layers. Prices are on request.

Free (MIT license)

  • All tools: drawing, editing, moving, rotating, scaling, split, union, difference, cut with a polygon, simplify, copy, lasso and tracing
  • Topology with shared borders, snapping with guide lines, undo and redo, and the validity check
  • GeoJSON import and export, the export of the map as an image, and the toolbar in five languages
  • The adapters for Leaflet, OpenLayers and MapLibre GL
  • Two kinds of rule between layers, within and overlap-free, with the violations as data

Pro (proprietary license)

  • Ten more kinds of rule between layers, with attribute conditions and rules measured in meters
  • The red preview, which shows a refused action before it happens
  • The list of rule violations as a panel
  • Snapping onto the target layers of the rules
  • The incremental check, which judges again only the elements near an edit
  • The circle as a cutting shape

Pro plugs into the free editor. A document with Pro rules loses nothing in the free editor: the rules are kept and saved again, but not checked. The license check of Pro makes no network call.

Free and Pro in the handbook · Pro handbook · Pricing

Limits

What vectorstream does not do

vectorstream edits shapes. These answers from the FAQ say what it leaves to your application and to other systems.

Does vectorstream provide map data?

No. vectorstream contains no parcels, zones, boundaries or other reference data. Your application brings the data as GeoJSON and the base map from its own tile source, and vectorstream is where the shapes are drawn and corrected.

Does vectorstream check my zones against rules or regulations?

Only the rules between layers that you define. The free editor knows the kinds within and overlap-free, and Pro adds ten more. vectorstream knows no law, permit or regulation: whether a zone meets one is decided by the people and the systems that work with the exported GeoJSON.

Can vectorstream replace a GIS?

No. vectorstream is an editing component for web maps: it draws, edits, cuts, merges and splits shapes and keeps their borders consistent. Spatial analysis, map production and the record of the data stay in the GIS or the database that receives the GeoJSON.

What does pre-release mean for vectorstream?

Pre-release means that vectorstream works and can be tried in the playground, but nothing has been published yet: no package, no version and no price for Pro. The interface and the tools of vectorstream may still change before a release.

FAQ

Questions about the features

Which drawing tools does vectorstream have?
vectorstream draws polygons, rectangles, circles, lines, points, markers, text labels and freehand shapes, and it has triangle and star stamps. Further tools select, move, rotate and scale areas and points, copy and simplify areas, and a lasso selects several areas at once.
What does topology mean in vectorstream?
Topology means that vectorstream records which shapes touch: every corner and every border is stored once, and each area knows the borders around it. Moving a shared corner therefore reshapes every area that meets there, and vectorstream rejects an edit that would make two borders cross.
How does cutting work in vectorstream?
The cut tool of vectorstream (key S) removes a drawn shape from every area it covers, and the difference tool (key D) removes it only from the selected areas. Both cut from the outside in: the drawn shape has to reach across the outer edge of the areas, and vectorstream rejects a cut that would leave a piece in the middle of an area, with a message that says so.
Can vectorstream merge and split areas?
Yes. The union tool of vectorstream (key U) merges neighbouring areas that share at least one edge, and the split tool (key X) divides an area along a straight line between two of its corners. Areas that touch only at a single corner cannot be merged, and each merge or split is one step that a single undo takes back.
How does snapping work in vectorstream?
While you draw or edit, a new corner in vectorstream snaps onto nearby corners and edges, so neighbouring shapes meet exactly. The magnet button in the toolbar of the vectorstream editor switches snapping off, and holding Alt lifts it for a moment.

More questions

Try every feature in your browser.