Re: [mapserver-users] WFS with featureID, maxFeatures, BBOX

2014-05-20 Thread Rahkonen Jukka (Tike)
Hi, Right, so it is written into WFS 1.1.0 standard (table 9a): FEATUREID (Mutually exclusive with FILTER and BBOX) You knew it, didn't you? Nobody says mutually exclusive in real life ;) -Jukka Rahkonen- Eichner, Andreas - SID wrote: AFAIK FeatureID and BBOX are mutually exclusive.

Re: [mapserver-users] About FILTER and FILTERITEM

2014-05-20 Thread Rahkonen Jukka (Tike)
Hi, Obviously I was wrong and concatenation works with MS 6.x series as suggested by Håvart Tveite: FILTER ([STATE_NAME]+[STATE_FIPS]=Illinois17) This is a good question to Mapserver Guru Quiz final (no internet connections allowed). -Jukka- Rahkonen Jukka wrote: Hi, I started to play

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:

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

[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

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

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

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

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

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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] Admin boundaries styling

2013-12-18 Thread Rahkonen Jukka
Hi, Would it be acceptable to create a new dataset for rendering the borders by converting polygons into linestrings and merging the overlapping segments? With OpenJUMP you cound do it with a single operation Tools - Edit Geometry - Convert - Extract Segments. Select option Merge resulting

Re: [mapserver-users] gdalinfo error on jp2 file

2013-12-10 Thread Rahkonen Jukka
Hi, I believe this is a driver problem. Image seems to be a 4 band image, probably R-G-B ans Near infrared. There are many JPEG2000 drivers available for GDAL and they are not at all the same when it comes to speed and quality. First I had a try with gdalinfo and Driver: JP2ECW/ERDAS JPEG2000

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

2013-11-25 Thread Rahkonen Jukka
Hi, The SAX parser in OpenJUMP reports an error when trying to read the GetCapabilities from Mapserver 6.5-dev based WMS service of Toscana. The URL to use is http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsctrservice=WMSversion=1.1.1request=GetCapabilities The error

Re: [mapserver-users] MapCahe question -- Caching the first couple ofzoom levels

2013-11-25 Thread Rahkonen Jukka
Eichner, Andreas wrote: Hi James, to send the request to the source if it is beyond the maxzoom value. Is there a way to do this? Surely not. I think you misunderstood what a cache is and how it works. You should use mapcache_seed in delete mode to throttle the cache size. Of course it

Re: [mapserver-users] MapCahe question -- Caching the first couple of zoom levels

2013-11-24 Thread Rahkonen Jukka
Hi, GeoWebCache supports this as Selective zoom level caching http://geowebcache.org/docs/current/configuration/layers/selectivezoom.html MapProxy seems to be able to do the same with directives use_direct_from_level and use_direct_from_res http://mapproxy.org/docs/1.6.0/configuration.html I

Re: [mapserver-users] Standalone Mapserver 6.4 as WFS server - issues with responses

2013-11-19 Thread Rahkonen Jukka
Hi, I can only show how my MS 6.2.1 server reacts http://hip.latuviitta.org/cgi-bin/mapserver_wfs?service=wfsversion=1.0.0request=DescribeFeatureTypehttp://hip.latuviitta.org/cgi-bin/mapserver_wfs?service=wfsversion=1.1.0request=DescribeFeatureType -Jukka Rahkonen-

Re: [mapserver-users] GetCapabilities always returning version 1.3.0

2013-11-14 Thread Rahkonen Jukka
WMS standard says about version number negotiation A WMS client may negotiate with a server to determine a mutually agreeable protocol version. Negotiation isperformed using the GetCapabilities operation (described in 7.2) according to the following rules. All service metadata shall include a

Re: [mapserver-users] error with SQL query

2013-11-12 Thread Rahkonen Jukka
Hi, I am sure you will solve it by making a simple SQL query which works for you with your data and after that adding one piece at a time for making it more complex. At least you can then send youR next mail as I had in my DATA 'this' and it worked but once I changed it to 'that' it stopped

Re: [mapserver-users] WMS Server and Custom ESPG code

2013-11-09 Thread Rahkonen Jukka
Hi, To test if the epsg file of MS4W is used just make some client to read a map in any supported projection (reprojected from the native) and then delete the definitions from the file. You can do it on-a-fly. Did you already make a test with the dataset and mapfile which I pointed for you,

Re: [mapserver-users] Using Mapserver as standalone WFS - GetFeature fails

