Re: [mapserver-users] WMS layers order and copyright

2010-06-07 Thread Rahkonen Jukka
Hi, This is what I have been using: LAYER NAME "copyright" METADATA "wms_title" "copyright" END STATUS DEFAULT REQUIRES "[aerial_images]" # this text appears always with aerial images in WMS TYPE ANNOTATION TRANSFORM ll #set the image origin to be lower left

Re: [mapserver-users] GetFeatureInfo from a JavaScript client

2010-06-10 Thread Rahkonen Jukka
Hi, Mapserver does probably not receive a valid GetFeatureInfo request. Open the Apache access log file and see what is coming in. You can also test the request from browser. -Jukka Rahkonen- David Alda Fernandez de Lezea wrote: > Hi folks, > My situation: We've developed a GIS web viewer

Re: [mapserver-users] Questions about shp2img.exe

2010-06-21 Thread Rahkonen Jukka
Hi, Could you send the shp2img command you were using? And if the problem is non-square tiles, the SIZE line from your mapfile as well. -Jukka Rahkonen- Forest wrote: > Hello Everyone, I am using shp2img.exe which is MapServer's utility to > translate my shpfiles to png image file.And I tr

Re: [mapserver-users] Obtaining the color of a layer

2010-06-22 Thread Rahkonen Jukka
Hi, Could WMS GetStyles suit you? Usage example: http://localhost/cgi-bin/mapserv.exe?map=c:\ms4w\osm-mapserver.map&service=wms&version=1.1.0&request=getstyles&layers=roadsfar_01 -Jukka Rahkonen- daniel.smith1 wrote: > This is probably very basic. I have done some research but can't find a

Re: [mapserver-users] Re: Limiting the execution time of mapserver

2010-06-22 Thread Rahkonen Jukka
Hi, If you can control the client application make it to send &maxFeatures=100 with each WFS getFeature request. -Jukka Rahkonen- mattmendick wrote: > Thanks for the reply - where would you put this limit statement? I've tried putting it in the DATA section, like so: > DATA "wkb_geometry from

Re: [mapserver-users] Re: OSM renderer with MapServer (christopher.schm...@nokia.com)

2010-06-28 Thread Rahkonen Jukka
Hi, The Windows version of osm2pgsql does not find automatically proj4 libraries which are needed for doing import with -l switch or with -E switch. For making these switches to work user should install proj4 in some way and set an environment variable to point to that location. Too tricky, so

Re: [mapserver-users] Problems loading gml file in desktop gisretrieved from wfs

2010-06-30 Thread Rahkonen Jukka
Hi, I captured your gml, saved in on disk and checked it with ogrinfo. The result is odd, it tells that the geometry is MULTIPOLYGON EMPTY. That makes me think that Mapserver has perhaps created invalid GML. d:\FWTools2.4.6>ogrinfo -al testgml.gml Had to open data source read-only. INFO: Open of

Re: [mapserver-users] Problems with mapserver wrapper script

2010-07-01 Thread Rahkonen Jukka
Hi, I do not see anything wrong in it. It should work and perhaps give you another error as I am getting from Mapserver 5.2.1 msWMSDispatch(): WMS server error. Incomplete WMS request: VERSION parameter I would have a try by including the drive letter in the mapfile path and restarting Apache,

Re: [mapserver-users] How to get full extent of the map?

2010-07-02 Thread Rahkonen Jukka
Hi, You can read layer extents with WMS GetCapabities request, perhaps that could help you? -Jukka Rahkonen- Kiran Bandal wrote: > Hi, > I am a bit to new MapServer. > I need some assistance on one of my issues as described below. > I am using MapServer 5.6.3. I am creating a Silverlight a

Re: [mapserver-users] Re: How to get full extent of the map?

2010-07-03 Thread Rahkonen Jukka
Hi, Sorry, I do not make code, but you should make your application to send the getCapabilities request like http://localhost/cgi-bin/mapserv.exe?service=WMS&version=1.1.0&request=getCapabilities&map=c:\ms4w\osm-mapserver.map and capture the extents from the returned document which will have thi

Re: [mapserver-users] creating views/queries on the fly

2010-07-06 Thread Rahkonen Jukka
Hi, Perhaps defining layer DATA so that it includes variables could help you? Your client should then send the variables with the requests, like &key=xxx&value=yyy. If you do not need a service based solution, OpenJUMP is very good tool for making arbitrary database queries. It supports PostG

Re: [mapserver-users] tiff image drawing error

2010-07-16 Thread Rahkonen Jukka
Hi, Please send what does gdalinfo reports with command gdalinfo /opt/geoweb/maps/snapout2.tif -Jukka Rahkonen- YAMADA,Yasuharu wrote: > Thank you for your information. > But > (1) The tiff file seems an ordinary file. > (2) "/var/www/cgi-bin/mapserv.cgi -v" reports including "INPUT=TI

Re: [mapserver-users] Reg:- Connecting Mapserver with Oracle Spatialusing asp.net

