MapServer
MapServer is an open source platform for publishing spatial data and interactive mapping applications to the web. MapServer allows you to render data from TileDB arrays and combine other sources and formats such as GeoJSON to render cartographic quality maps.
Installation
You can run the MapServer and TileDB examples as follows;
MapServer configuration
We will use the following MapServer mapfile;
And sample data from https://coast.noaa.gov/dataviewer/#/, in this case the 2017 NOAA NGS Ortho-rectified Oblique Imagery of the East Coast.
The use of CONNECTIONOPTIONS
is in the MapServer 8.0 release.
The following GDAL commands are used to produce a single tiledb array from multiple sources.
As in our TileDB and GDAL tutorials, we store the S3 credentials in an aws.config
file. Note that this aws.config
file should be stored in a location that is accessible by your web server but is not public.
To test rendering a map with MapServer we use the shp2img
command;
We have tested this mapfile on an AWS m5a.2xlarge
instance and successfully created a map from a query to a TileDB array stored on S3.
Last updated