Re: [mapserver-users] WFS changing NULL values to 0.

2021-08-02 Thread Rahkonen Jukka (MML)
Hi, Attributes of type double can not really be nulls in shapefile. See https://desktop.arcgis.com/en/arcmap/latest/manage-data/shapefiles/geoprocessing-considerations-for-shapefile-output.htm#GUID-A10ADA3B-0988-4AB1-9EBA-AD704F77B4A2. A value -1.7976931348623158e+308 might work as a null but I

Re: [mapserver-users] SUM: MapServer PostGIS: WMS Layers Without Features

2021-06-03 Thread Rahkonen Jukka (MML) via mapserver-users
Hi, All Mapserver admins do that error every now and then. There is a configuration option in the QGIS WMS Connection editor “Ignore GetMap/GetTile/GetLegendGraphic URI reported in capabilities” that helps to access many misconfigured WMS servers. If you check that box the same base URL that

Re: [mapserver-users] Styling a WFS ? or not ?

2021-05-31 Thread Rahkonen Jukka (MML) via mapserver-users
Hi, Mapserver can serve a layers through different services. STYLE is not for WFS but it can be used in =map or in the WMS service. Similarly Geoserver can deliver GML data http://demo.geo-solutions.it/geoserver/topp/ows?service=WFS=1.0.0=GetFeature=topp:states=50 or the same data as styled

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-27 Thread Rahkonen Jukka (MML)
Hi, Have you already tried to use WFS connection instead of OGR connection? -Jukka Rahkonen- Lähettäjä: mapserver-users Puolesta Lars Fricke Lähetetty: torstai 27. toukokuuta 2021 14.59 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] WFS Client returns data at

Re: [mapserver-users] anti-aliasing (was differing image size with different mapserver versions)

2021-05-19 Thread Rahkonen Jukka (MML)
Hi, Can someone say if the issue is already fixed or not by https://github.com/MapServer/MapServer/pull/6225/files that adds: typedef mapserver::renderer_scanline_bin_solid renderer_scanline_aliased; Is this enough for turning antialiasing off and making png files with lots of linework

Re: [mapserver-users] differing image size with different mapserver versions

2021-05-17 Thread Rahkonen Jukka (MML)
Kopio: Rahkonen Jukka (MML) ; Mapserver-Users (mapserver-users@lists.osgeo.org) Aihe: Re: [mapserver-users] differing image size with different mapserver versions Progress! Using Andreas' suggestion: changing the typedef in line 91 of mapagg.cpp from typedef mapserver

Re: [mapserver-users] differing image size with different mapserver versions

2021-05-17 Thread Rahkonen Jukka (MML)
ä: Eichner, Andreas - SID Lähetetty: maanantai 17. toukokuuta 2021 16.53 Vastaanottaja: Rahkonen Jukka (MML) ; Mapserver-Users (mapserver-users@lists.osgeo.org) Aihe: AW: [mapserver-users] differing image size with different mapserver versions Hi Jukka, as a result of the discussion IMO Er

Re: [mapserver-users] differing image size with different mapserver versions

2021-05-17 Thread Rahkonen Jukka (MML)
Hi, Here is a long thread about turning off antialias http://osgeo-org.1560.x6.nabble.com/Draw-roads-WITHOUT-anti-aliasing-td5338614.html. I had the same wrong idea about gamma=0 back then but perhaps gamma=0.01 could work. -Jukka Rahkonen- Lähettäjä: mapserver-users Puolesta Rahkonen

Re: [mapserver-users] differing image size with different mapserver versions