2010-07-23 Thread Rahkonen Jukka
Hi, Most probably the message you see is telling it all: your Mapserver version does not support Oracle. If you work with Windows the MS4W comes with Oracle support but it must be activated first by following the instructions which come with the delivery. I would also suggest reading at least t

[mapserver-users] FOSS4G registration link

2010-07-26 Thread Rahkonen Jukka
Hi, Is this the correct link? https://forms.pacifico-meetings.com/ReservationForm/index.aspx?co=225 It does not work for me. -Jukka Rahkonen- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapser

Re: [mapserver-users] what is the way to get feature info inmapserver?

2010-07-29 Thread Rahkonen Jukka
Hi, Even if you'd get it working, without adding wms_include_items the GetFeatureInfo result will not have any useful information. I tried once to understand how GetFeatureInfo is configered in Mapserver, see http://permalink.gmane.org/gmane.comp.gis.mapserver.user/41818 I suggest you to see fr

Re: [mapserver-users] what is the way to get feature info inmapserver?

2010-07-29 Thread Rahkonen Jukka
well, I suppose it will appear sooner or later in the thread. -Jukka- -Alkuperäinen viesti- Lähettäjä: Enrico Oemi [mailto:enrico.o...@gmail.com] Lähetetty: to 29.7.2010 19:03 Vastaanottaja: Rahkonen Jukka Kopio: Lime, Steve D (DNR) Aihe: Re: [mapserver-users] what is the way to get

Re: [mapserver-users] logging GDAL queries

2010-08-14 Thread Rahkonen Jukka
Hi, I can't say anything about georaster, but 4 GB is not a limit for GDAL because it supports BigTIFFs. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org puolesta: Sebastian E. Ovide Lähetetty: la 14.8.2010 16:02 Vastaanottaja: Lucena, Ivan Kopi

Re: [mapserver-users] refactoring STYLEs ?

2010-08-20 Thread Rahkonen Jukka
Hi, You can use INCLUDE everywhere in your mapfile for reading definitions from a text file. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org puolesta: Clément MONIER Lähetetty: pe 20.8.2010 14:48 Vastaanottaja: 'mapserver-users@lists.osgeo.org'

Re: [mapserver-users] maps all look squished

2010-08-20 Thread Rahkonen Jukka
Hi, What is the projection of your layer data, what is the projection for the output, and how do you request the image from Mapserver? -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org puolesta: Josh Jordan Lähetetty: pe 20.8.2010 6:16 Vastaan

Re: [mapserver-users] maps all look squished

2010-08-20 Thread Rahkonen Jukka
the layer does not print.  It seems redundant to have to write the same projection everywhere. I request the map image with:ms_newMapObj($PM_MAP_FILE); --- On Fri, 8/20/10, Rahkonen Jukka wrote: From: Rahkonen Jukka Subject: Re: [mapserver-users] maps all look squished To: "Josh Jordan"

Re: [mapserver-users] maps all look squished

2010-08-20 Thread Rahkonen Jukka
the size makes no difference,  it was 500 600, I changed it to 100 5000 and 5000 100 and there is no difference. --- On Fri, 8/20/10, Rahkonen Jukka wrote: From: Rahkonen Jukka Subject: Re: [mapserver-users] maps all look squished To: "Josh Jordan" , mapserver-users@lists.osge

Re: [mapserver-users] Mapserver tile generation - google maps

2010-08-24 Thread Rahkonen Jukka
Hi Wim, If your data is that dynamic then there is not much advantage in using tilecache. Perhaps there is not much advantage in making tiled requests either. Applications asking for 256x256 pixel sized tiles from on-demand bases are generating rather a lot of load for Mapserver. There is an ad

Re: [mapserver-users] Same database connection across multiple layers

2022-05-13 Thread Rahkonen Jukka
Hi, Write the connection into a separate file that you can INCLUDE into the main mapfile https://mapserver.org/mapfile/include.html -Jukka Rahkonen- Lähettäjä: MapServer-users Puolesta Atlanta Geek Lähetetty: perjantai 13. toukokuuta 2022 16.14 Vastaanottaja: mapserver-users@lists.osgeo.org

Re: [mapserver-users] Fwd: MapServer 7 arithmetic expressions do not work on STYLE attributes?

2022-06-16 Thread Rahkonen Jukka
Hi, Adding a link to the same question asked earlier in gis.stackexchange: https://gis.stackexchange.com/questions/433659/mapserver-7-arithmetic-expressions-do-not-work-on-style-attributes/433664#433664. -Jukka Rahkonen- Lähettäjä: MapServer-users Puolesta Andi p3 Domi Lähetetty: torstai 16.

Re: [MapServer-users] Content of WMS based on attribute

2022-08-19 Thread Rahkonen Jukka
Hi, The standard WMS way would be to use SLD or SLD_BODY with a filter https://mapserver.org/ogc/sld.html. -Jukka Rahkonen- Lähettäjä: MapServer-users Puolesta Marcin Niemyjski via MapServer-users Lähetetty: perjantai 19. elokuuta 2022 15.31 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe

Re: [MapServer-users] WCS 2.0.1 GetCoverage request results in corrupted geotiff

