<commit_before>---
title: OpenStreetMapProvider
page_title: OpenStreetMapProvider | RadMap
description: RadMap can visualize tile data from the Bing Maps and the OpenStreetMaps REST service as well as from the local file system.
slug: winforms/map/providers/openstreetmapprovider
tags: map, providers
published: True
position: 2 
---

# OpenStreetMapProvider

__RadMap__ can visualize data from the [OpenStreetMaps](http://wiki.openstreetmap.org/wiki/API) REST services.  It supports data caching to a local folder, which can be enabled by setting a new __LocalFileCacheProvider__ to the OpenStreetMapProvider.__CacheProvider__ property.

>caption Figure 1: OpenStreetMapProvider 

![map-openstreetmapprovider 001](images/map-openstreetmapprovider001.png)

#### Using OpenStreetMapProvider

{{source=..\SamplesCS\Map\OSMProvider.cs region=UseOSMProvider}} <commit_msg>Small touch up to the text of the article.<commit_after>---
title: OpenStreetMapProvider
page_title: OpenStreetMapProvider | RadMap
description: RadMap can visualize tile data from the Bing Maps and the OpenStreetMaps REST service as well as from the local file system.
slug: winforms/map/providers/openstreetmapprovider
tags: map, providers
published: True
position: 2 
---

# OpenStreetMapProvider

__RadMap__ can visualize data from the [OpenStreetMaps](http://wiki.openstreetmap.org/wiki/API) REST services.  You can enable tile caching to a local folder setting a new __LocalFileCacheProvider__ to the OpenStreetMapProvider.__CacheProvider__ property.

>caption Figure 1: OpenStreetMapProvider 

![map-openstreetmapprovider 001](images/map-openstreetmapprovider001.png)

#### Using OpenStreetMapProvider

{{source=..\SamplesCS\Map\OSMProvider.cs region=UseOSMProvider}} 
{'fraction_non_alphanumeric': 0.07458405048766495, 'fraction_numerical': 0.009179575444635685, 'mean_word_length': 6.032258064516129, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3732460', 'n_tokens_mistral': 543, 'n_tokens_neox': 484, 'n_words': 162}