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 lay

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@lists.o

[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 "RESAMPLE=B

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 sh

Re: [mapserver-users] How add a point remotelly

2018-01-21 Thread Rahkonen Jukka (MML)
I would try first with one variable %coordinates% for avoiding possible problem because of subsequent % signs. -Jukka Rahkonen- Lähettäjä: Andrea Peri Lähetetty: ‎21.‎1.‎2018 11:58 Vastaanottaja: mapserver-users@lists.osgeo.org

Re: [mapserver-users] Error using Spatial lite wit MS4W - MapServer 4 Windows - version 3.0.3

2018-01-17 Thread Rahkonen Jukka (MML)
Hi, SpatiaLite is sometimes a bit tricky to debug because for example with the spatial index it is not enough that the index exists in the database file. There must also be support for using spatial indexes in the Spatialite binaries which users have on their computers. In case of MS4W that par

Re: [mapserver-users] MapServer returns a blank image when requesting a square image

2018-01-11 Thread Rahkonen Jukka (MML)
Hi, I have been using a spatialite layer as a tileindex for years without problems so definitely that is not a bug that affects all users and use cases. Try to create a zip file that contains everything that is needed for reproducing the issue. Let’s hope that you can make it with a spatialite

Re: [mapserver-users] Classification of RGB png (or tiff) using [red] [green] [blue]

2018-01-04 Thread Rahkonen Jukka (MML)
Hi, You have an interesting theoretical challenge but I would still make it in another way. First, it would be easier to use single band 16-bit png instead of 3-band 8-bit png. And second, compressed tiff is not much bigger than png. Use the deflate method which is the same method that png is u

Re: [mapserver-users] mapserver with kml

2017-12-17 Thread Rahkonen Jukka (MML)
Hi, There is a dark side in closing Mapserver issues just because they are old and still not fixed. Good that you managed to find that closed issue and kame your KML output to work. I am going to re-open the issue and add a link into this mail thread. -Jukka Rahkonen- __

Re: [mapserver-users] mapserver with kml

2017-12-14 Thread Rahkonen Jukka (MML)
- Lähettäjä: Ivan Ogasawara<mailto:ivan.ogasaw...@gmail.com> Lähetetty: ‎14.‎12.‎2017 21:03 Vastaanottaja: Rahkonen Jukka (MML)<mailto:jukka.rahko...@maanmittauslaitos.fi> Kopio: mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osge

Re: [mapserver-users] mapserver with kml

2017-12-14 Thread Rahkonen Jukka (MML)
ing in kml conversion is doing wrong ... The log about kml request is here: https://pastebin.com/iP4h0wXx Ivan Ogasawara 2017-12-14 10:08 GMT-04:00 Rahkonen Jukka (MML) mailto:jukka.rahko...@maanmittauslaitos.fi>>: Hi, Geoservers have KML output enabled by default so you can have a tr

Re: [mapserver-users] mapserver with kml

2017-12-14 Thread Rahkonen Jukka (MML)
Rahkonen- Lähettäjä: Seth G [mailto:se...@geographika.co.uk] Lähetetty: 14. joulukuuta 2017 14:56 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] mapserver with kml Interesting! From the WMS spec: "Graphic element formats include Scalable Vector

Re: [mapserver-users] Retrieve the getfeatureinfo by point coords

2017-12-14 Thread Rahkonen Jukka (MML)
Hi, - use fixed i=1&j=1 - use fixed &width=2&height=2 - push the clicked coordinates as first parameters of &BBOX= - calculate x+1, y+1 for completing the BBOX I do not remember exactly if width and height can be 1 and BBOX just a point with MapServer, but

Re: [mapserver-users] mapserver with kml

2017-12-14 Thread Rahkonen Jukka (MML)
Hi Seth, KML is considered as an image format and it should work with WMS and with mode=map http://mapserver.gis.umn.edu/fr/development/rfc/ms-rfc-58.html It seems that KML output has not been developed much since the initial implementation. -Jukka Rahkonen- Lähettäjä: mapserver-users [mailto

Re: [mapserver-users] mapserver with kml

2017-12-14 Thread Rahkonen Jukka (MML)
Hi, When you work with WMS the first thing to do is to read the GetCapabilities. In your case http://172.17.0.2/?map=/maps/dengue-Rio-de-Janeiro.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities I used version 1.3.0 so that the response will open into the browser automatically. For KML supp

Re: [mapserver-users] wms_enable_request header vs. layer

2017-12-07 Thread Rahkonen Jukka (MML)
Hi, The development of this feature was done by http://mapserver.gis.umn.edu/pl/development/rfc/ms-rfc-67.html. RFC does not take into account all possible combinations to use the enable/disable rules at MAP and LAYER level. It seems that you have found one way to configure Mapserver so that i

Re: [mapserver-users] OFFSET and RAGECOLOR

