Re: [mapserver-users] Intersect and Union with mapserver

2013-12-29 Thread Rahkonen Jukka
Hi, ArcGIS has another meaning for union than OGC and programs like QGIS and OpenJUMP. Could you draw a picture about what you have as inputs and what you would like to see as output? Perhaps also a zip file the two small source shapefiles and the result aftet making a union with ArcGIS. Does

Re: [mapserver-users] Intersect and Union with mapserver

2014-01-06 Thread Rahkonen Jukka
saka royban wrote: Finally, as Jukka talked about QGIS. This is a little confusing to me. In a web mapping application which is implemented by MapServer, Can we rely on QGIS capabilities and use the in our application? If so, how would be the connection between MapServer and QGIS. I wanted

Re: [mapserver-users] MspServer Cluster Problem.

2014-01-09 Thread Rahkonen Jukka
Hi, Perhaps you use something like OpenLayers as a client and it makes 256 by 256 pixel sized GetMaps? Have you tried with some GIS client like OpenJUMP or QGIS, or set OpenLayers into single tile? -Jukka Rahkonen- LewInMadrid [lcl...@genasys.com] wrote

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

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] 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

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

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

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"

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-

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

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] [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

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

2022-12-07 Thread Rahkonen Jukka
ld 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: [MapServer

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

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.

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

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] 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

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

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] 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

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] 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.

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

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] 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:

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

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] is it possible to use other attributes stored on tileindex and querry dataset using them?

2023-05-26 Thread Rahkonen Jukka
ature> ____ 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-users mailto:mapserver-users@lists.osgeo.org&g

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] 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

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

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

2023-07-27 Thread Rahkonen Jukka
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:mapserver-users@lists.osgeo.org>> Subj

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

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] 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] 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

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:

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

[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

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. ?xml version='1.0' encoding='UTF-8'?

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)
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, January 27, 2014 11:15 PM

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 there

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 21 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)
wms_inspire_capabilities from embed to url make a correct GetCapabilities. I can fill an issue and add some simple mapfile if needed. Regards, Y. 2013-11-25 Rahkonen Jukka jukka.rahko...@mmmtike.fi mailto:jukka.rahko...@mmmtike.fi Hi, The SAX parser in OpenJUMP

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

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

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=GetLegendGraphicSERVICE=WMSVERSION=1.1.1LAYER=LandFORMAT=image/png It is possible to

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

2014-01-30 Thread Rahkonen Jukka (Tike)
-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 09:26, Rahkonen Jukka (Tike) wrote: Hi, Let's try to make more people involved. We have a server to play with online, so everybody can have a try

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 be a