2022-08-26 Thread Rahkonen Jukka
Hi, Your question is exceptionally detailed but because the issue happens only with a certain Docker image maybe you should contact the authors of the image https://github.com/PDOK/mapserver-docker/. But you seem to be one of the contributors yourself https://github.com/PDOK/mapserver-docker/g

Re: [MapServer-users] Projection confusion and output image format

2022-10-13 Thread Rahkonen Jukka
Hi, About adding new SRS into WMS give a list like here for the Web Mercator and the Finnish GK zones "wms_srs""EPSG:3067 EPSG:3857 EPSG:3873 EPSG:3874 EPSG:3875 EPSG:3876 EPSG:3877 EPSG:3878 EPSG:3879 EPSG:3880 EPSG:3881 EPSG:3882 EPSG:3883 EPSG:3884 EPSG:3885 EPSG:4326 EPSG:3045" Mapserv

Re: [MapServer-users] Projection confusion and output image format

2022-10-13 Thread Rahkonen Jukka
Hi, You will see the srs metadata in GetCapabilities, WMS clients can build a menu according to the list, and Mapserver will reproject the maps. At least if you make a list that makes sense, it is not possible to transform EPSG:3067 into all coordinate systems of the World. -Jukka- -Alkup

Re: [MapServer-users] Redirecting to s3 via apache2 redirect/alias/proxy

2022-10-24 Thread Rahkonen Jukka
Hi, I am not sure how well redirect plays together with MS_MAP_PATTERN https://www.mapserver.org/optimization/limit_mapfile_access.html#limit-mapfile-access but maybe you could test it by redirecting locally and trying to access a mapfile from a directory that does not match with MS_MAP_PATTERN

Re: [MapServer-users] Distinguish between pixels outside of SCALE range and nodata pixels

2022-11-28 Thread Rahkonen Jukka
Hi, Have you tried the LUT processing option https://mapserver.org/input/raster.html? -Jukka Rahkonen- Lähettäjä: MapServer-users Puolesta Mallinger, Bernhard Lähetetty: maanantai 28. marraskuuta 2022 15.35 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: [MapServer-users] Distinguish bet

Re: [MapServer-users] Distinguish between pixels outside of SCALE range and nodata pixels

2022-11-28 Thread Rahkonen Jukka
- Lähettäjä: Mallinger, Bernhard Lähetetty: maanantai 28. marraskuuta 2022 16.53 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [MapServer-users] Distinguish between pixels outside of SCALE range and nodata pixels Thank you for the suggestion, I have tried it now

Re: [MapServer-users] Shapefile data source doesn't work

2022-11-29 Thread Rahkonen Jukka
Hi, Please show the extent of the shapefile as ogrinfo shows it. Verify that EPSG:3857 is correct for the data. And capture the GetMap request that QGIS is sending. -Jukka Rahkonen- Lähettäjä: MapServer-users Puolesta Marcin Niemyjski via MapServer-users Lähetetty: tiistai 29. marraskuuta 20

Re: [MapServer-users] Shapefile data source doesn't work

2022-11-29 Thread Rahkonen Jukka
Hi, Can you share also the shapefile? -Jukka Rahkonen- Lähettäjä: MapServer-users Puolesta Marcin Niemyjski via MapServer-users Lähetetty: tiistai 29. marraskuuta 2022 18.10 Vastaanottaja: Jörg Thomsen (WhereGroup) ; Marcin Niemyjski via MapServer-users Aihe: Re: [MapServer-users] Shapefile

Re: [MapServer-users] Shapefile data source doesn't work

2022-11-29 Thread Rahkonen Jukka
END CLASS NAME "AED" STYLE COLOR 0 0 255 SYMBOL "circlef" SIZE 10

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 is

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