2021-05-17 Thread Rahkonen Jukka (MML)
Hi, (Re-sent as edited to mailing list because the body was originally too long. Are you sure about “I actually found that 6.4 produced small, aliased images with both the GD and AGG drivers”. Originally the AGG library could only do anti-aliasing and that affected also Mapserver 5

Re: [mapserver-users] differing image size with different mapserver versions

2021-05-17 Thread Rahkonen Jukka (MML)
Hi, I made a few tests with IrfanView and Gimp and it seems that the both images are antialized but the mapserv76 version is more fine-grained. The mapserv64 version has also less unique colors, 217 vs 250 colors. Saving the mapserv76 image with IrfanView or Gimp by using different settings

Re: [mapserver-users] Mapserver installation in cloud environments (kubernetes)

2021-04-28 Thread Rahkonen Jukka (MML)
Hi, Have you tried to find an explanation for the difference between Spatialite and geopackage? They are both SQLite databases and there is not much difference in how they store the geometries into BLOBs. Does direct SQL “select * from table” give similar results? I have not experienced such

Re: [mapserver-users] Mapserver installation in cloud environments (kubernetes)

2021-04-23 Thread Rahkonen Jukka (MML)
Hi, I believe that not much that kind of studies about load balancing WMS servers have been done. If there is high load then people very soon place some tile cache into front line and use WMS only for seeding the cache. Sharing load between tile servers is rather simple because each tile is

Re: [mapserver-users] Missing Dynamic Charts

2021-04-15 Thread Rahkonen Jukka (MML)
Hi Sarah, The easiest way to get the BBOX from QGIS is to open the Debugging/Development tools with the function key F12 or through the View-Panels menu. Start recording and QGIS will capture the http requests including GetMaps for you. -Jukka Rahkonen- -Alkuperäinen viesti-

Re: [mapserver-users] Create a tileindex for WFS

2021-04-14 Thread Rahkonen Jukka (MML)
Hi, The results show that there is something wrong in your system but it is hard to say what. If Mapserver gets the 62584 features from the biggest table in 7 seconds it should not really need many seconds more to write everything out as GML. Unfortunately I can’t say what to debug next.

Re: [mapserver-users] Create a tileindex for WFS

2021-04-12 Thread Rahkonen Jukka (MML)
Hi, You tables (what materialized views in fact are) are not big at all. There is something else wrong if your WFS is slow or fails totally. Looking at the tileindex is not the right thing to do. QGIS is a rather poor WFS client, I would not use that for testing. If you still use, debug the

Re: [mapserver-users] BINVALS is supported by PostGIS 1.5?

2021-03-26 Thread Rahkonen Jukka (MML)
Hi, Developers have paid attention to BINDVALS recently https://github.com/MapServer/MapServer/issues/6236 and they should work as in your mapfile. The usage example is about string "1" "Nova Scotia". I wonder how a numeric bindvalue should be expressed in mapfile. Could it be that in the

Re: [mapserver-users] data parameter in tileindex

2021-03-24 Thread Rahkonen Jukka (MML)
Hi, Obviously you are playing with vector data, not rasters, and you are trying to make a ogrtileindex instead of gdaltindex. I know, technically there is no difference. I have used ogrtileindex with great success with shapefiles. I have never tried to do the same with PostGIS data and I can

Re: [mapserver-users] Hello from Finland

2021-03-16 Thread Rahkonen Jukka (MML)
Hi, -Alkuperäinen viesti- Stefan Gofferje wrote: > Terve Jukka, > On 3/16/21 12:54 PM, Rahkonen Jukka (MML) wrote: >> When it comes to memory usage with raster files, Mapserver is reading >> rasters with GDAL so in this case with >> https://gdal.org/drivers/

Re: [mapserver-users] Hello from Finland

2021-03-16 Thread Rahkonen Jukka (MML)
Hi Stefan, When it comes to memory usage with raster files, Mapserver is reading rasters with GDAL so in this case with https://gdal.org/drivers/raster/grib.html. I have never been playing with GRIB files and I do not know how well the format is optimized for features that are needed for

Re: [mapserver-users] Fwd: MapServer PostGIS: WMS Layers Without Features

2021-03-02 Thread Rahkonen Jukka (MML)
Hi, First thing that comes into my mind is that for some reason Mapserver may believe that the request is outside the area where you have data. I would double check the projections and extents. -Jukka Rahkonen- Lähettäjä: mapserver-users Puolesta Steve Lime Lähetetty: tiistai 2. maaliskuuta

Re: [mapserver-users] Basemap as merged and separate layers

2020-12-11 Thread Rahkonen Jukka (MML) via mapserver-users
Hi, I believe (hope) that it is possible, perhaps by leaving the names of the layers in the group empty, or with wms_enable_request metadata. Some links which seem relevant: https://mapserver.gis.umn.edu/development/rfc/ms-rfc-67.html https://github.com/mapserver/mapserver/issues/5404

Re: [mapserver-users] OGR Geojson error

2020-09-29 Thread Rahkonen Jukka (MML)
Hi, I found couple of issues but can’t say how severe they are: http://opendata.arcgis.com/datasets/5da472c6d27b4b67970acc7b5044c862_0.geojson this returns HTTP 302, moved temporarily and it redirects to https port https://opendata.arcgis.com/datasets/5da472c6d27b4b67970acc7b5044c862_0.geojson

Re: [mapserver-users] [EXTERNAL] RE: Multiple Styles for a LAYER/CLASS

2020-09-14 Thread Rahkonen Jukka (MML)
Hi, Doesn’t the named styles system https://mapserver.gis.umn.edu/ogc/sld.html#named-styles-support that was new in version 5.2 work as documented? -Jukka Rahkonen- Lähettäjä: mapserver-users Puolesta Cechini, Matthew F. (GSFC-423.0)[Science Systems & Applications, Inc.] Lähetetty:

Re: [mapserver-users] Use Ground Control Points from GeoTIFF

2020-09-03 Thread Rahkonen Jukka (MML)
a 2020 15.18 Vastaanottaja: Rahkonen Jukka (MML) mailto:jukka.rahko...@maanmittauslaitos.fi>> Kopio: Jeff McKenna mailto:jmcke...@gatewaygeomatics.com>>; Mapserver mailto:mapserver-users@lists.osgeo.org>> Aihe: Re: [mapserver-users] Use Ground Control Points from GeoTIFF Hi Ju

Re: [mapserver-users] Use Ground Control Points from GeoTIFF

2020-09-03 Thread Rahkonen Jukka (MML)
Hi, I would appreciate if you could have a try with "gdalwarp -of vrt -t_srs "EPSG:3857" sat.tif sat_3857.vrt" -Jukka Rahkonen- Lähettäjä: mapserver-users Puolesta Jesper Kempe Lähetetty: torstai 3. syyskuuta 2020 13.57 Vastaanottaja: Jeff McKenna Kopio: Mapserver Aihe: Re:

Re: [mapserver-users] Use Ground Control Points from GeoTIFF

2020-09-02 Thread Rahkonen Jukka (MML)
Try to warp into .VRT, that takes so little time and disk space that it could be a workaround if it works. -Jukka- Lähettäjä: Jesper Kempe Lähetetty: keskiviikko 2. syyskuuta 2020 11.40 Vastaanottaja: Rahkonen Jukka (MML) Kopio: Steve Lime ; Mapserver Aihe: Re: [mapserver-users] Use Ground

Re: [mapserver-users] Use Ground Control Points from GeoTIFF

2020-09-02 Thread Rahkonen Jukka (MML)
Hi, I am not suggesting this as a final solution yet, but gather some knowledge and try if image works when a) warped into GeoTIFF with gdalwarp b) warped into .vrt -Jukka Rahkonen- Lähettäjä: mapserver-users Puolesta Jesper Kempe Lähetetty: keskiviikko 2. syyskuuta 2020 10.52 Vastaanottaja:

