Source: https://developers.woosmap.com/products/localities/concepts/geographic-shapes/

> For clean Markdown of any page, append `.md` to the page URL.

> For a complete documentation index, see https://developers.woosmap.com/llms.txt

# Geographic Shapes



## Geographic Boundary Polygons

When requesting locations with [Localities Details](/products/localities/features/details/), you can retrieve geometric boundary polygons for:

- **Cities** - City boundaries (e.g., Paris, Nîmes, London, Tokyo)
- **Administrative divisions** - Regions, departments, districts (e.g., Gard, Occitanie in France)
- **Countries** - National boundaries

Use the `fields=geometry` parameter to include the location’s boundary shape in your Details API response.

## Example

https://demo.woosmap.com/js-samples/samples/localities-api-shape/app/dist/
[](https://demo.woosmap.com/js-samples/samples/localities-api-shape/highlight/highlight.html "Open in new tab with highlighted code")
Try sample 

- [CodeSandbox](https://codesandbox.io/p/devbox/github/woosmap/js-samples/tree/master/dist/samples/localities-api-shape/app?file=index.ts)
- [JsFiddle](https://jsfiddle.net/gh/get/library/pure/woosmap/js-samples/tree/master/dist/samples/localities-api-shape/jsfiddle)
- [Clone on Github](https://github.com/Woosmap/js-samples/tree/sample/localities-api-shape)

## Supported Countries

- Andorra (ad)
- Albania (al)
- Angola (ao)
- Austria (at)
- Bosnia and Herzegovina (ba)
- Belgium (be)
- Bulgaria (bg)
- Saint Barthélemy (bl)
- Bolivia (bo)
- Brazil (br)
- Bhutan (bt)
- Switzerland (ch)
- Chile (cl)
- Colombia (co)
- Cuba (cu)
- Czech Republic (cz)
- Germany (de)
- Denmark (dk)
- Dominican Republic (do)
- Estonia (ee)
- Western Sahara (eh)
- Spain (es)
- Finland (fi)
- Faroe Islands (fo)
- France (fr)
- French Guiana (gf)
- Gibraltar (gi)
- Greenland (gl)
- Guinea (gn)
- Guadeloupe (gp)
- Greece (gr)
- Guatemala (gt)
- Honduras (hn)
- Croatia (hr)
- Hungary (hu)
- Ireland (ie)
- Iceland (is)
- Italy (it)
- Japan (jp)
- Kosovo (ks)
- Liechtenstein (li)
- Lithuania (lt)
- Luxembourg (lu)
- Morocco (ma)
- Monaco (mc)
- Moldova (md)
- Montenegro (me)
- Saint Martin (French part) (mf)
- North Macedonia (mk)
- Martinique (mq)
- Malta (mt)
- Mexico (mx)
- Nicaragua (ni)
- Netherlands (nl)
- Svalbard (Norway) (nn02)
- Jan Mayen (Norway) (nn09)
- Norway (no)
- Philippines (ph)
- Poland (pl)
- Portugal (pt)
- Qatar (qa)
- Réunion (re)
- Romania (ro)
- Serbia (rs)
- Sweden (se)
- Slovenia (si)
- Svalbard and Jan Mayen (sj)
- Slovakia (sk)
- San Marino (sm)
- El Salvador (sv)
- Venezuela (ve)
- Mayotte (yt)
- South Africa (za)
