[MapServer-users] Vector tileindex with connectiontype OGR

2022-12-06 Thread Peter Schmitt
Hi, How do I get a vector tileindex working with another Mapserver layer as the tileindex? I have the following tindex.geojson: {

[MapServer-users] WFS output geojson - missing column with null values

2022-12-06 Thread PE Lord via MapServer-users
I runmapserver7.6.4 compiled with gdal 3.2.1. When I output various formats (CSV/KML/GPKG) from my layer (gpkg based), the requested features are properly returned. In the case of an ogroutput in geojson format, some of mycolumns are not returned.The missing column are those with null values.

Re: [MapServer-users] How do I use an SQL query in a Postgis tileindex of vector files?

2022-12-06 Thread Scott
Your connectiontype is ogr, you need postgis for a query CONNECTIONTYPE POSTGIS On 12/6/22 10:39, Peter Schmitt wrote: Hi, How do I get a tileindex of vector files working from data in a Postgis database and accessed via an SQL query of my choosing? I would like to make a vector tile

[MapServer-users] How do I use an SQL query in a Postgis tileindex of vector files?

2022-12-06 Thread Peter Schmitt
Hi, How do I get a tileindex of vector files working from data in a Postgis database and accessed via an SQL query of my choosing? I would like to make a vector tile index as described at https://mapserver.org/optimization/vector.html#index-your-data using data stored in a Postgis database and a

Re: [MapServer-users] Problems with vrt created from GCP raster

2022-12-06 Thread Scott
The only thing I can think of is create an entirely new .tif from your gcp .tif, then it shouldn't be a problem. However, this could result a very large set of new sentinel tifs. Bad. On 12/6/22 10:07, Marcin Niemyjski wrote: Scott, 1. gdalbuildvrt doesnt work with raster georeferenced by

Re: [MapServer-users] Problems with vrt created from GCP raster

2022-12-06 Thread Marcin Niemyjski via MapServer-users
Scott, 1. gdalbuildvrt doesnt work with raster georeferenced by ground control points. Thats why I am using gdal warp -> https://gis.stackexchange.com/questions/283595/transform-rectify-unprojected-raster-using-target-extent-co-ordinates 2. Source files are already in cloud optimized

Re: [MapServer-users] Problems with vrt created from GCP raster

2022-12-06 Thread Scott
My "first is worst" suggestion would be to create a .vrt for each day: gdalbuildvrt Day1.vrt [date]*.tif gdalbuildvrt Day2.vrt [date]*.tif ... Next, in your .map file use runtime substitution: DATA "/file/path/Day%day%.vrt" If you really want to make this fast, convert all your source .tif's

[MapServer-users] Problems with vrt created from GCP raster

2022-12-06 Thread Marcin Niemyjski via MapServer-users
Hello, up to now, I have been working with VRT as a carrier for the rasters I wanted to use in the mapfile. Now in order to use the rasters that were provided to me (they are GCP georeferenced rasters) I have to convert them to VRT (via gdal warp), hence my question - how can I mosaic the