Re: [mapserver-users] SSL curl error when hitting HTTP WMS

2020-06-09 Thread Rahkonen Jukka (MML)
Hi, The service indeed seems to redirect into https address. GDAL has an "unsafeSSL" option but I believe that Mapserver does not http://osgeo-org.1560.x6.nabble.com/https-url-with-MapServer-as-WMS-client-td5332403.html. Perhaps you could bypass the certificate check by setting a general curl

[mapserver-users] KKJ images misaligned after update

2020-05-18 Thread Rahkonen Jukka (MML)
Hi, I got a report about a service that has been running fine for years but got broken now after following updates: sqlite 3.29 -> 3.31 proj 6.2.0 -> 6.3.0 geos 3.7.2 -> 3.8.0 gdal 2.4.2 -> 3.0.4 mapserver 7.4.2 -> 7.4.3 What breaks is an orthophoto layer that has source files in many CRSs.

Re: [mapserver-users] WCS GetCoverage request one by one pixel

2020-05-11 Thread Rahkonen Jukka (MML)
Hi, I verified the error and I am pretty sure that subsetting with min=max has been working for me couple of years ago with some Mapserver version. This sends a GeoTIFF:

Re: [mapserver-users] Data Stores for mapserver.

2020-05-07 Thread Rahkonen Jukka (MML)
Hi, Do you find anything suitable for you from this list https://gdal.org/drivers/vector/index.html? They are all available for you through OGR connection but it can well be that some formats do not work totally out-of-the-box. -Jukka Rahkonen- Lähettäjä: mapserver-users Puolesta Atlanta

Re: [mapserver-users] GetFeature WFS request with Spatial Filter DWITHIN

2020-04-27 Thread Rahkonen Jukka (MML)
21.42 Vastaanottaja: Rahkonen Jukka (MML) Kopio: Fran Acuña Parra ; mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] GetFeature WFS request with Spatial Filter DWITHIN To be clear, Fran - are you saying the issue isn't the result set rather the order? If so I don't know of a way

Re: [mapserver-users] Make PROJECTION mandatory?

2020-04-27 Thread Rahkonen Jukka (MML)
wastB0y4d0JpRk50,=1 On 2020-04-27 10:36 a.m., Rahkonen Jukka (MML) wrote: > Hi, > > Recent Mapserver buids require PROJ and GDAL > https://mapserver.gis.umn.edu/ja/development/rfc/ms-rfc-127.html. That > means that every Mapserver can support PROJECTION blocks both at the >

Re: [mapserver-users] GetFeature WFS request with Spatial Filter DWITHIN

2020-04-27 Thread Rahkonen Jukka (MML)
Hi, The DWithin function in WFS is a true/false function just like the equivalent PostGIS function https://postgis.net/docs/ST_DWithin.html. You can’t find the nearest feature with DWithin. A not so good workaround is to increase the distance until the result is not empty. Mapserver does not

[mapserver-users] Make PROJECTION mandatory?

2020-04-27 Thread Rahkonen Jukka (MML)
Hi, Recent Mapserver buids require PROJ and GDAL https://mapserver.gis.umn.edu/ja/development/rfc/ms-rfc-127.html. That means that every Mapserver can support PROJECTION blocks both at the MAP level and within LAYER. And because there are no more builds without Proj support there is no real

Re: [mapserver-users] mapserver creating layers group MS , that is displayed in GetCapabilities. how to get rid of it? what is the reason for it?

2020-04-16 Thread Rahkonen Jukka (MML)
if your MAP has an empty name (NAME "") or if you have set an empty name for it in MAP-METADATA (wms_rootlayer_name "")? -Jukka Rahkonen- Lähettäjä: Zmitser Kozhukh Lähetetty: torstai 16. huhtikuuta 2020 19.41 Vastaanottaja: Rahkonen Jukka (MML) Kopio: mapserver-users@lists.

Re: [mapserver-users] mapserver creating layers group MS , that is displayed in GetCapabilities. how to get rid of it? what is the reason for it?

