Using OpenStreetMap in Iran

I have developed a real estate android app using openstreetmap in Iran. when i run the app the map does not load but when i connect vpn it loads and works perfectly. is openstreetmap restricted in Iran? how can i solve the problem?

what error do you get? Iā€™d suggest trying to describe in more detail what problem you are getting. What URLs are you trying to access?

Not by OpenStreetMap directly.

OpenStreetMap is essentially just a big pile of data. The maps that you see on the OpenStreetMap website are just examples of maps made with that data. It would be entirely possible to download the data that you want, create e.g. raster tiles** from that and host it in Iran. Doing it that way the conversation is only between your client, your server (and presumably your Iranian ISP and the Iranian government in between).

** not the best sort of way to provide data to an Android app, to be honest. Options include hosted vector tiles (e.g. in Iran) or even in-app.

2 Likes