2017-12-06 Thread Rahkonen Jukka (MML)
Hi, It is impossible to help you with so little details. Show us a corresponding part of your mapfile and a small sample of data that can be user for re-producing the error would be appreciated. -Jukka Rahkonen- Lähettäjä: Ivan Ogasawara

Re: [mapserver-users] Georeferencing a raster without worldfile

2017-12-01 Thread Rahkonen Jukka (MML)
Hi, One alternative could be to read your png files through GDAL virtual raster http://www.gdal.org/gdal_vrttut.html Problem that you should solve is how to inject the file name into the SourceFilename element utm.tif But the wms_extent metadata seems quite promising to me. You could then chan

Re: [mapserver-users] Disable root layer

2017-11-23 Thread Rahkonen Jukka (MML)
Hi, Have you tried with an empty name? NAME "" -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Trond Michelsen Lähetetty: 23. marraskuuta 2017 12:49 Vastaanottaja: Mapserver Aihe: [mapserver-users] Disable ro

Re: [mapserver-users] Why WCS 2.0.1 slice is not supported?

2017-11-20 Thread Rahkonen Jukka (MML)
should be 0 dimensional (each slice reduces the dimension by one). In MapServer you could request using subsets with equal low and high, e.g. &subset=Long(-100,-100)&subset=Lat(22,22), to retrieve a one-pixel GeoTIFF. cu Stephan On 11/20/2017 02:43 PM, Rahkonen Jukka (MML) wrote:

[mapserver-users] Why WCS 2.0.1 slice is not supported?

2017-11-20 Thread Rahkonen Jukka (MML)
Hi, Geoserver sends a one-pixel GeoTIFF with WCS request demo.geo-solutions.it/geoserver/wcs?service=WCS&version=2.0.1&request=GetCoverage&coverageid=nurc__Img_Sample&subset=Long(-100)&subset=Lat(22) Mapserver is sending an error message: msWCSGetCoverage20(): WCS server error. Subset operation

[mapserver-users] How to cascade a WMTS service?

2017-11-15 Thread Rahkonen Jukka (MML)
Hi, I would like to cascade a WMTS service. I know well how to cascade WMS with "connenctiontype WMS" but I suppose for cascading WMTS I must use GDAL instead. My GDAL has WMTS driver WMTS -raster- (rwv): OGC Web Mab Tile Service I have created a definition file "wmts.xml" and "gdalinfo wmts.xm

[mapserver-users] How to control the mime-type of MapCache-WMS outputformats

2017-10-30 Thread Rahkonen Jukka (MML)
Hi, We found on issue when updating MapCache to version 1.6 from some ancient version. We have png-format configured to 8-bit by limiting the number of colors like fast 256 Now the WMS service is advertising this format with mime type "image/png; mode=8bit". However, we have existing app

Re: [mapserver-users] Draw roads WITHOUT anti-aliasing

2017-10-18 Thread Rahkonen Jukka (MML)
gon outlines and lines and they all seems to have anti-aliasing as far as I could see. Would this be an ok way to test it? I also have some people that would like to do lines without anti-aliasing for a strange reason. Lars Schylberg -----Originalmeddelande- > Från: "Rahkonen

Re: [mapserver-users] Draw roads WITHOUT anti-aliasing

2017-10-18 Thread Rahkonen Jukka (MML)
Hi, I suppose that the amount of antialiasing with AGG is set with "gamma" parameter. Mapserver supports that at least for polygons as documented in http://www.mapserver.org/mapfile/outputformat.html but you could try if using gamma=0.0 has an effect on lines as well. It may be that it does no

Re: [mapserver-users] Stop CLUSTERING beyond scale

2017-10-12 Thread Rahkonen Jukka (MML)
Hi, I would say that the answer to your question is "No" but you do not need to be sad because you can do it in a different way bay making a scale dependent layer group. LAYER GROUP "MY_FEATURES" NAME "WITH_CLUSTERS" MINSCALEDENOM 2 ... END LAYER GROUP "MY_FEATURES" NAME "WITHOU

Re: [mapserver-users] Force labels uppercase

2017-10-12 Thread Rahkonen Jukka (MML)
Hi, By trial and error and with a little help from http://www.mapserver.org/mapfile/expressions.html#expressions this line gives me a lowercase label TEXT (lower("[ATTRIBUTE]")) Looks rather similar to your request despite that I have TEXT and I counted the brackets to match. -Jukka Rahkone

Re: [mapserver-users] Polygon border with marker line symbol

2017-10-12 Thread Rahkonen Jukka (MML)
dious and next update from the data provider will have the same errors so I tend to use simple styles :). -Jukka Rahkonen- Lähettäjä: Björn Danielsson [mailto:bjorn.daniels...@falubo.se] Lähetetty: 12. lokakuuta 2017 13:03 Vastaanottaja: Rahkonen Jukka (MML) mailto:jukka.rahko...@maanmit

Re: [mapserver-users] Polygon border with marker line symbol

