Re: [MapServer-users] TIME dimension as runtime substitution within DATA query?

2024-06-20 Thread Rahkonen Jukka via MapServer-users
Hi, What does not work for you in the WMS-T support as documented in WMS Time - MapServer 8.0.2 documentation? -Jukka Rahkonen- Lähettäjä: MapServer-users Puolesta Marcin Niemyjski via MapServer-users Lähetetty: torstai 20. kesäkuuta 2024 13.49

Re: [MapServer-users] WMS GetFeatureInfo default FEATURE COUNT

2024-05-03 Thread Rahkonen Jukka via MapServer-users
Hi, In the WMS standard the FeatureCount parameter is defined to be optional, and the default is one. "Number of features about which to return information (default=1)" What you ask would be against the standard. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: MapServer-users

Re: [MapServer-users] From OpenLayers to Mapfile

2024-04-04 Thread Rahkonen Jukka via MapServer-users
Hi, See https://mapserver.org/cgi/runsub.html#basic-example. -Jukka Rahkonen- Lähettäjä: MapServer-users Puolesta gorouter via MapServer-users Lähetetty: torstai 4. huhtikuuta 2024 1.57 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: [MapServer-users] From OpenLayers to Mapfile Hi. Is

Re: [MapServer-users] CGI variable "map" fails to validate

2024-02-07 Thread Rahkonen Jukka via MapServer-users
Hi, "." works for me. I have a Windows env set first as set MAPSERVER_CONFIG_FILE=\ms4w\ms4w.conf These are the meaningful lines in the "ms4w.conf" file. CONFIG ENV MS_MAP_PATTERN "." END END Test proves that validation is successful

Re: [MapServer-users] Why is Mapserver slower in Postgres 13 than in Postgres 11?

2024-02-06 Thread Rahkonen Jukka via MapServer-users
Hi, If spatial index is needed depends on the data. It is certainly needed when the table is large (million features or so) and requests typically cover a small area. If for example 1000 features gets selected it means that the spatial index can filter out 999 thousand features. If the table

Re: [MapServer-users] CGI variable "map" fails to validate

2024-02-06 Thread Rahkonen Jukka via MapServer-users
Hi, This one that is slightly edited from the MS4W config file works for me MS_MAP_PATTERN "^(C:)?\/ms4w_data\/((?!\.{2})[_A-Za-z0-9\-\.]+\/{1})*([_A-Za-z0-9\-\.]+\.(map))$" I am not a regexp expert but it seems like a slash must be escaped with a backslash. -Jukka Rahkonen- Lähettäjä:

Re: [MapServer-users] Why is Mapserver slower in Postgres 13 than in Postgres 11?

2024-02-06 Thread Rahkonen Jukka via MapServer-users
Hi, I made a test with a PostGIS on my own laptop. My versions are: "POSTGIS=""3.4.1 3.4.1"" [EXTENSION] PGSQL=""160"" GEOS=""3.12.1-CAPI-1.18.1"" SFCGAL=""SFCGAL 1.5.0, CGAL 5.6, BOOST 1.78.0"" PROJ=""8.2.1 The polygon layer has 215000 lake polygons. My BBOX select 73 polygons. It takes 66

Re: [MapServer-users] Why is Mapserver slower in Postgres 13 than in Postgres 11?

2024-02-04 Thread Rahkonen Jukka via MapServer-users
Hi, See https://mapserver.org/input/vector/postgis.html, there is an example about how to define the SRID on the DATA line: DATA "the_geom from the_database using unique gid using srid=4326" The SRID value to use is the native SRID of the PostGIS table. What Mapserver does here is that with

Re: [MapServer-users] getting incomplete parts of a geometry

2024-01-31 Thread Rahkonen Jukka via MapServer-users
Hi, The client is making tiled requests like this:

Re: [MapServer-users] getting incomplete parts of a geometry

2024-01-31 Thread Rahkonen Jukka via MapServer-users
Hi, How about the client, what is the BBOX that it is using in the WMS GetMap request that it creates? -Jukka Rahkonen- Lähettäjä: MapServer-users Puolesta Eloi Ribeiro via MapServer-users Lähetetty: keskiviikko 31. tammikuuta 2024 21.19 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe:

Re: [MapServer-users] getting incomplete parts of a geometry

2024-01-31 Thread Rahkonen Jukka via MapServer-users
Hi, Does the rendered part perhaps match with the extent that you have configured for the layer "EXTENT 194914 420110 195152 420307"? -Jukka Rahkonen- Lähettäjä: MapServer-users Puolesta Eloi Ribeiro via MapServer-users Lähetetty: keskiviikko 31. tammikuuta 2024 19.27 Vastaanottaja:

Re: [MapServer-users] Speeding up msDrawMap() for shapefiles

2023-12-08 Thread Rahkonen Jukka via MapServer-users
Hi, You should test the same shapefiles locally for understanding where the time gets spent. Normal time with simple styles is perhaps up to 300 ms. The optimization hints were written long before there were S3 or Amazon (the company). Unfortunately I don't know how to optimize access to S3.

Re: [MapServer-users] multiple shapepaths

2023-12-06 Thread Rahkonen Jukka via MapServer-users
Hi, Or write the DATA with full-path into an INCLUDE file if there are loads of mapfiles using the same paths. Then there would be much less editing when the paths change. -Jukka Rahkonen- Lähettäjä: MapServer-users Puolesta Lime, Steve D (MNIT) via MapServer-users Lähetetty: keskiviikko 6.

