No success yet, unfortunately. Petrovicz
On Mon, Jan 3, 2022, 20:04 Brent Fraser <[email protected]> wrote: > Hi Petrovicz, > > Have you had any success solving your problem? > > Best regards, > > Brent > > > Best Regards, > Brent Fraser > > On 2021-12-30 4:29 AM, Benedek Petrovicz via MS4W-Users wrote: > > Hi! > > I'm trying to add an MVT layer to my Mapfile, but it doesn't work and I > ran out of ideas. > Some info about the layer I'm trying to add: > *https://support.regrid.com/articles/using-the-tileserver/ > <https://support.regrid.com/articles/using-the-tileserver/>* > > This is my LAYER definition in my Mapfile (based on the guidance of > *https://gdal.org/drivers/vector/mvt.html > <https://gdal.org/drivers/vector/mvt.html>* and > *https://mapserver.org/input/vector/ogr.html > <https://mapserver.org/input/vector/ogr.html>*) > LAYER > NAME "Parcel" > TYPE POLYGON > CONNECTIONTYPE OGR > CONNECTION "MVT:https://tiles.regrid.com/api/v1/parcels/{z}" > DATA "parcels" > STATUS ON > END > > *By debugging the layer I get the following logs:* > [Thu Dec 30 12:17:42 2021].906000 msOGRFileOpen(MVT: > https://tiles.regrid.com/api/v1/parcels/{z})... > [Thu Dec 30 12:17:42 2021].906000 OGROPen(MVT: > https://tiles.regrid.com/api/v1/parcels/{z}) > [Thu Dec 30 12:17:43 2021].133000 msOGRFileOpen(): OGR error. Open > failed for OGR connection in layer `Parcel'. File not found or unsupported > format. Check server logs. > [Thu Dec 30 12:17:43 2021].133000 msDrawMap(): Image handling error. > Failed to draw layer named 'Parcel'. > [Thu Dec 30 12:17:43 2021].134000 freeLayer(): freeing layer at > 01012900. > > I'm expecting this to work because the following *ogrinfo *command runs > without any issues: > *ogrinfo "MVT:https://tiles.regrid.com/api/v1/parcels/14/3579/6522.mvt > <https://tiles.regrid.com/api/v1/parcels/14/3579/6522.mvt>" parcels* > > I couldn't find a single example online about adding an MVT layer to a > Mapfile. > > Is there anyone who could prompt me in the right direction or just have a > working example? > > Thanks in advance > Petrovicz > > _______________________________________________ > MS4W-Users mailing > [email protected]https://lists.ms4w.com/mailman/listinfo/ms4w-users > >
_______________________________________________ MS4W-Users mailing list [email protected] https://lists.ms4w.com/mailman/listinfo/ms4w-users