2017-10-12 Thread Rahkonen Jukka (MML)
Hi, I fear that you will run into another problem later because polygons are closed rings and therefore common borders will be drawn two times. Because of that rendering with sparse symbols may look ugly. I would consider preprocessing the data so that you will have a clean line data where du

Re: [mapserver-users] map server error message loadSymbol(): Unknown identifier. Parsing error near (GAP):(line33)

2017-09-15 Thread Rahkonen Jukka (MML)
ot; that used to be inside SYMBOL. First aid is to comment out that line. Then you should see your map or at least go further to the next error. -Jukka Rahkonen- Lähettäjä: Stathis Arapostathis [mailto:e.arapostat...@gmail.com] Lähetetty: 15. syyskuuta 2017 15:35 Vastaanottaja: Rahkonen Jukk

Re: [mapserver-users] map server error message loadSymbol(): Unknown identifier. Parsing error near (GAP):(line33)

2017-09-15 Thread Rahkonen Jukka (MML)
Hi, Add also the INCLUDEd mapfiles. I guess that they contain GAP somewhere in a wrong place. -Jukka Rahkonen- Lähettäjä: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Stathis Arapostathis Lähetetty: 15. syyskuuta 2017 12:59 Vastaanottaja: mapserver-users@lists.osge

[mapserver-users] On-the-fly hillshade with Mapserver and gdaldem

2017-09-11 Thread Rahkonen Jukka (MML)
Hi, Could it be possible to generate multidirectional hillshade on-the-fly for example by running gdaldem http://www.gdal.org/gdaldem.html in the background? -Jukka Rahkonen- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://list

Re: [mapserver-users] problem with mapserver as wms client

2017-09-04 Thread Rahkonen Jukka (MML)
Hi, WMS and WMTS are different services. While Mapserver does support cascading WMS as documented in http://mapserver.org/ogc/wms_client.html it can't cascade WMTS which means that this will not work CONNECTIONTYPE WMS CONNECTION "https://maps.wien.gv.at/basemap/1.0.0/WMTSCapabilities.xml

Re: [mapserver-users] Mapserver 7.0.6 from MS4W does not find spatial index from Spatialite

2017-08-25 Thread Rahkonen Jukka (MML)
SQLite ('Geometry' or 'GEOMETRY') but you can't create both 'Geometry' and 'GEOMETRY' into the same table if I remember right. -Jukka- Lähettäjä: Even Rouault Lähetetty: 25. elokuuta 2017 22:14 Vastaanottaja: map

[mapserver-users] Mapserver 7.0.6 from MS4W does not find spatial index from Spatialite

2017-08-25 Thread Rahkonen Jukka (MML)
Hi, I have a Spatialite database which has a valid and consistent spatial index if I ask spatialite-gui to check it. However Mapserver 7.0.6 from MS4W 3.2.2 does not find it. Layer is defined as CONNECTIONTYPE OGR DEBUG 5 CONNECTION "\ms4w_data\apps\wms-wfs.sqlite" DATA "select * from states"

Re: [mapserver-users] Segfault - LINE layer

2017-08-21 Thread Rahkonen Jukka (MML)
Hi, Agreed, it shouldn't segfault, but I do not quite understand how these empty geometries ever get selected. It is PostGIS backend and WMS GetMap request. As far as I know Mapserver in this case adds the "&&" or "bounding boxes intersect" query to the main query by using the layer extent as

Re: [mapserver-users] Segfault - LINE layer

2017-08-18 Thread Rahkonen Jukka (MML)
Hi, As a quick workaround edit your DATA: where type in ('trunk','motorway','primary') AND geometry is not null -Jukka Rahkonen- Lähettäjä: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Dave Barter Lähetetty: 18. elokuuta 2017 16:05 Vastaanottaja: mapserver-users@li

Re: [mapserver-users] how remove the geometry from wfs response

2017-06-16 Thread Rahkonen Jukka (MML)
Hi, I don't quite agree with you claim that geometry is somehow compulsory in WFS. See for example these capabilities: http://demo.geo-solutions.it/geoserver/wfs?request=describefeaturetype&version=1.0.0&service=wfs&typename=topp:states You can see that geometry is just one attribute among all

Re: [mapserver-users] Issue in using MapServer WFS Filter

2017-05-04 Thread Rahkonen Jukka (MML)
uot; "wfs_getfeature_formatlist" "geojson" END CLASS STYLE COLOR 100 200 100 OUTLINECOLOR 0 0 0 END LABEL COLOR 150 150 150 OUTLINECOLOR 255 255 255 TYPE bitmap SIZE small POSITION UL #TEXT "[STATE_FIP

[mapserver-users] Default GeoTIFF imagemode in WCS 2.0.1

2017-05-03 Thread Rahkonen Jukka (MML)
Hi, Documentation http://www.mapserver.org/ogc/wcs_server.html claims that the default value of "wcs_imagemode" is FLOAT32: If no default and specific values are given for the interval or significant figures metadata field, the a default is generated from the "imagemode" field, which itself de