2020-04-16 Thread Rahkonen Jukka (MML)
WMS service does not actually need to have a root layer but usually it exists. Each layer must have a title but name in optional. If layer does not hava a name it cannot be accessed with GetMap so what you need to do is to get rid of the name of your root layer. How to do that is documented in

Re: [mapserver-users] WCS GetCoverage request one by one pixel

2020-04-07 Thread Rahkonen Jukka (MML)
comes also with Interpolation parameter. -Jukka- Lähettäjä: Bakker, Anton Lähetetty: tiistai 7. huhtikuuta 2020 18.40 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users@lists.osgeo.org Aihe: RE: WCS GetCoverage request one by one pixel Hi Jukka, Thanks for your response; do you mean to set the default

Re: [mapserver-users] WCS GetCoverage request one by one pixel

2020-04-06 Thread Rahkonen Jukka (MML)
Hi, Could you have a try with the default resampling "nearest"? And then also with subset having lower limit equal to upper. Now it fails, I tried already.

Re: [mapserver-users] layer with "truncated" symbols 2

2020-03-27 Thread Rahkonen Jukka (MML)
Hi, Your problem is on the client side. OpenLayers is now requesting tiles with 256x256 pixels. The middle tile has not any point inside its bounding box and therefore no symbols are rendered. Configure OpenLayers to do single tile requests. http://dev.openlayers.org/examples/single-tile.html

Re: [mapserver-users] OUTPUTFORMAT png 16-bits