2022-12-07 Thread Rahkonen Jukka
8. It would be nice if you could make a test and compare OGR vs POSTGIS connection types. -Jukka Rahkonen- Lähettäjä: Peter Schmitt Lähetetty: torstai 8. joulukuuta 2022 2.32 Vastaanottaja: Even Rouault Kopio: Rahkonen Jukka ; Mapserver-Users (mapserver-users@lists.osgeo.org) Aihe: Re: [Ma

Re: [MapServer-users] Mapcache s3 - server replied: Not Found

2022-12-09 Thread Rahkonen Jukka
Hi, It seems that you have tried to make a new WMS connection but you do not run any WMS server in s3. Instead, you have there tiles. Try this XYZ approach https://silverspringenergy.com/adding-xyz-tiles-to-a-qgis-project/. -Jukka Rahkonen- Lähettäjä: MapServer-users Puolesta Marcin Niemyjsk

Re: [MapServer-users] Slow Point Cluster Loading

2022-12-09 Thread Rahkonen Jukka
Hi, Of course you get that message from Mapserver because that is just the WMS base url. You or rather your WMS client like QGIS must add some WMS parameters to the request. http://64.225.130.48/?map=/etc/mapserver/aed_world.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&WIDTH=1000&HEIGHT=505&LAY

Re: [MapServer-users] Tileindex in format different than SHP?

2022-12-14 Thread Rahkonen Jukka
Hi, We should improve our documentation about tileindexes and differences between raster tileindex and OGR tileindex, and shapefile index and indexes using other formats. At least I do not find correct information easily even after using tileindexes for 15 years or more. For rasters, if the ti

Re: [MapServer-users] Tileindex in format different than SHP?

2022-12-14 Thread Rahkonen Jukka
Hi, You are wrong, a GeoPackage layer as a tileindex is about as fast as a shapefile in common bbox filtering that WMS is, and faster than shapefile index if you want to filter or sort the data by other attributes. That is based on my measurements from some years ago with an orthophoto layer ha

Re: [MapServer-users] Failed to download capabilities:Download of capabilities failed: Connection on mapfile with more than 1000 layers

2022-12-20 Thread Rahkonen Jukka
Hi, With that information we cannot really say. Can you get the GetCapabilities document by making the request with a browser or with curl? Is QGIS happy with 500 layers? I suppose that the default request timeout of Apache http server (do you use it?) is 60 seconds, have you tried to increase

Re: [MapServer-users] Failed to download capabilities:Download of capabilities failed: Connection on mapfile with more than 1000 layers

2022-12-20 Thread Rahkonen Jukka
Hi, The time is not a constant (number of layers * x milliseconds). For example, it is faster to generate the layer BoundingBox into GetCapabilities if the wms_extent metadata is set for the layer https://www.mapserver.org/ogc/wms_server.html but how much faster it is depends on the data sourc

Re: [MapServer-users] accessing mapfiles that are not directly on host server via apache2 aliases?

2023-01-09 Thread Rahkonen Jukka
Hi, I have not been thinking about your use case, it may be reasonable and safe, but generally speaking we have just added more control to the access to mapfiles due to security issues. See https://www.mapserver.org/optimization/limit_mapfile_access.html#limit-mapfile-access. -Jukka Rahkonen-

Re: [MapServer-users] GetMap request inside python script; measuring speed of WMS?

2023-01-24 Thread Rahkonen Jukka
Hi, If you want to use less time for programming, then JMeter is widely used for that kind of testing and it was also used in the FOSS4G benchmarks https://wiki.osgeo.org/wiki/FOSS4G_Benchmark. Maybe you can get some inspiration from the wiki. The subversion repository is also alive and I think

Re: [MapServer-users] MapServer-users Digest, Vol 180, Issue 14

2023-01-24 Thread Rahkonen Jukka
Hi, Read the JMeter section from this tutorial and consider if you are interested or not https://cs-geonode.readthedocs.io/en/2.8_a/tutorials/advanced/geonode_production/adv_gsconfig/jmeter/index.html BTW the mailing list prevents direct reply because the body of the message is too long. Pleas

Re: [MapServer-users] Changing opacity of one layer in a multilayer WMS request URL with MapServer 8

2023-02-22 Thread Rahkonen Jukka
Hi, About the SLD, opacity appears in stroke, fill, graphic, and raster in SLD 1.0. -Jukka Rahkonen- Lähettäjä: MapServer-users Puolesta Steve Lime Lähetetty: keskiviikko 22. helmikuuta 2023 17.47 Vastaanottaja: Matthew Graber Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [MapServer-users]

Re: [MapServer-users] Is it possible to pass variables to a mapfile DATA parameter?

2023-03-08 Thread Rahkonen Jukka
Hi, I think that your question belongs rather to OpenLayers forums. On the Mapserver side you can use run-time substitution in LAYER-DATA https://mapserver.org/cgi/runsub.html#parameters-supported. DATA "geom FROM %table% USING srid=32636 USING UNIQUE fid" What OpenLayers need to do is to add “

Re: [MapServer-users] Layer is opaque

2023-04-20 Thread Rahkonen Jukka
Hi, Work for me in two different ways with this test layer LAYER NAME "layername" TYPE POLYGON FEATURE POINTS 10 5 15 10 5 10 10 5 END END #feature # opacity defined with COMPOSITE COMPOSITE OPACITY 70 END # COMPOSITE METADATA 'wms_t

Re: [MapServer-users] is it possible to use other attributes stored on tileindex and querry dataset using them?

2023-05-25 Thread Rahkonen Jukka
Hi, Read the whole documentation page. Mapserver is implementing the WMS-T standard and in the standard the time parameter is named “TIME”. See examples https://mapserver.org/ogc/wms_time.html#supported-time-requests. So even the timeitem in your tileindex is “timestamp”, the parameter to use i

Re: [MapServer-users] is it possible to use other attributes stored on tileindex and querry dataset using them?

2023-05-26 Thread Rahkonen Jukka
c7def05a478ba013ae9486487...@cloudferro.com?anonymous&ep=signature> From: Rahkonen Jukka mailto:jukka.rahko...@maanmittauslaitos.fi>> Sent: Thursday, May 25, 2023 6:27 PM To: Marcin Niemyjski mailto:mniemyj...@cloudferro.com>>; Marcin Niemyjski via MapServer-use

Re: [MapServer-users] breaking changes in branch-7-6 after commit of experimental changes from branch-8-0

2023-05-30 Thread Rahkonen Jukka
Hi, Maybe the commit could be adjusted in Mapserver 7. Out of curiosity, what is the use case for zero sized labels and symbols? To disable them, or? About the angle, by the Mapserver 7.0 documentation, doesn't it feel like negative angles were not thought to work ever? "Angle, given in degree

Re: [MapServer-users] breaking changes in branch-7-6 after commit of experimental changes from branch-8-0

2023-05-30 Thread Rahkonen Jukka
Lähetetty: tiistai 30. toukokuuta 2023 15.21 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [MapServer-users] breaking changes in branch-7-6 after commit of experimental changes from branch-8-0 before that commit, the following code was working: STYLE COLOR 255

Re: [MapServer-users] mapserver 5 installation

2023-06-20 Thread Rahkonen Jukka
Hi, A clarification about the version numbers. I believe that the writers in this thread are aware of them but all the readers necessarily not: the discussion is about MS4W version 5 beta that contains MapServer 8 and that lives in https://ms4w.com/release/experimental/. -Jukka Rahkonen-

Re: [MapServer-users] FlatGeobuf as output format

2023-06-22 Thread Rahkonen Jukka
Hi, GDAL gives typically that kind of multipolygon error when the driver tries to insert a multipolygon into a layer that is created to accept only polygons. In that case casting all geometries into multipolygons really helps: the layer gets created to accept multipolygons, simple polygons are

Re: [MapServer-users] Suppress queryable=1 for wms_layer_group [SEC=OFFICIAL]

2023-07-06 Thread Rahkonen Jukka
Hi, Do you use the same mapfile? There is a difference in GetCapabilities Radar Radar If layer has just a title but no name it is not queryable, nor does it support GetMaps. This applies to group layers as well. But it may be that since version 7.2 it is not possible to configure a WMS group

Re: [MapServer-users] Speed of WMS vs Speed of WCS; How to speed up WCS service?

2023-07-26 Thread Rahkonen Jukka
Hi, Does the tileindex query " DATA 'geometry from (select * from plua order by "maxCC" desc) " return several images from the requested BBOX? I know that MapServer WCS can be fast and we have also a demo at https://beta-karttakuva.maanmittauslaitos.fi/demo/ortokuvat_ja_korkeusmallit/#15.05/67.

Re: [MapServer-users] Speed of WMS vs Speed of WCS; How to speed up WCS service?

2023-07-27 Thread Rahkonen Jukka
cs ^^ Thanks for your complex answer it helped a lot, Marcin From: Rahkonen Jukka mailto:jukka.rahko...@maanmittauslaitos.fi>> Sent: Thursday, July 27, 2023 12:05 AM To: Marcin Niemyjski mailto:mniemyj...@cloudferro.com>>; MapServer Users mailto:ma

Re: [MapServer-users] How to get a WMS GetFeatureInfo response with MapServer in JSON format ?

2023-09-14 Thread Rahkonen Jukka
Hi, To those who try to help, please have a look at the same question in gis.stackexchange https://gis.stackexchange.com/questions/466896/how-to-get-a-wms-getfeatureinfo-response-with-mapserver-in-json-format/466920? There is an answer that gives half an answer, but a remaining problem is how to

Re: [mapserver-users] Clickable label

2014-01-14 Thread Rahkonen Jukka (Tike)
Hi, Andrea Aime implemented a system like that into Geoserver a month ago http://sourceforge.net/mailarchive/forum.php?thread_name=etPan.52b0c830.643c9869.aef%40Liberi.local&forum_name=geoserver-devel Perhaps that can give some inspiration. -Jukka Rahkonen- Basques, Bob (CI-StPaul) wrote: > >

Re: [mapserver-users] Problem using WMS GetFeatureInfo in OpenLayers with different projections

2014-01-17 Thread Rahkonen Jukka (Tike)
Hi, Please show us the complete GetFeatureInfo requests for both cases. Server urls are not interesting but all the WMS parameters. Have you already tried to send them from browser? Testing with OpenLayers is waste of time because you can't control what really happens but with hand written requ

Re: [mapserver-users] Mapserver WMS time support with Oracle

2014-01-21 Thread Rahkonen Jukka (Tike)
Hi, Perhaps you can select the time into a format that Mapserver likes in your DATA by using to_char? http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions180.htm -Jukka Rahkonen- D. Nappo wrote ...but unfortunately MapServer wms time support doesn't include that format: http://map

Re: [mapserver-users] How to use/offer multiple projections in mapfile for WMS

2014-01-22 Thread Rahkonen Jukka (Tike)
Hi, You must use the projection block also in each layer. You seem to tried that so take the comments out from there. Without telling in which projection the layer source data is Mapserver can't project it to other systems. By a quick look your mapfile should work. An empty map may mean that

[mapserver-users] How to throttle msProjectPoint() errors?

2014-01-22 Thread Rahkonen Jukka (Tike)
Hi, I get quite a lot of errors into the error log probably because WMS users send requests which are partly or totally outside the area that is valid for the projection. From what I see the service is still usable. It would be OK to get one message line into the errorlog for each request but n

Re: [mapserver-users] TinyOWS insert feature not working

2014-01-22 Thread Rahkonen Jukka (Tike)
Hi, You can try if you can have success with my server http://hip.latuviitta.org/cgi-bin/tinyows Kosmo GIS which is an excellent open source GIS client for WFS creates the following request. Compare and see if you'll find something interesting. http://latuviitta.fi/"; xmlns:gml="http://www.ope

[mapserver-users] Why CRS bounding boxes do not suit?

2014-01-23 Thread Rahkonen Jukka (Tike)
Hi, I wonder what goes wrong with calculating the extra bounding boxes into WMS GetCapabilities. For example here I have set the wms_extent in the layer metadata as "wms_extent" "19970 6597278 749676 7785300" in EPSG:3067 units. Let's check the corresponding values in EPSG:2393 cs2cs +init=epsg

Re: [mapserver-users] Why CRS bounding boxes do not suit?

2014-01-23 Thread Rahkonen Jukka (Tike)
covered be the grid shift file. It may also be a bad idea because Mapserver admin could think that the sparse grid shift file is OK and has some effect on transformations also beyond its extents. What do you think? -Jukka Rahkonen- Rahkonen Jukka (Tike) wrote: > > Hi, > > I

Re: [mapserver-users] One table with multiple GeometryColumns

2014-01-27 Thread Rahkonen Jukka (Tike)
Hi, So I guess that you have all the thousands of our Finnish lakes in your database and you have reprojected the native 3067 geometries into 4326 and 3857 as new columns? This is unnecessary work because Mapserver can reproject in-the-fly to other projections. All you need is to give the list

Re: [mapserver-users] Variable substitution in CONNECTION string on cascading WMS?

2014-01-27 Thread Rahkonen Jukka (Tike)
Hi, Documentation says that CONNECTION in one place where it is supported so have a try http://mapserver.org/cgi/runsub.html. Validation may be needed or not, I am not sure how to interpret the documentation but you will notice it soon. Take a habit to use DEBUG 5 and read your errorfile while

Re: [mapserver-users] really huge maps / MAXSIZE

2014-01-28 Thread Rahkonen Jukka (Tike)
Lars Lingner wrote: > Hello MapServer users, > > with the MAXSIZE parameter I can limit the output size. Does the value depend > only on the available memory? When I set it to high, MapServer is crashing. > > I was wondering if there is an option to force MapServer to use an additional > (slow)

Re: [mapserver-users] Variable substitution in CONNECTION string on cascading WMS?

2014-01-28 Thread Rahkonen Jukka (Tike)
ve D wrote: > > Validation is required for substitution to work... -Steve > > From: mapserver-users-boun...@lists.osgeo.org [mapserver-users- > boun...@lists.osgeo.org] on behalf of Rahkonen Jukka (Tike) > [jukka.rahko...@mmmtike.fi] > Sent: Monday,

Re: [mapserver-users] wcs 1.0.0 bbox problem

2014-01-29 Thread Rahkonen Jukka (Tike)
Hi, I wonder where BBOX (-2.5,-2.5,2.5,2.5) comes. If Mapserver is generating it automatically then it feels like a bug. Your request does not contain BBOX at all and it is OK because it has TIME, and WCS 1.0.0 standard says "One of BBOX or TIME is required". CRS is required but because ther

Re: [mapserver-users] Installing mapserver 6.4 with cmake - custom library paths

2014-01-29 Thread Rahkonen Jukka (Tike)
Hi, I do not understand these things at all but I found our log file for CentOS and dislike your command is starts with “make clean”. Here is a part of the log. Custom library paths have been stored before this into "$GEOS;$PROJ;$GDAL; make clean >/dev/null 2>&1 rm -rf CMakeFiles CMakeCache.txt

Re: [mapserver-users] XML parsing error with extended Inspire WMS 1.1.1 capabilities

2014-01-29 Thread Rahkonen Jukka (Tike)
I have the same issue. It seems that namespace header are not correct > > (just a guess, I could be wrong). > > > > Changing wms_inspire_capabilities from "embed" to "url" make a correct > > GetCapabilities. > > > > I can fill an issu

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread Rahkonen Jukka (Tike)
Hi, I am almost sure that the 260 GB shapefile was not valid. The shp part has an absolute limit at 8 GB but it can also be limited to 4 GB or 2 GB http://www.gdal.org/ogr/drv_shapefile.html. The dbf part has no limits so I believe that you had all the attributes in a huge dbf file but only the

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread Rahkonen Jukka (Tike)
Oh, I thought you had something interesting :) If that little shapefile was slow you for sure had no qix index on that. One shapefile will be good for you but ogrtileindex is about as good alternative and if you have faulty data in some of the 6000 original shapefiles you can correct just those