Re: [mapserver-users] Allow request in http and https

2017-05-02 Thread Rahkonen Jukka (MML)
Hi, Actually your Mapserver will respond both to http and https requests if your network let them both come through. OnlineResourse has no effect at all for Mapserver, you can set it to http://foo@bar if you wish. But WMS clients may have difficulties if they really interpret the GetMap URL and

Re: [mapserver-users] Allow request in http and https

2017-05-02 Thread Rahkonen Jukka (MML)
Hi, By looking at the WMS 1.3.0 standard OnlineResource is is sequence and I can't see anywhere maxOccurs="unbounded". I am not sure but doesn't it mean that there must be exactly one OnlineResource? I used https://www.w3schools.com/xml/el_sequence.asp as reference and snippet from WMS 1.3.0

Re: [mapserver-users] Issue in using MapServer WFS Filter

2017-04-26 Thread Rahkonen Jukka (MML)
Hi, When it comes to extra spatial filter, there is a brand new metadata item for switching it off. See http://mapserver.org/ogc/wfs_server.html wfs_use_default_extent_for_getfeature (Optional, since MapServer 7.0.4) Whether the MAP.EXTENT should be used in request to datasources in the ab

[mapserver-users] Paletted TIFFs and WCS [Was: geotiff 48bit with mapserver 7 wms]

2017-04-25 Thread Rahkonen Jukka (MML)
Hi, Cora told about his problems with WCS and 8-bit input images in another thread that was originally dealing with 16-bit RBG images. That thread was http://osgeo-org.1560.x6.nabble.com/geotiff-48bit-with-mapserver-7-wms-td5316916.html I had a look at the test image from https://www.bscw.nrw

Re: [mapserver-users] geotiff 48bit with mapserver 7 wms

2017-04-19 Thread Rahkonen Jukka (MML)
Hi Cora, Could you prepare a small sample image and put it somewhere for downloading? Or did you already do it in some earlier mail? -Jukka Rahkonen- Lähettäjä: mapserver-users käyttäjän puolestaBerger, Cora Lähetetty: 19. huhtikuuta 2017 17:45 Vasta

Re: [mapserver-users] A trouble at validation level

2017-04-04 Thread Rahkonen Jukka (MML)
Hi, The online validator at http://www.regextester.com/ validates your string with your regexp. -Jukka Rahkonen- Andrea Peri wrote: [mapserver-users] A trouble at validation level Hi, I have an error try-ing to validate this string: afa24052-7022-4147-96bc-0478ad0d8c6f The mapserver log retur

Re: [mapserver-users] WCS 2.0.1 and output with RangeSubset

2017-03-28 Thread Rahkonen Jukka (MML)
. I think this qualifies for a bug report. Thanks. cu Stephan On 03/09/2017 03:36 PM, Rahkonen Jukka (MML) wrote: > Hi, > > > > I have been experimenting with WCS 2.0.1 and orthoimages. When I selec t > only one band by including &RangeSubset=BandA into the GetCover

[mapserver-users] WCS 2.0.1 and output with RangeSubset

2017-03-09 Thread Rahkonen Jukka (MML)
Hi, I have been experimenting with WCS 2.0.1 and orthoimages. When I select only one band by including &RangeSubset=BandA into the GetCoverage request I get a greyscale geotiff as output as I expect. However, the output is actually a 3-band tiff with BandA copied to all three bands. Is this ho

Re: [mapserver-users] wms projection wrong

2017-03-08 Thread Rahkonen Jukka (MML)
Hi, I do not see any screenshot in your message. This mailing list has rather strict limits for the size of the message so perhaps it has been dropped. It might be better to put your image into some image service and add a link to the mail. You must also add more information. Write at least LA

Re: [mapserver-users] WMS service doesn't work

2017-02-22 Thread Rahkonen Jukka (MML)
Hi, Works for me with OpenJUMP 1.10 and QGIS 2.18.3. I tested only with EPSG:4326 though, and at 21:40 GMT+2 if you have made some changes since your first message. -Jukka Rahkonen- Goran Kirandziski wrote: Re: [mapserver-users] WMS service doesn't work Tha

Re: [mapserver-users] Cant get polygon labels to show up

2017-02-14 Thread Rahkonen Jukka (MML)
Hi, I have located the problem into line WRAP '/' Perhaps slash requires escaping or something. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Brent Fraser Lähetetty: 14. helmikuuta 2017 6:15 Vastaano

Re: [mapserver-users] setting bounding box WG84

2017-02-08 Thread Rahkonen Jukka (MML)
Hi, You are not supposed to set it manually. TinyOWS is making a database query for finding the extents. You can configure it to use the faster method http://postgis.net/docs/manual-2.0/ST_Estimated_Extent.html if you set it in the config file http://mapserver.org/tinyows/configfile.html. In y

Re: [mapserver-users] Error with Filter = no results