[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 and

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-

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. GDAL_WMS Service

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=WMSVERSION=1.3.0REQUEST=Getcapabilities So if this is the default 8-bit png

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

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_translate

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

2014-02-11 Thread Rahkonen Jukka (Tike)
February 2014 15:13, Rahkonen Jukka (Tike) jukka.rahko...@mmmtike.fi wrote: 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

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

2014-02-11 Thread Rahkonen Jukka (Tike)
in your layer definitions. -Steve W On 2/11/2014 7:30 AM, Rahkonen Jukka (Tike) wrote: Hi, I will change my course to direction Defining input data for Mapserver is confusing. Dual role of LAYER is just a detail and using a layer as input for heatmap generator feels actually rather

[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 -

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

2014-02-13 Thread Rahkonen Jukka (Tike)
=aster_dem_infoSTYLES=SRS=EPSG:4326FORMAT=i mage /pngWIDTH=400HEIGHT=300BBOX=13.439518,44.712096,14.318424,45.17 8647 QUERY_LAYERS=aster_dem_infoINFO_FORMAT=gmlX=200Y=100 On 17. sij. 2014., at 13:52, Rahkonen Jukka (Tike) wrote: Hi, Please show us the complete

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 layer

Re: [mapserver-users] Mysql Ogr Error

2014-02-16 Thread Rahkonen Jukka (Tike)
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 'name' its working in the old version of mapserver with ogr

Re: [mapserver-users] Mysql Ogr Error

2014-02-16 Thread Rahkonen Jukka (Tike)
: [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 Mapserver with that GDAL. I am sorry if I am lost

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 Lingner

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

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

Re: [mapserver-users] join shp with csv

2014-03-13 Thread Rahkonen Jukka (Tike)
Hi, Could you send the whole LAYER section? And if you can put a small shapefile to download I can have a try. About ogrinfo, your command is searching for layer lookup from csv file join.csc. It does not have such layer, it has exactly one layer and it is join. So do ogrinfo join.csv join

Re: [mapserver-users] Layer with point from X and Y columns in

2014-03-13 Thread Rahkonen Jukka (Tike)
Hi, There is another way by using a GDAL virtual format http://www.gdal.org/ogr/drv_vrt.html. But it does not really make much sense to have a spatial table in Oracle that is to be used for rendering maps without having a spatial index. Without spatial index the BBOX of the map cannot be

Re: [mapserver-users] join shp with csv

2014-03-13 Thread Rahkonen Jukka (Tike)
Hi, I have had no time to look at your files but I see that ogrinfo reports osm_id as a string. Write .csvt file http://www.gdal.org/ogr/drv_csv.html for converting it to integer, perhaps join requires same data types. -Jukka Rahkonen- Jörg Thomsen wrote: Hello Jeff, yes, this looks

Re: [mapserver-users] Migrating from MS4W to GISInternals

2014-03-17 Thread Rahkonen Jukka (Tike)
Hi, By looking at the Apache httpd.cong from MS4W I can see these two # set GDAL_DATA environment variable to location of supporting gdal files SetEnv GDAL_DATA /ms4w/gdaldata # set GDAL_DRIVER_PATH environment variable for gdal plugins SetEnv GDAL_DRIVER_PATH /ms4w/gdalplugins Perhaps you

Re: [mapserver-users] Processing JP2000 files

2014-03-20 Thread Rahkonen Jukka (Tike)
Hi, Are your JPEG2000 images the same? SOT marker is JPEG2000 stuff and it means start of tilepart. If images are the same then the message means that something has changed in GDAL part. GDAL has several JPEG200 drivers and they all behave in a bit different way. Check which driver you have

Re: [mapserver-users] Processing JP2000 files

2014-03-21 Thread Rahkonen Jukka (Tike)
images, equally 4.3TBs of data. Should I consider a massive batch conversion to JPG or Geotiff, or is there some way to get the JP2OpenJPEG driver to play nice with these files? Thanks, James From: Rahkonen Jukka (Tike) [jukka.rahko...@mmmtike.fi

Re: [mapserver-users] Processing JP2000 files

2014-03-21 Thread Rahkonen Jukka (Tike)
with much smaller image was 3 minutes. You have 40 files... -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE [mailto:james.evan...@us.af.mil] Lähetetty: 21. maaliskuuta 2014 14:22 Vastaanottaja: Rahkonen Jukka (Tike); 'mapserver

Re: [mapserver-users] Converting PDF files to GeoTiff

2014-03-21 Thread Rahkonen Jukka (Tike)
-requ...@lists.osgeo.org wrote: Date: Fri, 21 Mar 2014 12:21:30 + From: EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE james.evan...@us.af.mil To: Rahkonen Jukka (Tike)jukka.rahko...@mmmtike.fi, 'mapserver-users@lists.osgeo.org' mapserver-users@lists.osgeo.org Subject: Re

Re: [mapserver-users] Processing JP2000 files

2014-03-31 Thread Rahkonen Jukka (Tike)
From: Rahkonen Jukka (Tike) [jukka.rahko...@mmmtike.fi] Sent: Friday, March 21, 2014 7:53 AM To: EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE; 'mapserver- us...@lists.osgeo.org' Subject: Re: [mapserver-users] Processing JP2000 files Hi James, It has been a while since I have

Re: [mapserver-users] WMS Server Optimization?

2014-04-02 Thread Rahkonen Jukka (Tike)
Hi, Check from the Apache access.log what kind of WMS requests AutoCad is sending. That should give a hint about how it is so heavy. Png format is about the worst of all for server usage because the whole image data must be decompressed for each request. You will find easily recipes for

Re: [mapserver-users] WMS Server Optimization?

2014-04-03 Thread Rahkonen Jukka (Tike)
Hi, AutoCAD is making funny requests: same BBOX but four different image size. Probably it is building a local cache from the maps for making zooming and panning fluent later, and perhaps it wants to fetch a high resolution image so that it can create better quality printouts. Anyway, the

Re: [mapserver-users] [mapserver-dev] Postgis, WFS and 3D coordinates

2014-04-04 Thread Rahkonen Jukka (Tike)
Hi, I wonder why nobody seems to remember that we have TinyOWS in the family too? I made a test layer for you, try it http://hip.latuviitta.org/cgi-bin/tinyows?service=wfsversion=1.1.0request=GetFeaturetypename=lv:swamp_3d_testmaxFeatures=10 I CC:ed MapServer users list because this is

Re: [mapserver-users] Exclude one layer's class from GetLegendGraphics

2014-04-10 Thread Rahkonen Jukka (Tike)
Hi, For the first question I am remembering that only classes with NAME go to the legend. I may be wrong but you can try it easily. -Jukka Rahkonen- gorank wrote: Actually i have to questions: 1). I have mapfile with few layers. In one layer I have 5 classes with expresions. When

Re: [mapserver-users] Beginning MapServer User needs help

2014-04-24 Thread Rahkonen Jukka (Tike)
Hi, I am willing to help but I would rather do it in some other way than trying to make that tutorial to work. For my mind it has been a good start as a tutorial but it has never been ready enough to be given for the beginners and now it is also outdated. - Mapfile is not valid because it does

Re: [mapserver-users] [MS-master] SLD request and style + label behaviour

2014-05-03 Thread Rahkonen Jukka (Tike)
Hi, First thing to check is if OSM buildings really have names in the data or maybe test by using osm_id as labelitem because it for sure exists for all the buildings. Other things to do is to add also DEBUG 5 into your layer, check that ms_errorfile is set and see what messages it collects.

Re: [mapserver-users] Mapserver shows all nodes on a GeometryCollection

2014-05-05 Thread Rahkonen Jukka (Tike)
Hi, Could you possibly show us the whole LAYER from your mapfile and one GeometryCollection as WKT? Perhaps someone gets interested in making some trials. Do you feel that there is something odd with your sample SQL? For me it looks like your GeometryCollection has one point, one linestring

[mapserver-users] Update MapServer in demo.mapserver.org?

2014-05-14 Thread Rahkonen Jukka (Tike)
Hi, I hope that right persons are reading this list. As a user I appreciate that there is a demo server online so I can try if some troubles we have are specific for us. However, the demo site demo.mapserver.org is running MapServer version 5.6.5 while we run 6.4 and those versions do not

[mapserver-users] Time to make a new demo?

2014-05-14 Thread Rahkonen Jukka (Tike)
Hi, Mapserver documentation for the new users http://mapserver.org/introduction.html is having a title Get demo running. It contains a link to a zipped workshop material http://maps.dnr.state.mn.us/mapserver_demos/workshop-5.4.zip I am not sure if that workshop is a good starting point for

Re: [mapserver-users] MapServer calculates wrong WGS84BoundingBox for WCS request using EPSG:28992

2014-05-14 Thread Rahkonen Jukka (Tike)
Hi, Both my MS4W with Mapserver 6.3-dev and 6.4 on Linux use these definitions # Amersfoort / RD New 28992 +proj=sterea +lat_0=52.156160 +lon_0=5.387639 +k=0.079 +x_0=155000 +y_0=463000 +ellps=bessel +towgs84=565.417,50.3319,465.552,-0.398957,0.343988,-1.8774,4.0725 +units=m

Re: [mapserver-users] MapServer calculates wrong WGS84BoundingBox for WCS request using EPSG:28992

2014-05-14 Thread Rahkonen Jukka (Tike)
, avenue des Hauts-Fourneaux, L-4362 Esch-sur-Alzette, Luxembourg On 14 May 2014, at 10:49, Rahkonen Jukka (Tike) jukka.rahko...@mmmtike.fimailto:jukka.rahko...@mmmtike.fi wrote: Hi, Both my MS4W with Mapserver 6.3-dev and 6.4 on Linux use these definitions # Amersfoort / RD New 28992 +proj=sterea

[mapserver-users] About FILTER and FILTERITEM

2014-05-14 Thread Rahkonen Jukka (Tike)
Hi, From document page: http://mapserver.org/mapfile/expressions.html To use a string comparison for filtering a LAYER, both FILTERITEM and FILTER must be set. FILTERITEM is set to the attribute name. FILTER is set to the value for comparison. The same rule applies to CLASSITEM in the LAYER

Re: [mapserver-users] About FILTER and FILTERITEM

2014-05-14 Thread Rahkonen Jukka (Tike)
talks about using FILTER and EXPRESSION in more complex logical expressions, where as the section you quoted is talking about basic string comparison. Christy On 14/05/14 08:03 AM, Rahkonen Jukka (Tike) wrote: Hi, From document page: http://mapserver.org/mapfile/expressions.html To use

Re: [mapserver-users] msCGILoadMap(): Web application error CGI variable map is not set

2014-05-14 Thread Rahkonen Jukka (Tike)
I don’t know what really fails because I have never used Mapserver this way. However, the error message seems to be true. When using Mapserver trough WMS the same message comes with a request http://hip.latuviitta.org/cgi-bin/mapserv?service=wmsversion=1.3.0request=getcapabilities If map

Re: [mapserver-users] About FILTER and FILTERITEM

2014-05-14 Thread Rahkonen Jukka (Tike)
versions. I guess my recommendation would be avoid FILTERs unless you have a good reason to use them. Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users- boun...@lists.osgeo.org] on behalf of Rahkonen Jukka (Tike) [jukka.rahko

[mapserver-users] Slow output to PNG format with Mapserver 6.4

2014-05-15 Thread Rahkonen Jukka (Tike)
Hi, We were running speed tests with Mapserver 6.4 on Linux 64-bit and we found that WMS output to GIF and JPEG was much faster (+30% or more) and much more stable (less variation in response times) than png8 outputformat. I was surprised because I have not observed the same on Windows.

Re: [mapserver-users] EPSG: 3844 problem

2014-05-16 Thread Rahkonen Jukka (Tike)
Hi, EPSG:3844 seems to be a system with Northing-Easting coordinate axis order: http://epsg-registry.org/report.htm?type=selectionentity=urn:ogc:def:crs:EPSG::3844reportDetail=shortstyle=urn:uuid:report-style:default-with-codestyle_name=OGP%20Default%20With%20Codetitle=EPSG:3844 Two solutions:

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