<div dir="ltr"><div>Liron,</div><div><br></div><div>Since MapServer is built with GDAL / OGR you connect to most common formats without parsing, see <a href="https://www.mapserver.org/input/vector/ogr.html">https://www.mapserver.org/input/vector/ogr.html</a>.  However this does not include hand rolled JSON / XML, if possible retrieve GeoJSON or some other GDAL / OGR supported format from the API.  You may want to go through an extra step(s) of converting the data to a format that supports spatial indexing (like shapefile or geopackage) if working with large datasets.  Most of this can be done using a shell / batch scripting and command line tools (ogr2ogr and shptree).  BTW ogr does support direct connection to some API - like an ESRI feature server which can make the conversion "easy", however not all OGR supported formats work with MapServer<br></div><div><br></div><div><a href="https://gdal.org/drivers/vector/index.html">https://gdal.org/drivers/vector/index.html</a></div><div><br></div><div>Regards<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 1 Jan 2021 at 18:35, CHEN, LIRON (PGT) <<a href="mailto:l.chen.18@abdn.ac.uk" target="_blank">l.chen.18@abdn.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi and happy New Year!<br>
<br>
Im completely new to MapServer and not from a development background, but I hope its ok to ask for help here. Im a GIS postgraduate with some programming skill and Im trying to teach myself to set up a service that generates maps or layers when called on; but
 I want the service to generate them using the most recently published data from other web sources through their respective APIs. They mostly provide XML or JSON formatted spatial data. </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
Ill inevitably need to read up and practice a lot and thats fine. But can anyone point me towards the apps or functionalities that will eventually allow me to do this? Just because Im comfortable with C++ I had a look if I could import with libcurl and parse
 with that to something mapserver could use but I think thats taking a very long way round.. any help appreciated. </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Kind regards,<br>
Liron Chen</div>
<br>
<br>
The University of Aberdeen is a charity registered in Scotland, No SC013683.<br>
Tha Oilthigh Obar Dheathain na charthannas clàraichte ann an Alba, Àir. SC013683.
</div>

_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div>