2017-02-02 Thread Rahkonen Jukka (MML)
Hi, Fine that you could made it to work but I still think that Mapserver does not behave well. GetFeature without filter works for me also even if I do not have EXTENT at MAP level or in LAYER. However, adding filter with BBOX gives me similar warnings: [Thu Feb 02 15:21:52 2017].585000 msProje

Re: [mapserver-users] Error with Filter = no results

2017-02-02 Thread Rahkonen Jukka (MML)
What happens if you remove srsName from the filter? It can be hard to know how to reproject from EPSG:32632 into unknown. WFS 1.0.0 is anyway tied to the default srs. I would also consider saving data into PostGIS with proper SRID. -Jukka Rahkonen- - Alkuperäinen viesti - Lähettäjä: "Da

Re: [mapserver-users] Apply style on osm layer using sld

2017-02-01 Thread Rahkonen Jukka (MML)
Hi, Could you clarify which part of your problem has a connection with SLD? -Jukka Rahkonen- vineet singh wrote: [mapserver-users] Apply style on osm layer using sld Hi All, I'm trying style a vector layer containing OSM data (places) using the mapscript style shown below. It works so lo

Re: [mapserver-users] Can't seed tiles with Mapcache from a Mapserver Tile Index raster layer

2017-01-24 Thread Rahkonen Jukka (MML)
Hi If I count right there are about 5000 images in the whole tileindex. I such case it is not enough to have overviews on individual images. At small scale Mapserver must open very many image files, up till all 5000 for getting the tile or metatile that covers the hole area. I am using a gro

Re: [mapserver-users] Σχετ: Place names and language

2017-01-21 Thread Rahkonen Jukka (MML)
Hi, Jeff and Stefanos are probably giving good hints about how to render non-western character sets. However, I wonder if Aimee actually wants to have English names everywhere. Is this what you want, Aimee? If you have a look the OSM data, for example Moscow http://www.openstreetmap.org/rela

Re: [mapserver-users] Unexpected result from overlapping images in tile index

2017-01-20 Thread Rahkonen Jukka (MML)
Stephen Woodbridge wrote: Re: [mapserver-users] Unexpected result from overlapping images in tile index > Right, you can not rely on the tileindex from doing anything more than say > these are the objects that intersect with your bbox. True, if you use an unsorted shapefile tileindex. As mentio

Re: [mapserver-users] Labels disappear

2017-01-13 Thread Rahkonen Jukka (MML)
Hi, There should be a common-for-all-programs FAQ about labels in tiled maps but I fear that such does not exist. The problem comes from tiling. 256x256 pixels is damn little area for a map. If a label does not fit completely inside the tile boundaries you have two options: cut it at the bound

Re: [mapserver-users] Mapserver seem change the line size in raster dataset

2017-01-13 Thread Rahkonen Jukka (MML)
Hi, What is included in "any setting I know on mapserver"? Could you show a link to some raster, together with the LAYER from your mapfile? -Jukka Rahkonen- Andrea Peri wrote: [mapserver-users] Mapserver seem change the line size in raster dataset Hi, I have a raster dataset to publish on int

Re: [mapserver-users] Labels disappear

2017-01-13 Thread Rahkonen Jukka (MML)
Hi, Is your client requesting 256x256 pixel sized tiles? -Jukka Rahkone- ccjklppp wrote: > Re: [mapserver-users] Labels disappear > Hello, I have a problem showing labels for points shapefile. > when zooming in and out, some of the labels are disappeared for different > zoom level. > what c

Re: [mapserver-users] WMS T time series data support

2017-01-11 Thread Rahkonen Jukka (MML)
Hi, Forward step by step. Remove everything that is time-related, read http://www.mapserver.org/optimization/tileindex.html and make your tileindex layer to work and show all your images. Once that works for you, continue to time series stuff. BTW I have never seen this before “CLASS #class t

Re: [mapserver-users] Postgres call 2 GetCapabilities attribute listing.

2017-01-11 Thread Rahkonen Jukka (MML)
e: > On 2017-01-10 1:29 PM, Rahkonen Jukka (MML) wrote: >> I would activate WFS and send DescribeFeatureType for reading the >> schema. No need to support other WFS request. All you need is less >> than ten new metadata lines in your mapfile and you can make >> Maps

Re: [mapserver-users] wms/ows_enabe request and invalid layer and Qgis

2017-01-11 Thread Rahkonen Jukka (MML)
Hi, Your screen capture of the error message is rather useless because I can't read the texts. Instead of image, copy or rewrite the texts. The easier you make it the better possibilities that somebody tries to help you. -Jukka Rahkonen- -Alkuperäinen viesti- Leehan wrote: Re: [mapser

Re: [mapserver-users] Postgres call 2 GetCapabilities attribute listing.

2017-01-10 Thread Rahkonen Jukka (MML)
I would activate WFS and send DescribeFeatureType for reading the schema. No need to support other WFS request. All you need is less than ten new metadata lines in your mapfile and you can make Mapserver to publish both the column names and their data types. -Jukka Rahkonen- ___

