Draw a route or area on the map and see exactly what it represents.
This free online tool lets you encode, decode, or edit the polyline/polygon and copy it straight into your requests—including Woosmap Static Maps, Store Search, and Datasets.
Draw a route or area on the map and see exactly what it represents.
This free online tool lets you encode, decode, or edit the polyline/polygon and copy it straight into your requests—including Woosmap Static Maps, Store Search, and Datasets.
Encode coordinate lists, decode polyline strings, and visualize complex geometries instantly.
Whether you are building a routing engine, defining a spatial request, searching along a path, or generating static map thumbnails, handling raw coordinates can be tedious.
The Woosmap Polyline Utility allows developers to easily convert between latitude/longitude lists and the standard Encoded Polyline Algorithm format.
Visualize your geometries on a map, edit them in real time, and copy the encoded string or GeoJSON anywhere you need them.

Draw: Click on the map to create points.
Edit: Remove created markers to adjust the shape.
Decode: Paste an encoded string to see it on the map.
Generate an encoded string to pass into the shape parameter.
Create polygones or polylines to feed your Nearby, Within, Contains or Intersect requests.
Copy/Paste the geometry string in the response to visually inspect the calculated route/isochrone.
The Encoded Polyline Algorithm is a lossy compression algorithm that allows you to store a series of coordinates as a single string. It is widely used because it significantly reduces the size of the payload when transferring geometry data over APIs.
The Logic:
A polyline is a continuous line composed of one or more line segments. It is used to represent a path, route, or boundary on a map by connecting a specific sequence of GPS coordinates (latitude and longitude).
While a single line connects just two points (Point A to Point B), a polyline connects a series of points (A to B to C to D).
The individual points that define the shape of the line are often called "nodes. Segments linking the nodes are usually called "vertices".
Because a polyline is made of straight segments between points, a polyline approximates curves. The more points you have, the smoother the curve looks (e.g., a winding road).
In digital mapping (like Woosmpa, Google Maps, Mapbox, or OpenStreetMap), polylines are the standard geometry type used to draw:
- Roads
- Rivers
- Transit lines
- Driving or walking directions
If you see a line on a digital map that bends, turns, or follows a specific path, you are looking at a polyline. It is the fundamental geometry used to visualize movement and linear infrastructure in the physical world.
To display your polyline on a static map without listing every single coordinate, you have to pass the encoded string into the polyline parameter. You must prefix the string with enc: so the API knows how to interpret it.
e.g. https://api.woosmap.com/maps/static?...&polylines{"enc":"{YOUR_ENCODED_STRING}","color":"blue",...
Yes. The Woosmap Polyline Utility uses the standard Encoded Polyline Algorithm. This means strings generated here are compatible with any system that supports this standard (often referred to as the "Google Polyline" format). You can freely decode strings from other APIs here or encode geometries to use elsewhere.
While the encoding algorithm is the same for both, the intended usage differs:
- Polylines are open paths (A to B), ideal for visualizing routes, directions, or road networks.
- Polygons are closed loops (the first and last points are connected), representing an area. These are used for defining Isochrones or Zones within the Woosmap platform.
This utility uses the standard precision of 5 decimal places. In the encoding process, latitude and longitude values are multiplied by 10⁵.
This provides a spatial resolution of approximately 1.1 meters at the equator, which is sufficiently precise for most navigation, routing, and geofencing use cases.
Using raw coordinates (e.g., lat,lng|lat,lng...) can quickly result in very long URLs. Most web browsers and servers have a URL character limit (often around 2,048 characters).
Encoding compresses your geometry data, allowing you to pass complex paths with hundreds of points through a URL-based API like Woosmap Static Maps without hitting these limits.
Polyline: An open shape. It has a start point and an end point that do not connect. (Example: A road trip route).
Polygon: A closed shape. The first point and the last point are the same, enclosing an area. (Example: A delivery zone or geofence).
Let's discuss how you can utilise the Woosmap Platform to drive growth.