Re: [mapserver-users] how to map_layer_class_name in 6.4.0?

2014-01-29 Thread Rahkonen Jukka (Tike)
Hi, This has worked for me sometimes &map.layer[osm_points].class[0].style[0]=+COLOR+0+255+0 I have copy-pasted and modified it from somewhere and I do not understand why it works but by looking at it counting classes and styles start from zero and I would have a try with "=+NAME+new_name". -

Re: [mapserver-users] how to map_layer_class_name in 6.4.0?

2014-01-30 Thread Rahkonen Jukka (Tike)
Hi, Let's try to make more people involved. We have a server to play with online, so everybody can have a try. Let's have a look at the default legend item http://demo.mapserver.org/cgi-bin/foss4g?REQUEST=GetLegendGraphic&SERVICE=WMS&VERSION=1.1.1&LAYER=Land&FORMAT=image/png It is possible to ch

Re: [mapserver-users] how to map_layer_class_name in 6.4.0?

2014-01-30 Thread Rahkonen Jukka (Tike)
lass_name in 6.4.0? > > looking through the code, you are allowed to update the class->title, however > you must supply a "title" validation entry for it (set it to ".*" if you want > to allow > any title) > > -- > thomas > > On 30/01/2014

Re: [mapserver-users] [mapserver-dev] RFC-108 : heatmap generation