2013-11-08 Thread Rahkonen Jukka
Hi, With WFS it is good to start from the basics http://localhost/mswfs/mapserv.exe?map=WFS.mapservice=WFSversion=1.0.0request=GetCapabilities http://localhost/mswfs/mapserv.exe?map=WFS.mapservice=WFSversion=1.0.0request=DescribeFeatureTypetypename=

Re: [mapserver-users] mapserver 6.4.0 can't create geom with postgis 2.1.0?!

2013-11-08 Thread Rahkonen Jukka
Hi, It is a warning. It should mean that everything still works. Or do you mean that you have run the psql -d [yourdatabase] -f legacy.sql command in your database and that you can do from psql SELECT ST_Force_2d with a good result but you can't get maps out of Mapserver because of this

[mapserver-users] Segfaults from MS 6.4

2013-11-04 Thread Rahkonen Jukka
Hi, Our server admin sent me some log data from our new Mapserver 6.4 installation. Here is a sample: messages-20131103:Oct 29 09:52:24 wms-testi kernel: mapserv[7973]: segfault at 21 ip 7f7557116310 sp 7fff30554cb0 error 4 in libc-2.12.so[7f75570e1000+18a000] messages-20131103:Oct 29

Re: [mapserver-users] WMS Server and Custom ESPG code

2013-11-01 Thread Rahkonen Jukka
Hi, I did the same as you with MS4W and a new code in my C:\ms4w\proj\nad\epsg file # Chippewa County Coordinates EPSG:97036 97306 +proj=lcc +lat_0=44.5811 +lon_0=-91.29 +lat_1=45.1416 +lat_2=44.8138 +x_0=197000 +y_0=0.0 +ellps=GRS80 +datum=NAD83

Re: [mapserver-users] 2 layers shown when 1 requested

2013-10-17 Thread Rahkonen Jukka
Hi, STATUS DEFAULT means that the layer is forced to be on and Mapserver will send it even you do not ask for it. Use STATUS ON instead. -Jukka Rahkonen- martijnvdp wrote: Hello, I have a mapfile with several layers that use ogr resources. When I request 1 of these layers, they return a

Re: [mapserver-users] allowing MapServer access to data on another windows machine?

2013-10-08 Thread Rahkonen Jukka
Hi, I never managed to make it to work before we acquired more disks but it is about Apache and this is the reason By default, all Apache services are registered to run as the system user (the LocalSystem account). The LocalSystem account has no privileges to your network via any

Re: [mapserver-users] allowing MapServer access to data on another windows machine?

2013-10-08 Thread Rahkonen Jukka
an external USB drive? Since it would be plugged into your server it would be treated as a local resource. Good luck, Rich On Tue, Oct 8, 2013 at 1:29 PM, Rahkonen Jukka jukka.rahko...@mmmtike.fimailto:jukka.rahko...@mmmtike.fi wrote: Hi, I never managed to make it to work before we acquired

Re: [mapserver-users] preparing orthos for Mapserver?

