[MapServer-users] Font file gets locked by the mapserv process

2024-06-10 Thread Benedek Petrovicz via MapServer-users
Hi! When trying to make a new deploy on our server we get an error that the font file which is being used for WMS requests is locked by the mapserv process and cannot be overwritten. I re-created the issue on a local test environment. (OS: Windows, mapserv is running on IIS) I send a WMS request

[MapServer-users] Data from MSSQL without extent

2024-04-25 Thread Benedek Petrovicz via MapServer-users
Hi! Is there a possibility to skip filtering for the extent when pulling in data from MSSQL? I have to deal with some layers where I'd like to load everything for a certain criteria, but don't need the extent filtering. Thank you Petrovicz ___

[MapServer-users] How to run MapScript from C#?

2023-11-14 Thread Benedek Petrovicz via MapServer-users
Hi! Is there anyone who has a working C# project with MapScript? I'm trying to use the SWIG generated DLL from the gisinternals build, but I cannot make it work. I read the SWIG documents on mapserver.org, but couldn't figure it out. Any help would be much appreciated! Thank you! Petrovicz

Re: [MapServer-users] FlatGeobuf as output format

2023-06-22 Thread Benedek Petrovicz
t; "ows_geomtype" "MultiPolygon" > > > > -Jukka Rahkonen- > > > > *Lähettäjä:* MapServer-users > *Puolesta > *Benedek Petrovicz > *Lähetetty:* torstai 22. kesäkuuta 2023 11.17 > *Vastaanottaja:* Scott > *Kopio:* mapserver-user

Re: [MapServer-users] FlatGeobuf as output format

2023-06-22 Thread Benedek Petrovicz
're creating your fgb's, but from an ogr2ogr context > try promoting all geoms to multi: > > -nlt PROMOTE_TO_MULTI > > On 6/21/23 07:50, Benedek Petrovicz wrote: > > Hi! > > > > I'm trying to integrate OGR's FlatGeobuf driver as an output format in > > my mapfile

[MapServer-users] FlatGeobuf as output format

2023-06-21 Thread Benedek Petrovicz
Hi! I'm trying to integrate OGR's FlatGeobuf driver as an output format in my mapfiles. It works for the most part and it's awesome, but it fails immediately when I feed some MultiPolygons into it. The geometries are queried from an MSSQL DB. I get the following error: msOGRWriteShape(): OGR

[MapServer-users] Changing mapfile values via CGI parameters

2023-03-30 Thread Benedek Petrovicz
Hi! I just upgraded MapServer from 7.7.0 to 8.0.0 and some CGI parameters just stopped working. I'm trying to change the label size on a specific layer with the following parameter: *map.layer[county].class[0].label[0]=SIZE+24* In 7.7.0 it's working perfectly. In 8.0.0 it's not changing

[MapServer-users] MS_MAP_PATTERN cannot accept network share

2023-03-23 Thread Benedek Petrovicz
Hi! I'm running into an issue where I cannot reference the mapfiles from a network share. I'm getting the following error: *msCGILoadMap(): Web application error. CGI variable "map" fails to validate.* The path to my mapfile is the following: *//MY-NAS/MapFiles/test.map* It's under a network

[MapServer-users] MSSQL plugin path outside of the global CONFIG file

2023-03-20 Thread Benedek Petrovicz
about any. Is it mandatory now, to define the PLUGIN path from the global CONFIG file? Thank you! Benedek Petrovicz ___ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Can't add external vector tile layer source to mapfile

2022-01-28 Thread Benedek Petrovicz
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/ This is my LAYER definition in my Mapfile *(based on the guidance of