2014-01-31 Thread Rahkonen Jukka (Tike)
Thomas Bonfort wrote: > Hi Jukka, > Thanks for the comments, which I mostly agree with. I should clearly > remove references to the the term of "interpolation" as it does not > apply to the proposed solution. Concerning the "heatmap" term that > should be replaced by "kernel density" that could b

[mapserver-users] Status of TinyOWS and support for paging

2014-02-01 Thread Rahkonen Jukka (Tike)
Hi, Last commit to TinyOWS was over one year ago. Does it mean that the status of the project is "DONE" or "DEAD"?. Adding support for WFS paging is in the issue list list https://github.com/mapserver/tinyows/issues/45 That feature would be really nice to have as vendor parameter in WFS 1.0.0 a

Re: [mapserver-users] Make MapServer trust self-signed certificate on Windows

2014-02-06 Thread Rahkonen Jukka (Tike)
Hi, I seem to have this setting done in Apache's httpd.conf file as SetEnv CURL_CA_BUNDLE "d:/Program Files/ms4w/Apache/conf/ca-bundle/cacert.pem" Check if that works better, or if there happens to be a line already overriding your system wide setting. -Jukka Rahkonen- robertas.ker...@bentley

Re: [mapserver-users] Make MapServer trust self-signed certificate on Windows