Re: [mapserver-users] wms/ows_enabe request and invalid layer and Qgis

2017-01-10 Thread Rahkonen Jukka (MML)
Hi, Have a look at the access.log and check what request QGIS has sent. And even 10.210.1.32 does not seem to be open to internet it is not a good habit to reveal your passwords in mailing lists. I suggest to change that password everywhere you are using it. Another thing to check is if the "w

Re: [mapserver-users] [SOLVED] About the WFS 2.0 stored query example

2016-12-22 Thread Rahkonen Jukka (MML)
as well? -Jukka Rahkonen- Lähettäjä: Rahkonen Jukka (MML) Lähetetty: 22. joulukuuta 2016 0:17 Vastaanottaja: mapserver-users@lists.osgeo.org Kopio: Even Rouault (even.roua...@spatialys.com) Aihe: Re: [mapserver-users] About the WFS 2.0 stored query example Attached, created with Notepad

Re: [mapserver-users] About the WFS 2.0 stored query example

2016-12-21 Thread Rahkonen Jukka (MML)
@lists.osgeo.org Kopio: Rahkonen Jukka (MML) ; Jeff McKenna Aihe: Re: [mapserver-users] About the WFS 2.0 stored query example On mercredi 21 décembre 2016 12:50:28 CET Rahkonen Jukka (MML) wrote: > Hi, > > Håvard already made a doc issue, but I fear now that it is not only doc >

Re: [mapserver-users] How to know when WFS can utilize native SQL for fitering?

2016-12-21 Thread Rahkonen Jukka (MML)
Even Rouault wrote: Re: [mapserver-users] How to know when WFS can utilize native SQL for fitering? >On mercredi 21 décembre 2016 15:51:36 CET Rahkonen Jukka (MML) wrote: >> Hi, >> >> Is there any way to know how Mapserver is going react to WFS GetFeature >> reques

[mapserver-users] How to know when WFS can utilize native SQL for fitering?

2016-12-21 Thread Rahkonen Jukka (MML)
Hi, Is there any way to know how Mapserver is going react to WFS GetFeature request with filters? It would be good to know if it is going to build some native SQL or if it decides to read everything from the database and filter the result on server . I have made an "idrangequery" stored query

Re: [mapserver-users] About the WFS 2.0 stored query example

2016-12-21 Thread Rahkonen Jukka (MML)
ample On 2016-12-21 6:36 AM, Rahkonen Jukka (MML) wrote: > > > > It was not self-evident for me. Perhaps the examples in > http://mapserver.org/ogc/wfs_server.html#stored-queries-wfs-2-0 could > have this edit for making them more copy-paste ready. > > Please file your

Re: [mapserver-users] About the WFS 2.0 stored query example

2016-12-21 Thread Rahkonen Jukka (MML)
Hi, For making Mapserver to accept the definition of the stored query from a saved XML file I had to add xml header line http://www.w3.org/2001/XMLSchema"; xmlns:gml="http://www.opengis.net/gml/3.2"; id="bboxstoredquery"> It was not self-evident for me. Perhaps the examples in http://mapserv

Re: [mapserver-users] About the WFS 2.0 stored query example

2016-12-21 Thread Rahkonen Jukka (MML)
Even Rouault wrote: Re: [mapserver-users] About the WFS 2.0 stored query example On mercredi 21 décembre 2016 08:54:38 CET Rahkonen Jukka (MML) wrote: > Hi, > > I tried to test the stored query example from > http://mapserver.org/ogc/wfs_server.html#stored-queries-wfs-2-0. I e

[mapserver-users] About the WFS 2.0 stored query example

2016-12-21 Thread Rahkonen Jukka (MML)
Hi, I tried to test the stored query example from http://mapserver.org/ogc/wfs_server.html#stored-queries-wfs-2-0. I edited the query to use my typeNames, but ListStoredQueries sends an error: I can't find any more information from the errorfile. Is that stored query tested to work with Maps

Re: [mapserver-users] Speeding up WFS paging with Spatialite and GeoPackage

2016-12-20 Thread Rahkonen Jukka (MML)
Even Rouault wrote: Re: [mapserver-users] Speeding up WFS paging with Spatialite and GeoPackage On mardi 20 décembre 2016 13:07:27 CET Rahkonen Jukka (MML) wrote: > https://www.postgresql.org/docs/9.1/static/sql-declare.html In the PostGIS case (I mean not through OGR PG driver), OFF

Re: [mapserver-users] Speeding up WFS paging with Spatialite and GeoPackage

2016-12-20 Thread Rahkonen Jukka (MML)
/sql-declare.html could be faster with PostGIS. What do you think? -Jukka- Even Rouault wrote: On mardi 20 décembre 2016 10:36:55 CET Rahkonen Jukka (MML) wrote: > Hi, > > It seems that because of how SQLite works it is not possible to make fast > paging for big tables by usin