2020-02-05 Thread Rahkonen Jukka (MML)
: keskiviikko 5. helmikuuta 2020 13.05 Vastaanottaja: Johannes Paul ; Rahkonen Jukka (MML) Kopio: mapserver-users@lists.osgeo.org Aihe: AW: [mapserver-users] OUTPUTFORMAT png 16-bits Hello Johannes, 16bit-PNGs are IMHO not supported by MapServer. Although libPNG supports 16bit depth (see http

Re: [mapserver-users] OUTPUTFORMAT png 16-bits

2020-02-05 Thread Rahkonen Jukka (MML)
Hi, I would make a test by using some other mimetype, like image/png16, for eliminating the possibility that some internal png configuration drives over your own outputformat. I don’t know if it helps but it is cheap to test. -Jukka Rahkonen- Lähettäjä: mapserver-users Puolesta Johannes

Re: [mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-24 Thread Rahkonen Jukka (MML)
weaked? If you do a google search on this error most of the responses says it is either due to a bad cgi script or bad file/dir permissions which in our case I doubt that is the reason. If you figure it out let me know. On Wed, Jan 22, 2020 at 12:31 PM Rahkonen Jukka (MML) mailto:jukka

Re: [mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-22 Thread Rahkonen Jukka (MML)
Hi, I would suspect data, especially because it seems to be OSM data. Perhaps some invalid polygon again. You use =default and I suppose that it means all the layers from your mapfile together. In that case I would try to catch the failing layer by adding layers one by one and in groups

Re: [mapserver-users] Info Template

2019-11-20 Thread Rahkonen Jukka (MML)
Hi Markus, I am not sure if you'd prefer me to answer in Finnish but English is easier for the majority of readers. Certainly it is possible to use data from a database with templates yes but you did not tell the details about for what purpose you are trying to use the templates. The DATA

Re: [mapserver-users] Configuring a layer with one output with multiple input projections

2019-11-15 Thread Rahkonen Jukka (MML)
Hi, Please read https://mapserver.org/optimization/tileindex.html#tileindex-mixed-srs and https://mapserver.org/development/rfc/ms-rfc-100.html? -Jukka Rahkonen- Lähettäjä: mapserver-users Puolesta Peter Schmitt Lähetetty: perjantai 15. marraskuuta 2019 21.02 Vastaanottaja:

Re: [mapserver-users] Mapserver bumped from 7.0.7 to 7.4.1 leads to wrong projection of features

2019-11-14 Thread Rahkonen Jukka (MML)
Hi, Please add relevant parts of your mapfile. Obviously all that relates to projections and an example of the client side requests as well if you are changing the coordinate system on the fly. -Jukka Rahkonen- Lähettäjä: mapserver-users Puolesta Jaap Donker Lähetetty: torstai 14.

Re: [mapserver-users] mapcache seed speed optimization

2019-11-08 Thread Rahkonen Jukka (MML)
faster. -Jukka- Lähettäjä: Sebastiano Laini Lähetetty: perjantai 8. marraskuuta 2019 16.30 Vastaanottaja: 'mapserver-users@lists.osgeo.org' Kopio: Rahkonen Jukka (MML) ; 'Yves Jacolin' Aihe: RE: mapcache seed speed optimization My MapServer is on the same server as MapCache and my network

Re: [mapserver-users] mapcache seed speed optimization

2019-11-08 Thread Rahkonen Jukka (MML)
Hi, When you seed tiles from WMS the slowest component is usually the WMS server. And what the WMS server is spending its time is usually rendering. And what makes rendering slow is usually that you render too much, and sometimes that WMS server gets the vector data too slow because the

Re: [mapserver-users] Mapserver TabFile Error

2019-10-25 Thread Rahkonen Jukka (MML)
Hi, Please include the request that your application sends for Mapserver. You should find it from the access log of your Apache server if you cannot capture it from the client side. Somehow it feels like your client does not send the = parameter, or it you have tried to configure a default

Re: [mapserver-users] Doubling of labels on high resolution maps

2019-10-16 Thread Rahkonen Jukka (MML)
Hi, Print composer is probably making tiled requests from WMS. That is compulsory for any bigger maps because the default maxsize on the Mapserver side is 2048x2048 pixels https://mapserver.org/uk/mapfile/map.html. It is easy to increase the maxsize but I do not know if print composer as a

Re: [mapserver-users] Mapserver behind proxyserver

2019-10-09 Thread Rahkonen Jukka (MML)
Hi, See https://mapserver.org/ogc/wfs_server.html You should have full control on the service URL by having "wfs_service_onlineresource" set in the metadata section. -Jukka Rahkonen- Lähettäjä: mapserver-users Puolesta Kler, Tijs de Lähetetty: keskiviikko 9. lokakuuta 2019 13.41

[mapserver-users] How does colorrange actually work with vector layers?

2019-09-19 Thread Rahkonen Jukka (MML)
Hi, Documentation of colorrange in https://www.mapserver.org/mapfile/style.html suggests to find details from https://www.mapserver.org/development/rfc/ms-rfc-6.html#rfc6 but the RFC does not really tell what was finally implemented. Is this what is documented for styles what we have now?

Re: [mapserver-users] Highly inefficient MakeValid statement in Mapserver-generated spatial queries

2019-09-09 Thread Rahkonen Jukka (MML)
Hi, Fortunately not the entire MS4W community is affected, just those who work with MS SQL server. When makevalid will be turned off MapServer admin will have another option to deal with invalid geometries: select data in mapfile with IsValid=true. Then the faulty geometries will not show on

Re: [mapserver-users] The GetFeature WFS Request fail if the layer is empty

2019-08-13 Thread Rahkonen Jukka (MML)
et/gml/3.2 https://demo.geo-solutions.it:443/geoserver/schemas/gml/3.2.1/gml.xsd"/> -Jukka- Lähettäjä: Andrea Peri Lähetetty: tiistai 13. elokuuta 2019 12.35 Vastaanottaja: Rahkonen Jukka (MML) Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] The GetFeature

Re: [mapserver-users] The GetFeature WFS Request fail if the layer is empty

2019-08-13 Thread Rahkonen Jukka (MML)
Hi, What kind of source dataset do you have, and do you mean that for example a PostGIS table exists but there are no rows in the table? -Jukka Rahkonen- Lähettäjä: mapserver-users Puolesta Andrea Peri Lähetetty: maanantai 12. elokuuta 2019 14.30 Vastaanottaja:

Re: [mapserver-users] WCS 2.0.1 not returning same image as WCS 1.0.0

2019-06-05 Thread Rahkonen Jukka (MML)
Hi, I recommend to read the WCS 2.0 core standard which does not support bbox, resx or resy anymore. Mapserver documentation shows also how to use SUBSET https://www.mapserver.org/ogc/wcs_server.html. If you need to change the pixel size then the document to read is the WCS Scaling extension

Re: [mapserver-users] WCS 2.0.1 sends multipart response for ascii grid format

2019-05-09 Thread Rahkonen Jukka (MML)
Hi, I thought I could resolve the problem by setting CONFIG "GDAL_PAM_ENABLED" "NO" Unfortunately nothing changed. -Jukka Rahkonen- Lähettäjä: Rahkonen Jukka (MML) Lähetetty: keskiviikko 8. toukokuuta 2019 18.53 Vastaanottaja: Mapserver-Users (mapserver-users@lists.os

[mapserver-users] WCS 2.0.1 sends multipart response for ascii grid format

2019-05-08 Thread Rahkonen Jukka (MML)
Hi, I have Mapserver 7.2.1 and outputformat defined as OUTPUTFORMAT NAME AAIGRID DRIVER "GDAL/AAIGRID" MIMETYPE "application/x-ascii-grid" IMAGEMODE FLOAT32 EXTENSION "grd" FORMATOPTION "SIGNIFICANT_DIGITS=5" END The WCS 2.0.1 GetCoverage request is sending the response as multipart. The

Re: [mapserver-users] Conditional BANDS directive based on underlying data

2019-04-30 Thread Rahkonen Jukka (MML)
Hi, As Even already answered, using vrt files over the BGRN originals will work. We had a need to use both grayscale originals and vrt-falsified RGB versions (the only band pointing to red, green, and blue in .vrt) in the same service. We have only one tileindex in PostGIS, made from the tiff

Re: [mapserver-users] Accessing WFS- Service: unexpected output (junk?)

2019-04-04 Thread Rahkonen Jukka (MML)
Hi, I could make some progress by using "wfs_request_method" "GET". Now the error was "WFS server error. Unable to get extents for this layer." Then I set "wfs_extent" "-999 -999 999 999" but now I get "Search returned no results. No matching record(s) found." Hope that

[mapserver-users] How to fool Mapserver to accept B/W and RGB images for the same WCS coverage?

2019-03-07 Thread Rahkonen Jukka (MML)
Hi, I have to deal with a mixture of 1-band and 3-band orthophotos which I would like to publish through WCS. The problem is that by the WCS standard band count on a coverage must be uniform and therefore Mapserver wants me to split the coverage into 2 separate coverages, one for black and

Re: [mapserver-users] mapcache seed slow

2019-02-22 Thread Rahkonen Jukka (MML)
Hi, Stupid question, but do you know how fast your WMS service is? How many GetMap requests/sec it can serve with the metatile size that you are seeding with? Have you some evidence that WMS is running idle while MapCache is busy with cutting the tiles and filling the cache? -Jukka Rahkonen-

Re: [mapserver-users] help passing runtime variables through cgi obfuscation script

2019-02-18 Thread Rahkonen Jukka (MML)
Hi, I guess that you do not really test with _code=RCO if you have defined variable as spp_code, but I have to ask anyway. -Jukka Rahkonen- Lähettäjä: mapserver-users Puolesta Brent Wood Lähetetty: maanantai 18. helmikuuta 2019 5.41 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re:

Re: [mapserver-users] Does Mapserver WCS 2.0.1 support time as a dimension?

2019-01-14 Thread Rahkonen Jukka (MML)
ble to make WCS 2.0.1 GetCoverage requests with time subsets someday. Potential developers may feel free to contact me. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: Even Rouault [mailto:even.roua...@spatialys.com] Lähetetty: 14. tammikuuta 2019 17:18 Vastaanottaja: mapserver-users@li

[mapserver-users] Does Mapserver WCS 2.0.1 support time as a dimension?

2019-01-14 Thread Rahkonen Jukka (MML)
Hi, I can use tileindex with time succesfully with WMS but not with WCS. I have added metadata item "wcs_timeitem" both into my tileindex layer and the raster layer and my assumption is that DescribeCoverage should now include time as a dimension of the coverage but unfortunately that is not

[mapserver-users] Documentation of wcs_size and wcs_resolution

2019-01-11 Thread Rahkonen Jukka (MML)
Hi, I know that there are keywords "wcs_size" and "wcs_resolution" for configuring a WCS service but the only documentation I can find about those is the sentence "when wcs_extent and wcs_size/wcs_resolution are set" in https://www.mapserver.org/ogc/wcs_server.html#reference-section. I can

Re: [mapserver-users] mapserver queries and java / javascript

2019-01-10 Thread Rahkonen Jukka (MML)
Hi, I guess that Arthur is after some Mapvserver specific CGI queries https://mapserver.org/cgi/controls.html like NQUERY with a box, which is something that WMS does not support. -Jukka Rahkonen- Lähettäjä: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Yves

Re: [mapserver-users] WFS OUTPUTFORMAT and application/json

2018-12-20 Thread Rahkonen Jukka (MML)
Hi, We use outputformat as follows. The mimetype is what is written to GetCapabilities, in our case application/json OGC service clients are supposed to use that as the format name. The problem that you have by using "application/json" as a name may be a bug but you can avoid it by using some

[mapserver-users] Faster tileindex layer with reverse painter's algorithm

2018-11-22 Thread Rahkonen Jukka (MML)
Hi, Currently raster tileindex layers are rendered according to painter's algorithm. First image that it found from the tileindex is rendered first, then pixels from the next image are added by method "b over a" which is the default

[mapserver-users] About the granularity of DEBUG on tileindex layers

2018-11-16 Thread Rahkonen Jukka (MML)
Hi, I have always used just "DEBUG 5" for debugging raster layers but now I finally made a test with Mapserver 7.0.1 for seeing what is the real difference between the debugging levels. I was a bit surprised to see that there is not so much difference at all, and that the DEBUG 1 level gives

Re: [mapserver-users] Using a CRS not indexed by the IOGP

2018-11-13 Thread Rahkonen Jukka (MML)
Hi, I guess the WMS 1.3.0 standard, page 15: “Every Layer CRS has an identifier that is a character string. Two types of Layer CRS identifiers are permitted: “label” and “URL” identifiers: ⎯ Label: The identifier includes a namespace prefix, a colon, a numeric or string code, and in some

Re: [mapserver-users] WCS 2.0 request without interpolation

2018-11-13 Thread Rahkonen Jukka (MML)
Hi, There are lots of good reading in the WCS section of OGC standards http://www.opengeospatial.org/standards/wcs. Subsetting that is used for BBOX-alike queries is explained in the core. There are also WCS 2.0 KVP examples in https://www.mapserver.org/ogc/wcs_server.html Clip in native CRS

Re: [mapserver-users] mapserver 6 mapcache 1.6 tileindex limit

2018-10-23 Thread Rahkonen Jukka (MML)
Hi Sebastiano, Excuse me if I guess wrong, but do you mean that you have thousands or tens of thousands of images in the tileindex and you try to load the whole UK on the map? It means that Mapserver should open every image and pick a pixel or two from each of the thousands of files. It may

Re: [mapserver-users] Disable automatic metadata in MapServer 7.2

2018-10-19 Thread Rahkonen Jukka (MML)
: Passmore, James H. [mailto:jp...@bgs.ac.uk] Lähetetty: 19. lokakuuta 2018 16:03 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users@lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 Hi Jukka, Yes I did, and I have the same issues: http://ogc2.bgs.ac.uk/cgi-bin/mdtest/ows

Re: [mapserver-users] Disable automatic metadata in MapServer 7.2

2018-10-19 Thread Rahkonen Jukka (MML)
with it? -Jukka- -Alkuperäinen viesti- Lähettäjä: Passmore, James H. [mailto:jp...@bgs.ac.uk] Lähetetty: 19. lokakuuta 2018 15:33 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users@lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 Hi Jukka, I'm not using MS4W

Re: [mapserver-users] Disable automatic metadata in MapServer 7.2

2018-10-19 Thread Rahkonen Jukka (MML)
;wms_title" "states "wms_srs" "EPSG:4326" END CLASS STYLE COLOR 100 200 100 OUTLINECOLOR 0 0 0 END END END END Do you still see the metadata links? If you do feel free to include this m

Re: [mapserver-users] Disable automatic metadata in MapServer 7.2

2018-10-19 Thread Rahkonen Jukka (MML)
to relate to INSPIRE in your mapfile. Or write a new as-simple-as-possible mapfile and see how it behaves. -Jukka- -Alkuperäinen viesti- Lähettäjä: Passmore, James H. [mailto:jp...@bgs.ac.uk] Lähetetty: 19. lokakuuta 2018 14:09 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users

Re: [mapserver-users] Disable automatic metadata in MapServer 7.2

2018-10-19 Thread Rahkonen Jukka (MML)
Hi, I do not see any metadata links at all in our WMS services made with Mapserver 7.2.0 and I have certainly not disabled them in any way. I guess that something that you have done has enabled those. Have you played for example with some Inspire configurations? -Jukka Rahkonen-

Re: [mapserver-users] mapcache fastcgi

2018-10-17 Thread Rahkonen Jukka (MML)
iano Laini [mailto:sebastiano.la...@buchanancomputing.co.uk] Lähetetty: 17. lokakuuta 2018 15:00 Vastaanottaja: 'mapserver-users@lists.osgeo.org' Kopio: Rahkonen Jukka (MML) Aihe: RE: mapcache fastcgi Is there a way to improve the speed and match the speed of the sqLite3 cache with the disk one?

Re: [mapserver-users] mapcache fastcgi

2018-10-17 Thread Rahkonen Jukka (MML)
request•  Caveats: –  Thread/process synchronization –  Memory management –  Security -Jukka- Rahkonen- Lähettäjä: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Rahkonen Jukka (MML) Lähetetty: 17. lokakuuta 2018 14:39 Vastaanottaja: Sebastiano Laini ; 'mapserver

Re: [mapserver-users] mapcache fastcgi

2018-10-17 Thread Rahkonen Jukka (MML)
...@buchanancomputing.co.uk] Lähetetty: 17. lokakuuta 2018 14:33 Vastaanottaja: 'mapserver-users@lists.osgeo.org' Kopio: Rahkonen Jukka (MML) Aihe: RE: mapcache fastcgi Well, for what I can read in the documentation of mapserver: https://mapserver.org/optimization/fastcgi.html FastCGI is a protocol

Re: [mapserver-users] mapcache fastcgi

2018-10-17 Thread Rahkonen Jukka (MML)
Hi, Could you explain your plan with some more details? What I have understood is that you have experienced that SQLite cache is slower than disk cache in your environment. What I do not understand is what you are going to reach by running Mapcache as fastcgi instead of running it as Apache

Re: [mapserver-users] Getting an empty MVT output for a point layer

2018-08-30 Thread Rahkonen Jukka (MML)
Vastaanottaja: Lime, Steve D (MNIT) mailto:steve.l...@state.mn.us>>; Rahkonen Jukka (MML) mailto:jukka.rahko...@maanmittauslaitos.fi>>; Caleb Lee mailto:caleb...@hotmail.com>>; mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org> Aihe: RE: Gett

Re: [mapserver-users] GetMap vs GetFeatureinfo sort

2018-08-28 Thread Rahkonen Jukka (MML)
Hi, From https://mapserver.org/mapfile/layer.html "Inside a layer, only a single class will be used for the rendering of a feature. Each feature is tested against each class in the order in which they are defined in the mapfile. The first class that matches the its min/max scale constraints

Re: [mapserver-users] Getting an empty MVT output for a point layer

2018-08-21 Thread Rahkonen Jukka (MML)
From: Rahkonen Jukka (MML) mailto:jukka.rahko...@maanmittauslaitos.fi>> Sent: Thursday, August 9, 2018 10:18 AM To: Lime, Steve D (MNIT); Caleb Lee; mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org> Subject: Re: Getting an empty MVT output

Re: [mapserver-users] Getting an empty MVT output for a point layer

2018-08-09 Thread Rahkonen Jukka (MML)
...@state.mn.us] Lähetetty: 8. elokuuta 2018 21:14 Vastaanottaja: Caleb Lee mailto:caleb...@hotmail.com>>; Rahkonen Jukka (MML) mailto:jukka.rahko...@maanmittauslaitos.fi>>; mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org> Aihe: RE: Getting an empty MVT

Re: [mapserver-users] Getting an empty MVT output for a point layer

2018-08-08 Thread Rahkonen Jukka (MML)
Hi, We do not have your data for testing but please modify your mapfile a bit and make it to work with some public dataset, like Natural Earth populated places

Re: [mapserver-users] WFS OUTPUTFORMATs and PROPERTYNAME

2018-07-02 Thread Rahkonen Jukka (MML)
Hi, Do you get what you want with GML output? Have you tried if using ows_include_items would make any difference? And how do those attributes appear in the DescribeFeatureType? Attributes which are "not null" must appear in the response by WFS standard. -Jukka Rahkonen- -Alkuperäinen

Re: [mapserver-users] Is it possible to isolate mapserver on docker?

2018-07-01 Thread Rahkonen Jukka (MML)
Hi, As a workaround for your problem with remote WMS that only supports WMS 1.3.0 it might be possible to use MapCache in between. It should be able to read WMS 1.3.0. It can also read WMTS if your service provider has WMTS available. -Jukka Rahkonen-

Re: [mapserver-users] time enabled WCS with tile index

2018-06-28 Thread Rahkonen Jukka (MML)
-Jukka Rahkonen- Lähettäjä: Rousseau Lambert2, Louis-Philippe (EC) [mailto:louis-philippe.rousseaulambe...@canada.ca] Lähetetty: 28. kesäkuuta 2018 17:41 Vastaanottaja: Rahkonen Jukka (MML) mailto:jukka.rahko...@maanmittauslaitos.fi>>; mapserver-users@lists.osgeo.org<mailto:mapser

Re: [mapserver-users] Wrong case of "TileOutOfRange" Error?

2018-06-21 Thread Rahkonen Jukka (MML)
Hi, I don’t see a relevant part of GetCapabilities but I believe that the name of the tile matrix in MapCache based WMTS services is plain ”5” like here https://avoin-karttakuva.maanmittauslaitos.fi/avoin/wmts/1.0.0/WMTSCapabilities.xml GetTile example

Re: [mapserver-users] Attribution for WCS

2018-06-18 Thread Rahkonen Jukka (MML)
Hi, WCS 2.0.1 standard refers to OWS commons standard (OGC 06-121r9) and there, in Table 11 — Parameters included in ServiceIdentification section Abstract: Brief narrative description of this server, normally available for display to a human Multiplicity: Zero or more (optional) Include when

Re: [mapserver-users] enabling browser cache from Mapcache?

2018-05-31 Thread Rahkonen Jukka (MML)
Hi, However, if client like OpenLayers or Leaflet is making 256x256 sized WMS requests they are always the same for the same tile and thus cacheable as well. -Jukka Rahkonen- Lähettäjä: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Yves Jacolin Lähetetty: 31.

Re: [mapserver-users] [non-nasa source] Default GetCapabilities Version Not Working

2018-05-25 Thread Rahkonen Jukka (MML)
Hi, Version is a mandatory parameter in all other WMS requests except GetCapabilities so your test seems to lead to correct result. I have never understood why to make GetCapabilities without explicit version number even I do know how the version negotiation is supposed to work. In real life

Re: [mapserver-users] MapServer and Geopackage failing

2018-03-06 Thread Rahkonen Jukka (MML)
Hi, Please explain what you are actually doing. Do you wish to use geopackage for input or output, or both? For rasters, vectors, or both? If you use gpkg as input I suggest to create the database with GDAL from some publicly available datasets so others can do the same for reproducing you

Re: [mapserver-users] MapServer and Geopackage failing

2018-03-06 Thread Rahkonen Jukka (MML)
Hi, Shapefile may be a little faster than gpkg, but not much. For me the advantages in data administration mean more than a nominal difference in speed (can use the same long attribute names than in the source data, support of longer than 255 character strings, just one file for one or more

Re: [mapserver-users] Wrong getfeatureinfo result from cluster layer

2018-02-15 Thread Rahkonen Jukka (MML)
Hi, Please add also the GetFeatureInfo request that your application is sending. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta astron Lähetetty: 15. helmikuuta 2018 12:17 Vastaanottaja:

[mapserver-users] Resampling=bicubic supported or not?

2018-02-08 Thread Rahkonen Jukka (MML)
Hi, Documentation in http://www.mapserver.org/input/raster.html gives these alternatives PROCESSING "RESAMPLE=NEAREST" PROCESSING "RESAMPLE=AVERAGE" PROCESSING "RESAMPLE=BILINEAR" while in http://www.mapserver.org/development/rfc/ms-rfc-4.html there is one more alternative PROCESSING

Re: [mapserver-users] Mapserver, mapfile in utf8 and data-path

2018-01-24 Thread Rahkonen Jukka (MML)
Hi, I made a little test as well and this is how my mapfile behaves here in Finland: 1) Write your mapfile in Latin 1 and save 2) Change encoding with Notepad++ from ANSI into UTF-8 Changing the encoding with Notepad++ is changing the non-ascii characters into UTF-8 strings which

<    1   2   3   4   5   6   7   8   9   10   >