# Configuring mapserver locally for worldmap node

**URL:** <https://discourse.nodered.org/t/configuring-mapserver-locally-for-worldmap-node/64720>\
**Category:** General\
**Created:** [5 July 2022 14:01 UTC](https://discourse.nodered.org/t/configuring-mapserver-locally-for-worldmap-node/64720 "2022-07-05T14:01:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![miladmrm](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@miladmrm](https://discourse.nodered.org/u/miladmrm)\
**Post date:** [5 July 2022 14:01 UTC](https://discourse.nodered.org/t/configuring-mapserver-locally-for-worldmap-node/64720/1 "2022-07-05T14:01:11Z")

</div>

I know this question is not very related to Node-Red, but I want to know if anyone has experience in this topic and was able to do this?  
According to my scenario, the server not being connected to the internet, I need my map to work locally. I did all the installations and configurations related to the map server, and according to [this article](http://www.yolinux.com/TUTORIALS/GIS-Servers-MapServer.html), I was able to run a .shp map locally. However, according to the section related to configuring the map server locally in the [worldmap document](https://github.com/dceejay/RedMap#using-a-local-map-server-wms-server), I do not know exactly what settings to make to connect the world map to the local map. I would be grateful if you could guide me.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [5 July 2022 14:16 UTC](https://discourse.nodered.org/t/configuring-mapserver-locally-for-worldmap-node/64720/2 "2022-07-05T14:16:22Z")

</div>

Is this just a continuation of [Using the world map in offline mode](https://discourse.nodered.org/t/using-the-world-map-in-offline-mode/64625)?

Why are you opening another thread?

---

<div class="post-metadata">

**Author:** ![miladmrm](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@miladmrm](https://discourse.nodered.org/u/miladmrm)\
**Post date:** [5 July 2022 14:29 UTC](https://discourse.nodered.org/t/configuring-mapserver-locally-for-worldmap-node/64720/3 "2022-07-05T14:29:29Z")

</div>

In the previous topic, I was not very familiar with how to create a map server and I thought that it would be possible to work with existing docker images. But later on, I realized that tasks such as showing the locations on the map, forming a polygon from several locations, marking on the map and taking the location from it and etc. are difficult and require a lot of coding (for customize it). Meanwhile, the world map is compatible with the map server, and all these tasks are simple if you use the map server. Therefore, I looked for using the map server in local mode to communicate with the world map, and the question raised in this topic is related to this issue, because it has not been discussed in detail in any topic, and I thought maybe someone has done this and could guide me.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [5 July 2022 18:10 UTC](https://discourse.nodered.org/t/configuring-mapserver-locally-for-worldmap-node/64720/4 "2022-07-05T18:10:37Z")

</div>

Which map server did you end up using? It should give you an example url to load tiles with notation like [http://server/{x}/{y}/{z}.png](http://server/%7Bx%7D/%7By%7D/%7Bz%7D.png)

---

<div class="post-metadata">

**Author:** ![miladmrm](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@miladmrm](https://discourse.nodered.org/u/miladmrm)\
**Post date:** [6 July 2022 04:05 UTC](https://discourse.nodered.org/t/configuring-mapserver-locally-for-worldmap-node/64720/5 "2022-07-06T04:05:34Z")

</div>

I used `maptiler/tileserver-gl`, `overv/openstreetmap-tile-server` and `camptocamp/mapserver` . After creating their container, the map was displayed on their port, no problem. But my problem and question is that in order to be able to use them in node-red, I have to use `HTTP` node because they cannot be used with `worldmap` node and I lose many of its features when I don't use the `worldmap` node, like creating a polygon using multiple locations, etc (interacting with the map). That's why I wanted to setup the map server that the `worldmap` works with locally (according to [this](https://github.com/dceejay/RedMap#using-a-local-map-server-wms-server)) and I had a problem how to connect the world map to the local map server (with configs details like `.map` file and other requirements).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [4 September 2022 04:06 UTC](https://discourse.nodered.org/t/configuring-mapserver-locally-for-worldmap-node/64720/6 "2022-09-04T04:06:14Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