[mapserver-users] Speeding up WFS paging with Spatialite and GeoPackage

2016-12-20 Thread Rahkonen Jukka (MML)
Hi, It seems that because of how SQLite works it is not possible to make fast paging for big tables by using simple SQL with LIMIT and OFFSET. Making a query as "LIMIT 100 OFFSET 100" makes SQLite to read 1000100 rows and throw away the first million ones. The bigger the offset the slower

Re: [mapserver-users] Mapserver 7.0.3 and disabling default extent for WFS

2016-12-19 Thread Rahkonen Jukka (MML)
dic 2016 23:34, "Rahkonen Jukka (MML)" mailto:jukka.rahko...@maanmittauslaitos.fi>> ha scritto: If I set "wfs_use_default_extent_for_getfeature" "yes" I see a difference [Tue Dec 20 00:28:37 2016].113723 msOGRFileWhichShapes: Setting spatial filter to -1e+300 -1e+

Re: [mapserver-users] Mapserver 7.0.3 and disabling default extent for WFS

2016-12-19 Thread Rahkonen Jukka (MML)
this change does not make is fast, notice 11 seconds between WhichShapes and Next shape. -Jukka- Lähettäjä: Even Rouault [mailto:even.roua...@spatialys.com] Lähetetty: 20. joulukuuta 2016 0:27 Vastaanottaja: mapserver-users@lists.osgeo.org Kopio: Rahkonen Jukka (MML) Aihe: Re: [mapserver-users]

Re: [mapserver-users] Generic geometry type in WFS

2016-12-19 Thread Rahkonen Jukka (MML)
Now when I read the same page a bit longer I see that there are "gml_[geometry name]_type" and "ows/wfs_geomtype" and the latter supports generic "Geometry" and also that my use case with mixed polygons and multipolygons is understood. But I do not understand at all what I should do for making W

[mapserver-users] Mapserver 7.0.3 and disabling default extent for WFS

2016-12-19 Thread Rahkonen Jukka (MML)
Hi, I am running Mapserver 7.0.3, I have a vector layer from a quite large GeoPackage through OGR connection and I have set the LAYER METADATA item "wfs_use_default_extent_for_getfeature" "no" Still if I query GetFeature simply with &COUNT=1 I can see that the default extent is used msOGRF

[mapserver-users] Generic geometry type in WFS

2016-12-19 Thread Rahkonen Jukka (MML)
Hi, I read from http://mapserver.org/ogc/wfs_server.html this comment: "WFS spec. seems to require that features of a given feature type must all be of the same geometry type (point, line, polygon). This works fine for shapefiles, but some data source formats supported by MapServer allow mixed

Re: [mapserver-users] Mapserver does not use the spatial index with GeoPackage

2016-12-14 Thread Rahkonen Jukka (MML)
Re: [mapserver-users] Mapserver does not use the spatial index with GeoPackage On mercredi 14 décembre 2016 12:00:01 CET Rahkonen Jukka (MML) wrote: > Hi, > > I am using Mapserver 7.0 with GDAL 2.1.1, released 2016/07/07 > I have Geopackage as source data: > > CONNECTIONT

[mapserver-users] Mapserver does not use the spatial index with GeoPackage

2016-12-14 Thread Rahkonen Jukka (MML)
Hi, I am using Mapserver 7.0 with GDAL 2.1.1, released 2016/07/07 I have Geopackage as source data: CONNECTIONTYPE OGR CONNECTION "/users/wms/data/vektorit/kiinteistot/palsta.gpkg" DATA "select * from palsta" Geopackage is created with GDAL 2.2 with default options and it does have a spatial in

Re: [mapserver-users] Can't get capabilities xml error message

2016-11-23 Thread Rahkonen Jukka (MML)
's all. No line 144... Am i right ?​ 2016-11-23 11:34 GMT+01:00 Rahkonen Jukka (MML) mailto:jukka.rahko...@maanmittauslaitos.fi>>: Hi, Save the GetCapabilities response on the disk, open it with text editor and see what there is on the line 144 at place 17. But did you already con

Re: [mapserver-users] Can't get capabilities xml error message