2013-10-06 Thread Rahkonen Jukka
Andrea Aime wrote: Hi Frank, this is quite interesting. Can you elaborate a bit of what one block scanline means? E.g., what is the actual tiling structure of this file? Does presence of compression affect the ability to do the subsampling? How about quality of the output? (e.g., is GDAL

Re: [mapserver-users] preparing orthos for Mapserver?

2013-10-06 Thread Rahkonen Jukka
So the amazing file size of that GIS editor software is 600 kB or 601088 bytes to be exact. -Jukka- Rahkonen Jukka wrote: Andrea Aime wrote: Hi Frank, this is quite interesting. Can you elaborate a bit of what one block scanline means? E.g., what

Re: [mapserver-users] preparing orthos for Mapserver?

2013-10-05 Thread Rahkonen Jukka
Hi, Have also definitely a try with JPEG compressed tiffs. You can save 90% of the disk space with nominal effect on speed and quality, but that depends on your hardware and imagery. It is still worth testing. The command to use is gdal_translate -of GTiff -co tiled=yes -co compress=JPEG -co

Re: [mapserver-users] Adding stackexchange to our support channels

2013-10-04 Thread Rahkonen Jukka
Hi, Mapserver users list has worked fine for me for several years but I have seen that it is no more what it used to be. There are less mails on the list and part of the discussion that would be interesting also for users (at least power users) has moved into developers list and inside the

Re: [mapserver-users] Mapserver version does not change the version on the browser

2013-09-26 Thread Rahkonen Jukka
Hi, I do not believe that mapserver -v would lie. Rename your current installation into ms4w_bak, install this partly hidden most recent MS4W version (announced only in the MS4W-users mailing list) from http://www.maptools.org/dl/ms4w/ms4w_3.1.0-beta1.zip and do mapserv -v. For me it shows

[mapserver-users] Can variables be used in PROCESSING?

2013-09-25 Thread Rahkonen Jukka
Hi, Is this list correct http://mapserver.org/cgi/runsub.html#runsub? It does not mention PROCESSING. I have been thinking that it would be cool to have a WMS client which could adjust on-the-fly from the client side - PROCESSING BANDS=1,2,3 for making diffferent RGB versions of multi-channel

Re: [mapserver-users] Submitting filter does not filter - returns all features

2013-09-24 Thread Rahkonen Jukka
Hi, Just a guess, but using units in filters is often poorly implemented. Have a try without units and by giving the distance in degrees. -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Troy Day Lähetetty: 24.

Re: [mapserver-users] Submitting filter does not filter - returns all features

2013-09-24 Thread Rahkonen Jukka
ows:ExceptionTextFilter Element contains incoherent XML Namespaces /ows:ExceptionText /ows:Exception /ows:ExceptionReport Isn't it fun with WFS? -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Rahkonen Jukka Lähetetty: 24. syyskuuta 2013

Re: [mapserver-users] Submitting filter does not filter - returns all features

2013-09-24 Thread Rahkonen Jukka
Blah, copied the same request twice. This request has degrees as units but Mapserver is still using the native units, meters.

Re: [mapserver-users] Submitting filter does not filter - returns all features

2013-09-24 Thread Rahkonen Jukka
Sorry about spamming. This document http://mapserver.org/ogc/filter_encoding.html says what are the valid units and using deg in the filter really works.

Re: [mapserver-users] WMS server error. Invalid layer(s) given in the LAYERS parameter

2013-09-23 Thread Rahkonen Jukka
Hi, Your latest mail shows that you do not know yet how a complete and valid GetMap request looks like. Later in this mail you will see an example. Read about EXTENT from http://mapserver.org/mapfile/map.html Read carefully http://mapserver.org/ogc/wms_server.html The mapfile on this page is

[mapserver-users] Scribe UI for Windows?

2013-09-21 Thread Rahkonen Jukka
Hi, Does such a thing exist? -Jukka Rahkonen- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] TYPE/FONT/SIZE breaks labels

2013-09-16 Thread Rahkonen Jukka
Hi, Add DEBUG 5 into your LAYER and you may see from the MS_ERRORFILE what is the problem. My bet is that you are missing the FONTSET http://www.mapserver.org/mapfile/fontset.html -Jukka Rahkonen- Michael McInnis wrote: Mapservers! I have bailed on

Re: [mapserver-users] problem with INTERSECTS query from OpenLayers to mapserver

2013-09-15 Thread Rahkonen Jukka
Perhaps your mail program dropped the annex even I named the file as .txt. Here it is inline wfs:GetFeature xmlns:ogc=http://www.opengis.net/ogc; xmlns:gml=http://www.opengis.net/gml; xmlns:wfs=http://www.opengis.net/wfs; service=WFS version=1.0.0 maxFeatures=1000 outputFormat=GML2 wfs:Query

Re: [mapserver-users] problem with INTERSECTS query from OpenLayers to mapserver

2013-09-14 Thread Rahkonen Jukka
Hi, Perhaps comparison with the annexed filter helps. The filter is created by Kosmo GIS and it works against my Mapserver 6.2 at http://hip.latuviitta.org/cgi-bin/mapserver_wfs Try to edit my filter fo look like that one created by OpenLayers and let's hope that at some moment you will get

Re: [mapserver-users] runtime substitution with filter

2013-09-11 Thread Rahkonen Jukka
Hi, You must add validation http://mapserver.org/mapfile/validation.html -Jukka Rahkonen- Icadedt wrote: hi, i have in my url the parameter myparameter, i would like to use runtime substitution with this parameter in filter i tried : FILTER ([mycol]=='%myparameter%') but it doesnt work in

Re: [mapserver-users] Expression segmentation fault

2013-09-05 Thread Rahkonen Jukka
Hi, Osm2pgsql can create invalid polygons with self-intersections and/or three-vertex A-B-A rings. It might be good to run MakeValid or simply find possibly invalid features with IsValid and delete them and then see if Mapserver gets happy. Actually, run IsValid and save the faulty geometries

Re: [mapserver-users] Min/max pixelsize vs. min/max scaledenom

2013-08-28 Thread Rahkonen Jukka
] http://osgeo-org.1560.x6.nabble.com/Scales-and-raster-maps-td5071674.html On 27 August 2013 12:49, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, Frank Broniewski wrote the following question to the Mapnik users list a few hours ago and I started to think that I would like to have

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