2014-02-06 Thread Rahkonen Jukka (Tike)
ar way but I would make a quick test first. -Jukka Rahkonen- Lähettäjä: robertas.ker...@bentley.com [mailto:robertas.ker...@bentley.com] Lähetetty: 6. helmikuuta 2014 10:54 Vastaanottaja: Rahkonen Jukka (Tike); mapserver-users@lists.osgeo.org Aihe: RE: [mapserver-users] Make MapServer trust s

Re: [mapserver-users] Serving tiled image sets with MapServer?

2014-02-06 Thread Rahkonen Jukka (Tike)
Hi, It might be possible by reading the disk cache through GDAL WMS driver "TMS minidriver" http://www.gdal.org/frmt_wms.html. However, I do not know if it can be configured to read tiles from local file system. The place to do that would probably be the ServerUrl part. 1 http://s0.tileserv

Re: [mapserver-users] MapServer should not collapse geometries in same layer class

2014-02-07 Thread Rahkonen Jukka (Tike)
Hi, If the aim is to see objects end, isn't GEOMTRANSFORM END just perfect for that? http://www.mapserver.org/mapfile/style.html "end: produces the last point of the current feature geometry. When used with ANGLE AUTO, it can for instance be used to render arrowheads on line segments." -Jukka R

Re: [mapserver-users] How to change output from selectOutputFormat('PNG32')?

2014-02-07 Thread Rahkonen Jukka (Tike)
Hi, Unfortunately I do not know your script. In a basic WMS usage the available formats are announced in GetCapabilities (hmm, seems to be version 5.6.5...) http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=Getcapabilities So if this is the default 8-bit png http://demo.map

Re: [mapserver-users] MapServer should not collapse geometries in same layer class

2014-02-07 Thread Rahkonen Jukka (Tike)
Hi, I made a quick test. SYMBOL NAME "arrow-end" 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 1 0.5 END # SYMBOL

[mapserver-users] Dual role of LAYER is confusing

2014-02-10 Thread Rahkonen Jukka (Tike)
Hi, In most cases in Mapfile LAYER is defining the output of the service. However, it looks like the original way to use DATA has not been flexible enough to suit new sources of data and as a workaround one layer is used as an input for another layer. For example if a shapefile is used as tilei

Re: [mapserver-users] Serving tiled image sets with MapServer?

2014-02-10 Thread Rahkonen Jukka (Tike)
Hi, First step is to follow the GDAL WMS driver page examples and write a XML configuration file for your tile service. Let's call it my_service.xml. You can test if the file is correct with GDAL utility programs. If "gdalinfo my_service.xml" is listing info about your service and "gdal_transla

Re: [mapserver-users] Dual role of LAYER is confusing