2016-11-23 Thread Rahkonen Jukka (MML)
Hi, Save the GetCapabilities response on the disk, open it with text editor and see what there is on the line 144 at place 17. But did you already convert your mapfile into UTF8? You must do it anyways so do it now before making any other changes. -Jukka Rahkonen- Leehan wrote: Re: [mapserv

Re: [mapserver-users] Can't get capabilities xml error message

2016-11-22 Thread Rahkonen Jukka (MML)
Hi, I believe that a quick fix is to edit your mapfile and change " opérations " into "operations". Non-ASCII character should be OK if you save the mapfile as UTF8 which is a requirement nowadays in any case. Plain ASCII mapfiles still do work even if they are saved as Latin1 or something. -

Re: [mapserver-users] Non-square pixels when re-projecting on the fly

2016-11-17 Thread Rahkonen Jukka (MML)
Hi, Hi, I do not quite believe that your output pixels are non-square. I rather think that what you see are views of the native 4326 pixels reprojected into 3857. In Scotland (7536002 N in epsg:3857) projecting data from 4326 to 3857 is making quite a big stretch in Nort-South direction. With

Re: [mapserver-users] MAP_RESOLUTION parameter

2016-11-16 Thread Rahkonen Jukka (MML)
exactly a vendor parameter in the same way than these great vendor parameters of Geoserver http://docs.geoserver.org/stable/en/user/services/wms/vendor.html. -Jukka Rahkonen- Lähettäjä: Marco Afonso [mailto:mafonso...@gmail.com] Lähetetty: 16. marraskuuta 2016 12:50 Vastaanottaja: Rahkonen Jukka

Re: [mapserver-users] MAP_RESOLUTION parameter

2016-11-16 Thread Rahkonen Jukka (MML)
Hi, There was some discussion 5 years ago https://lists.osgeo.org/pipermail/mapserver-users/2011-June/069136.html but obviously I did not made the documentation ticket. Because MAP_RESOLUTION can be used without having it in the mapfile I feel that it should be documented in http://mapserver.o

Re: [mapserver-users] confused on styling polygon

2016-11-08 Thread Rahkonen Jukka (MML)
Hi, I could make it to show by removing WIDTH 5. Mapserver obviously did not like to see it in that place because the error from the server was loadClass(): Unknown identifier. Parsing error near (WIDTH):(line 43) By reading the documentation I do not quite understand what WIDTH should do wit

Re: [mapserver-users] A problem with the Run-time substitution

2016-11-07 Thread Rahkonen Jukka (MML)
Hi, Your SQL was missing the parenthesis, which I suppose to be mandatory with IN http://www.1keydata.com/sql/sqlin.html -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Burgholzer, Robert (DEQ) Lähetetty: 7. ma

Re: [mapserver-users] A problem with the Run-time substitution

2016-11-07 Thread Rahkonen Jukka (MML)
Hi, It should work like this, if it doesn't then we probably have a bug PROCESSING "NATIVE_FILTER=ct in ('%param%')" See also http://gis.stackexchange.com/questions/214899/in-operator-in-filter-in-my-mapfile/214921#214921 -Jukka Rahkonen- Janne Tuovinen wrote: Re: [mapserver-users] A problem

Re: [mapserver-users] couldn't adapt this postgis query

2016-11-07 Thread Rahkonen Jukka (MML)
Hi, Your query may work but because it is returning a point and you have commented out your symbol it won’t show on the map. There may be some other problem as well, but you must have SYMBOL because Mapserver does not have any default style for points (stupid feature in Mapserver for my mind).

Re: [mapserver-users] arcgis 10.3 enterprise geodatabase

2016-11-04 Thread Rahkonen Jukka (MML)
Hi, Are you sure that you would need Spatial? Locator covers nowadays most use cases. -Jukka Rahkonen- Lähettäjä: Wingfield, Nathaniel D Lähetetty: ‎4.‎11.‎2016 18:00 Vastaanottaja: Michael Smith; Lime

Re: [mapserver-users] MapServer Projections and Extents Tutorial

2016-11-04 Thread Rahkonen Jukka (MML)
Hi, The other side is that hand written extents tend to go wrong every now and then, layer data and extents may change over the time, and for some data sources it is not heavy at all to read the extents on-the-fly. But big database tables without up-to-date statistics and Oracle in general can

Re: [mapserver-users] ovr and mapserver

2016-11-02 Thread Rahkonen Jukka (MML)
Hi, Mapserver makes use of external overviews automatically. It is perhaps not documented very well and http://www.mapserver.org/input/raster.html if using "external overview" in the meanings: external overview for a single image and as a downsampled separate image that covers a larger area, wh

Re: [mapserver-users] Layer opacity not working

2016-10-31 Thread Rahkonen Jukka (MML)
Hi, I have not compiled myself but I can see pixman-0.34.0 in the build directory so I guess that it has been used. But how do you explain that OPACITY within STYLE works but not within the composite layer? -Jukka- Jeff McKenna wrote: Lähetetty: 31. lokakuuta 2016 22:17 Vastaanottaja: mapse

Re: [mapserver-users] ogrinfo not recognized

2016-10-31 Thread Rahkonen Jukka (MML)
Hi, How did you install Mapserver then? From OSGeo4W, from the gisinternals binaries, or by compiling by yourself? In any case it if not enough to locale the ogrinfo.exe but you must set the environment so that all the dependencies are found. You can use the setenv.bat from MS4W as an example:

Re: [mapserver-users] Layer opacity not working

2016-10-31 Thread Rahkonen Jukka (MML)
Hi, I can confirm with Linux and Mapserver 7.0.2. I found also an easy workaround: go back to deprecated style - opacity STYLE OUTLINECOLOR "#00" COLOR "#98C06B" OPACITY 50 END -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä

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