Re: [MapServer-users] Variables in mapfile

2023-11-17 Thread Rahkonen Jukka via MapServer-users
Hi, That is an old but still relevant idea https://github.com/MapServer/MapServer/issues/408. For your use case it could be enough to store the connection into a text file and read it with INCLUDE https://mapserver.org/mapfile/include.html. -Jukka Rahkonen- -Alkuperäinen viesti-

[MapServer-users] Who remembers the truth about antialiasing?

2023-11-15 Thread Rahkonen Jukka via MapServer-users
Hi, When Mapserver started to use AGG renderer everybody thought that antialiasing is not only the strength of the library but also the only way AGG can render. See https://mapserver.org/output/agg.html and https://lists.osgeo.org/pipermail/mapserver-users/2007-September/025467.html. But then

Re: [MapServer-users] Well-know SLD symbols

2023-11-15 Thread Rahkonen Jukka via MapServer-users
ts 0 0 1 1 -99 -99 0 1 1 0 END END SYMBOL NAME "arrow" TYPE vector FILLED true POINTS 0 0.4 3 0.4 3 0 5 0.8 3 1.6 3 1.2 0 1.2 0 0.4 END # POINTS ANCHORPOINT 0 0.5 END # SYMBOL On Wed, Nov 15, 2023 at 2:33 AM Rahkonen Jukka via MapServer-users

[MapServer-users] Well-know SLD symbols

2023-11-15 Thread Rahkonen Jukka via MapServer-users
Hi, The SDL standard defines some well-known symbols: circle, square, triangle, arrow, cross, star, and x. Can I find somewhere the mapfile versions of these symbols? I found circle and star from GitHub

Re: [MapServer-users] How to cascade data from OGC API Features service?

2023-11-14 Thread Rahkonen Jukka via MapServer-users
Rahkonen Jukka via MapServer-users Lähetetty: tiistai 14. marraskuuta 2023 10.09 Vastaanottaja: Richard Greenwood Kopio: Mapserver-Users (mapserver-users@lists.osgeo.org) Aihe: Re: [MapServer-users] How to cascade data from OGC API Features service? Hi, Oh yes, it was a typo. As a user who tries

Re: [MapServer-users] How to cascade data from OGC API Features service?

2023-11-14 Thread Rahkonen Jukka via MapServer-users
aybe you could share a smaller test data set and a reasonable bounding box. My test: http://localhost/cgi-bin/mapserv?map=MAP_TEST=GetMap=WMS=1.3.0=building=696=870=EPSG:3067=-359700,6615190,-359500,6615199=png On Mon, Nov 13, 2023 at 2:48 PM Rahkonen Jukka via MapServer-users mailto:mapserver-users@lis

[MapServer-users] How to cascade data from OGC API Features service?

2023-11-13 Thread Rahkonen Jukka via MapServer-users
Hi, I tried to make a WMS layer from OGC API Features service but I did not success. This is my best trial so far: I am using Mapserver from MS4W 5.0.0 RC1 I wrote this ORG VRT file (ogcfeat.vrt) OAPIF:https://beta-paikkatieto.maanmittauslaitos.fi/inspire-buildings/features/v1/

Re: [MapServer-users] WMS with Raster Images and time Dimension

2023-11-09 Thread Rahkonen Jukka via MapServer-users
Hi, I would read first this https://www.mapserver.org/ogc/wms_time.html. But if you have only two alternatives midday/tomorrow then simply having two layers could be an option. Or use runtime substitution https://mapserver.org/cgi/runsub.html. Define LAYER – DATA like DATA "%img_time%.tif "

Re: [MapServer-users] Google maps XYZ service as a layer data source?

2023-10-16 Thread Rahkonen Jukka via MapServer-users
Hi, The XYZ part of your question is relevant and I think that the answer is yes. At least I am remembering that I have cascaded some WMTS service by using a GDAL xml definition file https://gdal.org/drivers/raster/wms.html as a source for Mapserver. I believe that the question about the

Re: [MapServer-users] Cluster with Oracle Spatial data

2023-10-16 Thread Rahkonen Jukka via MapServer-users
e Nachricht- Von: MapServer-users Im Auftrag von Rahkonen Jukka via MapServer-users Gesendet: Donnerstag, 12. Oktober 2023 20:27 An: Holger Schiebold ; mapserver-users@lists.osgeo.org Betreff: Re: [MapServer-users] Cluster with Oracle Spatial data Hi, Could you please mention always when you speak

Re: [MapServer-users] Cluster with Oracle Spatial data

2023-10-13 Thread Rahkonen Jukka via MapServer-users
rds -Ursprüngliche Nachricht- Von: MapServer-users Im Auftrag von Rahkonen Jukka via MapServer-users Gesendet: Donnerstag, 12. Oktober 2023 20:27 An: Holger Schiebold ; mapserver-users@lists.osgeo.org Betreff: Re: [MapServer-users] Cluster with Oracle Spatial data Hi, Could you please me

Re: [MapServer-users] Cluster with Oracle Spatial data

2023-10-12 Thread Rahkonen Jukka via MapServer-users
Hi, Could you please mention always when you speak about Oracle Spatial data also which connection type you are using: CONNECTIONTYPE oraclespatial or CONNECTIONTYPE OGR -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: MapServer-users Puolesta Holger Schiebold via MapServer-users