2014-02-11 Thread Rahkonen Jukka (Tike)
into DATADEF. SQL select could come from DATADEFFILTER. It would give a possibility to re-use a common database connection in a mapfile but create layers by adding one line for unique selects. Unfortunately the DATADEFFILTER would probably not work if DATADEF is changed to read data from a

Re: [mapserver-users] Dual role of LAYER is confusing

2014-02-11 Thread Rahkonen Jukka (Tike)
t; You already have this in a fashion. > > Your DATADEFSET is a folder. > And you DATADEF is called INCLUDE > > So create a layer_name.def files for each of your layer data sources INCLUDE > "datadefset/layer_name.def" > in your layer definitions. > > -Steve

[mapserver-users] What is the best way to test development versions on Windows?

2014-02-13 Thread Rahkonen Jukka (Tike)
Hi, I would like to test the new dynamic heatmaps http://mapserver.org/development/rfc/ms-rfc-108.html but I am on Windows and Mapserver project is not extremely Windows friendly nowadays. Ideal for users like me would be to have for example weekly builds which could be installed like MS4W - u

Re: [mapserver-users] Problem using WMS GetFeatureInfo in OpenLayers with different projections

2014-02-13 Thread Rahkonen Jukka (Tike)
n/mywms/?SERVICE=WMS&VERSION=1.1.1&REQUEST=G > > > etMap&LAYERS=aster_dem_info&STYLES=&SRS=EPSG:4326&FORMAT=image/p > ng&WID > > TH=400&HEIGHT=300&BBOX=13.439518,44.712096,14.318424,45.178647 > > > > Working GetFeatureInfo request in

Re: [mapserver-users] Problem using WMS GetFeatureInfo in OpenLayers with different projections

2014-02-14 Thread Rahkonen Jukka (Tike)
was only consideration without real knowledge. I based it on what I understood from this recent RFC http://mapserver.org/development/rfc/ms-rfc-107.html -Jukka Rahkonen- Dejan Gambin wrote: > > I've upgraded to 6.4 and seems fine now > > > On 13. vel. 2014., at 16:09, Rahkonen

Re: [mapserver-users] Mysql Ogr Error

2014-02-15 Thread Rahkonen Jukka (Tike)
Hi, "Name" is sometimes a reserved keyword. I don't know about MySQL, but I would have a try with escaped "name" or 'name'. -Jukka Rahkonen- rkrojero wrote: > > Hi guys im getting an error on mapserver version 6.2.1 on ogr connection > > msDrawMap(): Image handling error. Failed to draw la

Re: [mapserver-users] Mysql Ogr Error

2014-02-16 Thread Rahkonen Jukka (Tike)
ping "name". It means 10 seconds work for you to edit your mapfile and try. That is not much wasted time at all even if it had no effect at all. -Jukka Rahkonen- -Jukka Rahkonen- rkrojero wrote: > Hi Jukka, > > Thanks for the quick response. Regarding the the reserve 'nam

Re: [mapserver-users] Mysql Ogr Error

2014-02-16 Thread Rahkonen Jukka (Tike)
osgeo.org> Aihe: Re: [mapserver-users] Mysql Ogr Error regarding your suggestion on changing 'name' to something else I already Did it. Rahkonen Jukka (Tike) wrote > What did you mean with that? Mapserver reads MySQL through GDAL so you > should compile GDAL with MySQL and Mapse

Re: [mapserver-users] layer mask without clipping

2014-02-25 Thread Rahkonen Jukka (Tike)
I think that masked areas would simply appear semi-transparent, not totally hidden. -Jukka Rahkonen- thomas bonfort wrote: > > Lars, > I don't understand what you're trying to obtain. Can you clarify and/or post a > couple screenshots? > > -- > thomas > > On 25 February 2014 09:58, Lars Lingn

Re: [mapserver-users] WMS image display

2014-02-25 Thread Rahkonen Jukka (Tike)
Hi, Overviews help at small scales. Let's assume that you have orthophotos with 1 meter native pixel size. If you want to show a 10x10 km area in a 500x500 pixel sized box in your application, it means that the pixel size of the output it 20 m. It is heavy to read 1x1 native pixels and

Re: [mapserver-users] Upgrading Apache and PHP that came with MS4W

2014-02-27 Thread Rahkonen Jukka (Tike)
Hi James, Nobody answered for you so supposedly that means that the answer is: No, there are no documents and probably no compiled Mapcache binaries available for Windows. I managed to install Apache and Mapserver 6.4.1 from with the OSGeo4W installer. Also daily development buids of Mapserver

Re: [mapserver-users] Raster Data

2014-03-12 Thread Rahkonen Jukka (Tike)
Hi, Standard recipe is to use tiled tiff file with overviews, perhaps both compressed. Uncompressed: gdal_translate -of GTiff -co tiled=yes -co bigtiff=yes image.png image.tif gdaladdo -r average image.tif 2 4 8 16 32 64 128 256 You may want to save space by making a compressed tiff. If it is

<    5   6   7   8   9   10   11   12   13   14   >