Re: [MapServer-users] [EXTERNAL] Vector tileindex with connectiontype OGR

2022-12-07 Thread Rahkonen Jukka
Hi, We are using the ”layer-as-a-tileindex” method right now with a bit older Mapserver version and with native POSTGIS connection type. In the orthophoto layer we use LAYER GROUP "ortokuva" NAME "ortokuva_r16" STATUS ON TILEINDEX

Re: [MapServer-users] [EXTERNAL] Vector tileindex with connectiontype OGR

2022-12-07 Thread Peter Schmitt
On Wed, Dec 7, 2022 at 4:17 PM Even Rouault wrote: > How do I specify such a query using the OGR PG driver as a Mapserver layer > to be used as a TILEINDEX of OGR vector files? > > A potential solution would be to create a OGR VRT file that contains your > SQL request, and reference that VRT

Re: [MapServer-users] [EXTERNAL] Vector tileindex with connectiontype OGR

2022-12-07 Thread Even Rouault
Pete, How do I specify such a query using the OGR PG driver as a Mapserver layer to be used as a TILEINDEX of OGR vector files? A potential solution would be to create a OGR VRT file that contains your SQL request, and reference that VRT file in the TILEINDEX        

Re: [MapServer-users] [EXTERNAL] Vector tileindex with connectiontype OGR

2022-12-07 Thread Peter Schmitt
Hi Jukka, On Wed, Dec 7, 2022 at 12:18 PM Rahkonen Jukka < jukka.rahko...@maanmittauslaitos.fi> wrote: > “OGR layers can utilize tile indexes in a similar fashion to Shapefile > based layers. The TILEINDEX keyword should contain the connection string > for the tile index file. The tile index

Re: [MapServer-users] Filled SVG symbol after switching to Mapserver 8

2022-12-07 Thread Lime, Steve D (MNIT) via MapServer-users
Interestingly the SVG-related regression tests all pass using a more complex SVG file than what you had shared. Using 8.0, the msautotest/misc/data/Road_Works.svg (https://github.com/MapServer/MapServer/blob/branch-8-0/msautotest/misc/data/Road_Works.svg) file renders fine as a point symbol

Re: [MapServer-users] [EXTERNAL] Vector tileindex with connectiontype OGR

2022-12-07 Thread Rahkonen Jukka
Hi, I made some tests and noticed that the OGR tileindex does not need to be a shapefile but GeoPackage worked as well. Actully what did not work was to make a vector layer from tileindex that was saved into GeoPackage and to use that layer in TILEINDEX. And then I noticed that this behavior

Re: [MapServer-users] Filled SVG symbol after switching to Mapserver 8

2022-12-07 Thread Marcin Niemyjski via MapServer-users
I am using the camptocamp/mapserver 8 image. I have not changed anything in the default configuration provided as part of the image. Wysyłane z aplikacji Outlook dla systemu iOS Od: Lime, Steve D (MNIT) Wysłane: Wednesday, December 7, 2022

Re: [MapServer-users] Filled SVG symbol after switching to Mapserver 8

2022-12-07 Thread Lime, Steve D (MNIT) via MapServer-users
Which SVG library are you using - RSVG or Cairo? From: Marcin Niemyjski Sent: Wednesday, December 7, 2022 9:38 AM To: Lime, Steve D (MNIT) ; Marcin Niemyjski via MapServer-users Subject: Re: Filled SVG symbol after switching to Mapserver 8 Steve, link to my svgs:

Re: [MapServer-users] [EXTERNAL] Vector tileindex with connectiontype OGR

2022-12-07 Thread Peter Schmitt
On Wed, Dec 7, 2022 at 1:16 AM Schylberg Lars wrote: > The important thing is to have a one layer for the actual tile index, that has status off and one layer that is using the tile index layer. Thanks for the message, Lars! This gave me another idea to debug. When I set DEBUG 5 and request

Re: [MapServer-users] Filled SVG symbol after switching to Mapserver 8

2022-12-07 Thread Marcin Niemyjski via MapServer-users
Steve, link to my svgs: https://cloudferro-my.sharepoint.com/:f:/p/mniemyjski/EobJZb14qXRHj34634dWZdgBnZa3r7Qztx4-Z2HVFvZO9A?e=L2hCXj Thanks, Marcin From: Lime, Steve D (MNIT) Sent: Wednesday, December 7, 2022 4:33 PM To: Marcin Niemyjski ; Marcin Niemyjski via

Re: [MapServer-users] Filled SVG symbol after switching to Mapserver 8

2022-12-07 Thread Lime, Steve D (MNIT) via MapServer-users
Hmmm... I'm not aware of any obvious changes between v.7 and v.8 that would account for the change and nothing jumps out looking at your mapfile. Would you be able to share one of your SVG graphics? --Steve From: MapServer-users On Behalf Of Marcin Niemyjski via MapServer-users Sent:

Re: [MapServer-users] fix tutorial? (Re: GetFeatureInfo html template)

2022-12-07 Thread Jeff McKenna
On 2022-12-07 8:26 a.m., Jörg Thomsen (WhereGroup) wrote: Hi, Am 07.12.22 um 11:44 schrieb Marcin Niemyjski via MapServer-users: Hello, I'm looking for tutorial of enabling GetFeatureInfo requests of WMS. I would be grateful for any example of code of .tmpl file. What I want to do is simple

[MapServer-users] Filled SVG symbol after switching to Mapserver 8

2022-12-07 Thread Marcin Niemyjski via MapServer-users
Hello, after switching to Mapserver 8 my svg symbols started to be rendered as filled: how it looks now: https://pasteboard.co/4K4CIEW6oFIm.png how it was looking (the good way): https://pasteboard.co/wDQGW0xzFGRg.png My mapfile: https://pastebin.com/KRYDEAR2 What can I do to render svg the

[MapServer-users] fix tutorial? (Re: GetFeatureInfo html template)

2022-12-07 Thread WhereGroup
Hi, Am 07.12.22 um 11:44 schrieb Marcin Niemyjski via MapServer-users: Hello, I'm looking for tutorial of enabling GetFeatureInfo requests of WMS. I would be grateful for any example of code of .tmpl file. What I want to do is simple table with name and value of attribute for selected

[MapServer-users] GetFeatureInfo html template

2022-12-07 Thread Marcin Niemyjski via MapServer-users
Hello, I'm looking for tutorial of enabling GetFeatureInfo requests of WMS. I would be grateful for any example of code of .tmpl file. What I want to do is simple table with name and value of attribute for selected feature. As always thank you, Marcin

Re: [MapServer-users] [EXTERNAL] Vector tileindex with connectiontype OGR

2022-12-07 Thread Schylberg Lars
Hi, I remember that I did tileindexes for vector layers a couple of years ago. I can’t find my example right now, but I think I was following this example for raster. The important thing is to have a one layer for the actual tile index, that has status off and one layer that is using the tile