<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<span>Hi Seth,<br>
</span>
<div>​</div>
<div>Thanks for your reply!​</div>
<div>Yes, the modification of Mapfiles through an API is what I'm looking for.​</div>
<div>We are thinking of replacing GeoServer instances by MapServer.​</div>
<div>So the geo-data will be retrieved by using the OGC WMS and WFS-requests.​</div>
<div>Currently, we can change configuration through the GeoServer REST API.​</div>
<div>I will defintely look into the mappyfile library, to see if we can recreate that functionality.​</div>
<div>​</div>
<div>Kind regards,​</div>
<span>Damien</span>
<div>
<div id="appendonsend" style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
</div>
<div style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>Van:</b> mapserver-users <mapserver-users-bounces@lists.osgeo.org> namens Seth G <sethg@geographika.co.uk><br>
<b>Verzonden:</b> woensdag 2 oktober 2019 12:49<br>
<b>Aan:</b> mapserver-users@lists.osgeo.org <mapserver-users@lists.osgeo.org><br>
<b>Onderwerp:</b> Re: [mapserver-users] MapServer Rest API</font>
<div> </div>
</div>
<div>
<div>Hi Damien,<br>
</div>
<div><br>
</div>
<div>So the REST API is more for modifying Mapfiles rather than accessing data?<br>
</div>
<div>The latter looks like it will gradually happen with the implementation of the OGC Features API.<br>
</div>
<div>See <a href="https://github.com/geopython/pygeoapi">https://github.com/geopython/pygeoapi</a> for an example.
<br>
</div>
<div><br>
</div>
<div>I've not heard of <a href="https://github.com/neogeo-technologies/mra">https://github.com/neogeo-technologies/mra</a> before. Looks like there was a recent bug fix so maybe still active? I'm unaware of any others.
<br>
</div>
<div><br>
</div>
<div>I sometimes make dynamic maps by storing a Python dict object and manipulating it based on requests and using
<a href="https://mappyfile.readthedocs.io">https://mappyfile.readthedocs.io</a> to write back to a Mapfile.<br>
</div>
<div><br>
</div>
<div>Seth<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div id="x_sig62266145">
<div class="x_signature">--<br>
</div>
<div class="x_signature">web:http://geographika.co.uk<br>
</div>
<div class="x_signature">twitter: @geographika<br>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>On Tue, Oct 1, 2019, at 1:26 PM, Damien Mulder wrote:<br>
</div>
<blockquote id="x_qt" type="cite">
<div style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
<span>
<div><span>Hi all,<br>
</span></div>
<div><br>
</div>
<div>I'm currently looking if it is possible to dynamically create a MapServer configuration, preferably through a REST API.<br>
</div>
<div>This was previously discussed in: http://osgeo-org.1560.x6.nabble.com/REST-config-API-td4257211.html.<br>
</div>
<div><br>
</div>
<div>A MapServer Rest API (MRA) does exist on https://github.com/neogeo-technologies/mra, but I can't find much mention of this by other users.<br>
</div>
<div>Does anyone have experience using this API?<br>
</div>
<div>Or is anyone familiar with another way to dynamically create/update mapserver mapfiles?<br>
</div>
<div><br>
</div>
<div>Kind regards,<br>
</div>
<div><span>Damien Mulder</span><br>
</div>
</span></div>
<div>_______________________________________________<br>
</div>
<div>mapserver-users mailing list<br>
</div>
<div>mapserver-users@lists.osgeo.org<br>
</div>
<div>https://lists.osgeo.org/mailman/listinfo/mapserver-users<br>
</div>
</blockquote>
<div><br>
</div>
</div>
</div>
</body>
</html>