Re: [mapserver-users] WMS GetMap request - incorrect layer ordering

2011-10-15 Thread Rahkonen Jukka
Hi, You had only one layer in your WMS request but I suppose it was just an accident. Layers in WMS request should be respected so that the first layer goes to the bottom and next ones above it. Order in the mapfile should not matter. I can't say about your installation but it seems to behave

Re: [mapserver-users] Re: Feature wish: Internal mapfile variables

2011-10-04 Thread Rahkonen Jukka
that this is a request that comes up often. As usual we'd just need someone to lead the effort. On 11-10-03 12:12 AM, Rahkonen Jukka wrote: Hi, Inspired by the Thomas Bonfort's rendering chain I have been thinking if we could have a native support for using internal mapfile variables. Now

[mapserver-users] Feature wish: Internal mapfile variables

2011-10-02 Thread Rahkonen Jukka
in the OpenStreetMap rendering case. Another use case is when the same layers are re-used for several customers who like to have a bit different styling for the same source data. -Jukka Rahkonen- -Jukka Rahkonen- ___ mapserver-users mailing list mapserver-users

VS: [mapserver-users] GetFeatureInfo or GetFeature?

2011-09-29 Thread Rahkonen Jukka
Hi, X and Y in GetFeatureInfo are pixel coordinates and you can calculate the coordinates for any pixel in the image because you know the BBOX and the size of the image in pixels (WIDTHxHEIGHT). When it comes to filters in WFS you must read some parts of that WFS standard version you are going

Re: [mapserver-users] Parameter substitution problem

2011-09-29 Thread Rahkonen Jukka
Hi, A couple of days ago somebody seemed to have troubles with imagery because of too long paths or filenames. Could you try to shorten your filename by removing some normal characters from it and see it starts to work at some limit? -Jukka Rahkonen- Asad Ullah wrote: I don't think (-) is

Re: [mapserver-users] Parameter substitution problem

2011-09-29 Thread Rahkonen Jukka
, Shortening file names worked. Asad -Original Message- From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] Sent: Thursday, September 29, 2011 10:26 AM To: Asad Ullah; 'Mr. Puneet Kishor' Cc: 'mapserver-users@lists.osgeo.org' Subject: Re: [mapserver-users] Parameter

VS: [mapserver-users] TILEINDEX layer problem mapserver 6.0.1

2011-09-28 Thread Rahkonen Jukka
Hi, It must come from this new feature, capture from http://mapserver.org/ogc/wms_server.html wms_extent WMS TAG Name: BoundingBox (WMS1.1.1, sect. 6.5.6) Description: (Optional) Used for the layer's BoundingBox tag for cases where it is impossible (or very inefficient) for MapServer to probe

Re: [mapserver-users] TILEINDEX layer problem mapserver 6.0.1

2011-09-28 Thread Rahkonen Jukka
Hi, Could you send also a gdalinfo report about one of the your .ecw images? -Jukka Rahkonen- Lähettäjä: Simon Mercier [mercier.si...@gmail.com] Lähetetty: 28. syyskuuta 2011 19:55 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re

Re: [mapserver-users] TILEINDEX layer problem mapserver 6.0.1

2011-09-28 Thread Rahkonen Jukka
- Lähettäjä: Simon Mercier [mercier.si...@gmail.com] Lähetetty: 28. syyskuuta 2011 20:36 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] TILEINDEX layer problem mapserver 6.0.1 Hi, here: simmer01@sigtest:~$ gdalinfo /mnt/EntrepotImageJPG

Re: [mapserver-users] passing cgi query params to wms layers

2011-09-26 Thread Rahkonen Jukka
Hi, You haven't seen this http://mapserver.org/cgi/runsub.html#runsub or this http://mapserver.org/mapfile/variable_sub.html#variable-sub, have you? -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org

Re: [mapserver-users] RE: Image Pyramid with gdal_retile and two UTM zones

2011-09-24 Thread Rahkonen Jukka
Hi, Use the -dstnodata parameter with gdalwarp http://gdal.org/gdalwarp.html Then use the same value in LAYER OFFSITE http://mapserver.org/mapfile/layer.html Note that this works perfectly only if the warped images are in some lossless format. In jpeg, ecw etc. the nodata gets also slightly

Re: [mapserver-users] Re: problem with mercator projection

2011-09-23 Thread Rahkonen Jukka
Hi, You perhaps want to achieve a map presenting the whole world once and then some extra from the second round in the margins like http://www.openstreetmap.org/?lat=59lon=-39zoom=1layers=M? It might well be that the transformation functions consider that for EPSG:3395 the maximum values

Re: [mapserver-users] Re: Mapserver 6 WMS / PostGIS Problem

2011-09-22 Thread Rahkonen Jukka
Hi, Basically it means that the SQL query for getting the extents of your layer is slow. Set timing on with \timing on in your psql window and run query select st_extent(geom) from titles; http://postgis.refractions.net/docs/ST_Extent.html How long does it take? Do vacuum analyze for the table

Re: [mapserver-users] WFS Typename behavior

2011-09-22 Thread Rahkonen Jukka
Hi, I can see from the server logs that users of ArcGIS Data Interoperability extension are usually making first request so that all the feature types are listed in typename and with maxFeatures=3. This will lead on our server to output that is truncated at the 3th feature but it

Re: Σχετ: [mapserver-users] Re: Mapserver 6 WMS / PostGIS Problem

2011-09-22 Thread Rahkonen Jukka
the situation. Same mapfile does work on Linux and it used to work for me on Windows too with Mapserver 5.x. -Jukka Rahkonen- Lähettäjä: Andreas Douvalis [mailto:anddre...@yahoo.gr] Lähetetty: 22. syyskuuta 2011 10:14 Vastaanottaja: Rahkonen Jukka Aihe: Σχετ

Re: Σχετ: [mapserver-users] Re: Mapserver 6 WMS / PostGIS Problem

2011-09-22 Thread Rahkonen Jukka
] Lähetetty: 22. syyskuuta 2011 16:47 Vastaanottaja: Rahkonen Jukka Kopio: Andreas Douvalis; mapserver-users@lists.osgeo.org Aihe: Re: Σχετ: [mapserver-users] Re: Mapserver 6 WMS / PostGIS Problem When the request hangs, is it the mapserver process or the postgres one that is eating all

Re: Σχετ: [mapserver-users] Re: Mapserver 6 WMS / PostGIS Problem

2011-09-22 Thread Rahkonen Jukka
postgis_version() returns 1.5 USE_GEOS=1 USE_PROJ=1 USE_STATS=1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: Smith, Michael ERDC-CRREL-NH [mailto:michael.sm...@usace.army.mil] Lähetetty: 22. syyskuuta 2011 17:07 Vastaanottaja: Rahkonen Jukka; 'thomas bonfort'; 'mapserver-users

Re: [mapserver-users] WMS layers get canceled

2011-09-22 Thread Rahkonen Jukka
Hi, Is this really your DATA or did you just wipe our AS from AS foo when editing your mail? DATA the_geom FROM (SELECT gid, a, b, the_geom FROM table) foo USING UNIQUE gid USING srid=4326 It really looks like service=WMS is not compulsory in WMS. Brave programmer who makes a client to leave

Re: [mapserver-users] Display raster image

2011-09-19 Thread Rahkonen Jukka
Hi, Usually this means that everything is OK but you are somehow asking image from an area that is not covered by your image. Tell us - the EXTENT in your mapfile - the PROJECTION block of the mapfile at MAP level - the request you are using for getting the image Add DEBUG 5 into your mapfile

Re: [mapserver-users] mapserver scalebar

2011-09-16 Thread Rahkonen Jukka
Hi, A meter based scalebar cannot work very well with epsg:4326 because the more north you go the narrower is the 1 degree slice in east-west direction. Therefore you will have a different scale in the top of the map and in the bottom. Some estimate could be done according to the latitude in

Re: [mapserver-users] Image size out of range

2011-09-16 Thread Rahkonen Jukka
Hi, Add something like MAXSIZE 2500 into your mapfile at MAP level. It is also documented in http://mapserver.org/mapfile/map.html -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta

Re: [mapserver-users] mapserver 6.0.1 and cairo SVG

2011-09-14 Thread Rahkonen Jukka
Hi, Works as an url encoded format=image%2Fsvg%2Bxml from browser. I do not know if this is how it should be, though. -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] käyttäjän Raivo Alla

Re: [mapserver-users] RE: mapserver 6.0.1 and cairo SVG

2011-09-14 Thread Rahkonen Jukka
Hi, This requests shows me a map on a browser: http://188.64.1.61/cgi-bin/ms_ows?REQUEST=GetMapSERVICE=WMSVERSION=1.1.1WIDTH=1059HEIGHT=653LAYERS=bordersTRANSPARENT=TRUEFORMAT=image%2Fsvg%2BxmlBBOX=2189023.591117917,6540740.0,4199096.408882082,7780190.0SRS=EPSG:2393STYLES= I do not have a

Re: [mapserver-users] Re: layer data sources more than one

2011-09-13 Thread Rahkonen Jukka
Hi, I have an ogrtileindex layer like this LAYER NAME h_contours TYPE LINE CONNECTIONTYPE OGR TILEINDEX h_contour_idx.shp,0 I am also getting an error 500 with a simple a WFS 1.0.0 request ...getfeaturetypename=h_contoursmaxfeatures=10 However, if I use BBOX in the GetFeature GetFeature

Re: [mapserver-users] wms_getcapabilities_version doesn't work

2011-09-12 Thread Rahkonen Jukka
Hi, I didn't bother to read the documents either but my guess is that your Mapserver is too old to support this. It seems to be !-- MapServer version 5.6.5 -Jukka Rahkonen- Lucho wrote: Hi List, I have the url of this service, with the parameter

Re: [mapserver-users] layer data sources more than one

2011-09-11 Thread Rahkonen Jukka
Hi, You will do it with ogrtileindex. Read http://www.mapserver.org/optimization/tileindex.html -Jukka Rahkonen- Mr. Puneet Kishor wrote: On Sep 11, 2011, at 9:05 PM, JIAJIA WANG wrote: The data in the shapefile are suburb boundaries, but I got several shapefiles, one shapefile for one

Re: [mapserver-users] querying in mode=tile

2011-09-11 Thread Rahkonen Jukka
Hi, If you happen to have a little bit time for considering some day, consider also using WFS for queries. And if you cannot manage to get the geojson outputformat work through the OGR outputformat system in a minute, you can install TinyOWS besides Mapserver. It can read the same mapfiles

Re: [mapserver-users] Re: Mapserver unnecessary slow with Spatialite

2011-09-09 Thread Rahkonen Jukka
Even Rouault wrote: 30. August 2011 23:28 I've just added support for spatialite views in GDAL trunk (r23011). Spatial index of the base table is used to speed up spatial queries on the view. On your example, to create the spatial view : ogrinfo berlin.sqlite -sql create view

[mapserver-users] How to use Spatialite as a TILEINDEX

2011-09-06 Thread Rahkonen Jukka
Hi, The mapfile document http://mapserver.org/mapfile/layer.html is a little bit unclear about raster tileindex. It made me believe that shapefile tileindex is the only possibility. TILEINDEXhttp://mapserver.org/optimization/tileindex.html#tileindex [filename|layername] Name of the tileindex

[mapserver-users] Re: WMS/WFS Mapserver Projection Error

2011-09-06 Thread Rahkonen Jukka
2011 16:37 Vastaanottaja: Rahkonen Jukka Aihe: Re: WMS/WFS Mapserver Projection Error Hi Jukka, I'd tried adding this parameter before changing the parameters on my client, but it doesn't work at all. Any other idea? On 5 September 2011 22:53, Rahkonen Jukka jukka.rahko

[mapserver-users] Re: WMS/WFS Mapserver Projection Error

2011-09-06 Thread Rahkonen Jukka
is reversed. -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Rahkonen Jukka Lähetetty: 6. syyskuuta 2011 16:44 Vastaanottaja: 'Lucho' Kopio: 'mapserver-users@lists.osgeo.org' Aihe: [mapserver

VS: [mapserver-users] WMS/WFS Mapserver Projection Error

2011-09-05 Thread Rahkonen Jukka
Hi, Your failing client is most probably sending WFS 1.1.0 version GetFeature request and therefore Mapserver is sending the coordinates in Latitude-Longitude order. This is how the WFS 1.1.0 says it should be. According to the WFS 1.1.0 standard your client is doing it wrong. Lots of people

Re: [mapserver-users] How can I set the output format of WFS getfeature request to text/html?

2011-09-05 Thread Rahkonen Jukka
Hi, Probably the best I could do for you would be to encourage you do your own homeworks and read some basic documents about WFS and WMS, but ok, take these advice for free. Text/html is not WFS outputformat. It is WMS GetFeatureInfo outputformat. Default outputformat for WFS is GML but

Re: [mapserver-users] Re: Mapserver unnecessary slow with Spatialite

2011-09-02 Thread Rahkonen Jukka
-Alkuperäinen viesti- Lähettäjä: Even Rouault [mailto:even.roua...@mines-paris.org] Lähetetty: 30. elokuuta 2011 23:28 Vastaanottaja: mapserver-users@lists.osgeo.org Kopio: Rahkonen Jukka Aihe: Re: [mapserver-users] Re: Mapserver unnecessary slow with Spatialite Le mardi 30

Re: [mapserver-users] WMS getFeatureInfo WFS getFeature

2011-09-01 Thread Rahkonen Jukka
Hi, 1. Use big number in parameter FEATURE_COUNT. The default is 1. Mapserver is nice by having the tolerance setting which makes is easy for the users to get feature info also for point features if set reasonably wide. I would believe that the result will come from a round area and not from a

[mapserver-users] Re: Mapserver unnecessary slow with Spatialite

2011-08-30 Thread Rahkonen Jukka
viesti- Lähettäjä: Rahkonen Jukka Lähetetty: 28. elokuuta 2011 23:56 Vastaanottaja: MapServer Aihe: Mapserver unnecessary slow with Spatialite Hi, I have been playing a bit with Mapserver 6.0 and Spatialite and I was a bit surprised about how slow this combination is with any bigger

[mapserver-users] RE: Invalid SRS given: SRS must be valid for all requested layers. EPSG 23030

2011-08-30 Thread Rahkonen Jukka
Hi, I do not understand Spanish but it looks like you have something wrong with projections. MAP EXTENT -82.658149 29.4353788 -82.05008 29.943614 PROJECTION init=epsg:23030 END Projection must be in meters which seem to be the unit for the EPSG:23030 units

Re: [mapserver-users] Re: Mapserver unnecessary slow with Spatialite

2011-08-30 Thread Rahkonen Jukka
. -Jukka Rahkonen- Even Rouault wrote: Le mardi 30 août 2011 11:07:57, Rahkonen Jukka a écrit : Hi, Even Rouault made a fix yesterday into the ogr sqlite driver. It gave 11 times more speed when doing small BBOX selections from a smallish table with 9 linestrings

Re: [mapserver-users] Problem GetFeature with geom filter on WFS

2011-08-29 Thread Rahkonen Jukka
- Stéphane Brunner wrote: Hello, 2011/8/24 Rahkonen Jukka jukka.rahko...@mmmtike.fi: Hi, I am not too familiar with PostGIS, but isn't this exactly an index based BBOX query which is checking if the BBOX of the feature is intersecting with the BBOX of the reference geometry? where

Re: [mapserver-users] Problem GetFeature with geom filter on WFS

2011-08-29 Thread Rahkonen Jukka
Stéphane Brunner wrote: Hello, 2011/8/29 Rahkonen Jukka jukka.rahko...@mmmtike.fi: Hi, Ok, understood. Do you have enough material now for filing a bug report? I just done it: http://trac.osgeo.org/mapserver/ticket/4005 The desired behaviour would be to apply filter for the first PostGIS

[mapserver-users] Mapserver unnecessary slow with Spatialite

2011-08-28 Thread Rahkonen Jukka
Hi, I have been playing a bit with Mapserver 6.0 and Spatialite and I was a bit surprised about how slow this combination is with any bigger Spatialite database. I asked for an opinion from Mr. Alesandro Furieri who wrote me some hints for making efficient queries which are utilising spatial

Re: [mapserver-users] Error in WMS server mswmsloadgetmapparams wms server error. invalid layer s given in the layers parameter

2011-08-26 Thread Rahkonen Jukka
Hi, I do not understand php but my guess is that WMS title for a layer is used instead of WMS name. -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] käyttäjän Amalia Carolina Canavire

Re: [mapserver-users] dynamic layer classification

2011-08-26 Thread Rahkonen Jukka
Hi, There is naturally also the SLD_BODY way. Looks ugly but works.

Re: [mapserver-users] Re: WFS restricting returned attributes

2011-08-25 Thread Rahkonen Jukka
of front end to the server perhaps. Thanks for your help! Regards, Bill. Rahkonen Jukka wrote: Hi, You can try if service takes list of propertynames with GET like http://188.64.1.61/cgi-bin/tinyows?service=wfsversion=1.0.0request=GetFeaturetypename=lv:mml_railwayBBOX

Re: [mapserver-users] Grib file

2011-08-25 Thread Rahkonen Jukka
Hi, At least this degree based extent is a bit odd to me EXTENT -9.00 -110.772277 369.00 109.772277 -Jukka Rahkonen- Sila Khan wrote: i want to load grib file in in browser and openlayers through mapfile . this is my mapfile MAP NAME MAP # Map image size SIZE 300 200 UNITS meters

Re: [mapserver-users] Re: Question about projection

2011-08-24 Thread Rahkonen Jukka
Hi, wms_srs is a list (white space separated) about the projections which will be supported as WMS output. You will need to add the web Mercator on your list if it is what you want to read with Openlayers. This parameter is well documented in

Re: [mapserver-users] WFS restricting returned attributes

2011-08-24 Thread Rahkonen Jukka
Hi, You can try if service takes list of propertynames with GET like http://188.64.1.61/cgi-bin/tinyows?service=wfsversion=1.0.0request=GetFeaturetypename=lv:mml_railwayBBOX=246700,6780800,436400,6924000propertyname=sahko,the_geommaxfeatures=1 When it comes to filters, I am not sure how strict

Re: [mapserver-users] msQueryByFilter(): Search returned no results.

2011-08-24 Thread Rahkonen Jukka
Hi, Just in case, try to add wfs_include_items all into layer metadata. I am remembering that ows_include_items perhaps did not work for me some time ago. I verified that your request works against my Mapserver 6.0. Don't look too closely the ogc:Literalamenity=toilets/ogc:Literal part, the

Re: [mapserver-users] Re: Raster Data from PostGIS

2011-08-21 Thread Rahkonen Jukka
Gustavo1376 wrote: I mean, i think that a PostGis with 500GB storage capacity should be able to store much more images than a flat file system with same capacity. Unfortunate database can not do such a magic. Database tables are also stored into files, and I do not believe that they are

[mapserver-users] Re: Error with WFS request from MapInfo

2011-08-19 Thread Rahkonen Jukka
Hi, I would start by addind EXTENT to MAP level. WFS 1.0.0 does not support reprojection so select the desired output srsName and use that as map level PROJECTION. Express extents to suit that projection. Mapserver has been pretty poor WFS server for real GIS clients but it is getting better.

[mapserver-users] Re: Error with WFS request from MapInfo

2011-08-19 Thread Rahkonen Jukka
://myserver.xx/cgi-bin/mapserv.exe?service=wfsversion=1.0.0request=GetFeaturetypeName=mytestmaxFeatures=10map=path/to/the/wfs.map -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: Jelmer Baas [mailto:b...@speerit.nl] Lähetetty: 19. elokuuta 2011 12:45 Vastaanottaja: Rahkonen Jukka

Re: [mapserver-users] Vectorizing/digitizing points that have been rendered as raster

2011-08-19 Thread Rahkonen Jukka
Hi, Mapserver 6.0 is listing these filter capabilities ogc:Equals/ ogc:Disjoint/ ogc:Touches/ ogc:Within/ ogc:Overlaps/ ogc:Crosses/ ogc:Intersect/ ogc:Contains/ ogc:DWithin/ ogc:BBOX/ I am not totally sure that all of them really works. Now it depends a bit about your need what filter to use.

Re: [mapserver-users] Invalid pdf file from WMS

2011-08-18 Thread Rahkonen Jukka
, 2011 at 22:46, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, Amazing. I got this (gdb) bt #0  0x0013a258 in FT_Done_Face () from /usr/lib/libfreetype.so.6 #1  0x00f447c3 in ?? () from /usr/lib/libcairo.so.2 #2  0x00f4ba19 in cairo_font_face_destroy () from /usr/lib/libcairo.so

Re: [mapserver-users] Problem GetFeature with geom filter on WFS

2011-08-18 Thread Rahkonen Jukka
Hi, I agree that if Mapserver is doing the final filtering then passing maxFeatures=100 value for the query selecting the candidates is not right. But have you tested what happens if you run your WFS query without maxFeatures? It would be good to know if the result set is OK then. -Jukka

Re: [mapserver-users] Problem displaying a NAD83 tile in WGS84 (or via WMS)

2011-08-18 Thread Rahkonen Jukka
Hi, Could you give a bit more information? Your use case is the most common that exists and all instructions should be at http://mapserver.org/ogc/wms_server.html It would be good to see the gdalinfo report of your image and your mapfile and the exact WMS request you were using including the

[mapserver-users] Invalid pdf file from WMS

2011-08-17 Thread Rahkonen Jukka
Hi, This request from Mapserver 6.0 gives me a nice pdf file:

Re: [mapserver-users] Invalid pdf file from WMS

2011-08-17 Thread Rahkonen Jukka
=3409763.750050978,6956187.032331026,3411904.266676571,6957827.104097395SRS=EPSG:2393STYLES=' -- thomas On Wed, Aug 17, 2011 at 15:40, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, This request from Mapserver 6.0 gives me a nice pdf file: http://188.64.1.61/cgi-bin/osm-mapserver_i?REQUEST

Re: [mapserver-users] Invalid pdf file from WMS

2011-08-17 Thread Rahkonen Jukka
. elokuuta 2011 22:56 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] Invalid pdf file from WMS if gdb is installed on the system, you do: gdb /path/to/mapserv $ run QUERY_STRING='map=...' (...program runs and spits out the beginning of the pdf

Re: [mapserver-users] Raster-Based Displays

2011-08-14 Thread Rahkonen Jukka
Hi, I would make a try by writing fake worldfiles with .wld extension. Write the origo into 0,0 for each image and adjust the pixel size to suit your images. Tell Mapserver that the projection is some projected coordinate system (UTM for example), and override the embedded georeferencing by

Re: [mapserver-users] Variable substitution error with non-ASCII characters

2011-08-09 Thread Rahkonen Jukka
Rahkonen- Even Rouault wrote: Selon Rahkonen Jukka jukka.rahko...@mmmtike.fi: Did you check the encoding of your 'ä' character ? I would think that if it is sent in UTF-8 it should work. I'd also warn you that unless you've defined a very strict validation pattern, such use

[mapserver-users] Variable substitution error with non-ASCII characters

2011-08-08 Thread Rahkonen Jukka
Hi, I have been playing with variable substitution inside the DATA part of my mapfile. I have defined variable %sql% which is tranferred inside a WHERE part of the SQL selecting data for me. The next with sql=highway='bus_stop' works fine.

Re: [mapserver-users] MapServer as WMS client - HTTPS CERTIFICATE problem.

2011-08-02 Thread Rahkonen Jukka
Hi, With Windows MS4W is setting the path to local certificate file with environment variable CURL_CA_BUNDLE and by default it is \ms4w\Apache\conf\ca-bundle\cacert.pem with the setenv.bat Perhaps you can tell where your modified certificate bundle file is with a mapfile too, but I have not

Re: [mapserver-users] It takes more than 2 minutes for my map server to generate a world map

2011-07-28 Thread Rahkonen Jukka
Hi, It is really essential to avoid opening all the 4659 files. Redused resolution overview images and layer group is the way to go so that there are never more than, let's say, 20-30 images to open for one call. And gdaladdo does help further. And the third step is to have internally tiled

Re: [mapserver-users] Re: MapServer 6 WMS output to 8-bit PNG

2011-07-27 Thread Rahkonen Jukka
Hi, You can also send WMS requests with wget instead of a browser, save the result image directly into a file and use gdalinfo for checking the properties. -Jukka Rahkonen- Brad Posthumus wrote: The GetMap request was using: format=image/png ...instead of format=image/png; mode=8bit

Re: [mapserver-users] How to convert from 2393(Finish YKJ) to 4326 (WGS84)

2011-07-25 Thread Rahkonen Jukka
it affect with unwanted result somewhere? You can read also http://latuviitta.org/documents/YKJ-TM35FIN_muunnos_ogr2ogr_cs2cs.txt (in Finnish, I suppose it is not a problem for you). Yeps, language not, but understanding is something else ;-) -Pena Rahkonen Jukka [jukka.rahko...@mmmtike.fi

Re: [mapserver-users] How to convert from 2393(Finish YKJ) to 4326 (WGS84)

2011-07-24 Thread Rahkonen Jukka
Hi, I suppose that towgs84 parameters are missing. You can check this with psql: select proj4text from spatial_ref_sys where srid=2393; The result should be close to +proj=tmerc +lat_0=0 +lon_0=27 +k=1.00 +x_0=350 +y_0=0 +ellps=intl +towgs84=-90.7,-106.1,-119.2,4.09,0.218,-1.05,1.37

Re: [mapserver-users] Re: ArcSDE 9.3.1 QUERYMAP, QUERY or GETFEATUREINFO not workin (Mapserver 6)

2011-07-20 Thread Rahkonen Jukka
Hi, Try to remove all the other include_items and try with wms_include_items. I am slightly remembering that I have had a case then this helped, even I think it shouldn't. -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org

Re: [mapserver-users] mapserver publish road

2011-07-19 Thread Rahkonen Jukka
Hi, I believe that most cartographers would say that the uDig way to to draw the outlines is ugly and the Mapserver way looks better but it is partly a matter of taste. However, at least for me the continuous black lines also give a feeling that it is not possible or allowed to drive from one

Re: [mapserver-users] substitution in a PostGIS layer .. ?

2011-07-13 Thread Rahkonen Jukka
Julien Cigar wrote: This may be a stupid question but: is there a reason why PQescapeStringConn() is not used to do the substitution? Perhaps because Mapserver does not support just PostgreSQL but also Oracle, SQL Server, MySQL, Informix, CouchDB etc. Therefore it is good to have some

Re: [mapserver-users] msShapefileOpen(): Unable to access file

2011-07-13 Thread Rahkonen Jukka
...@gmail.com] Lähetetty: 12. heinäkuuta 2011 14:58 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] msShapefileOpen(): Unable to access file Hi Rahkonen, Thanks for the prompt reply..!! If I add CONNECTIONTYPE OGR in the Layer Tag

Re: [mapserver-users] msShapefileOpen(): Unable to access file

2011-07-12 Thread Rahkonen Jukka
Hi, I guess that Mapserver is seaching for shapefiles as default. Read the document http://mapserver.org/input/vector/ogr.html and have a try with CONNECTIONTYPE=OGR. -Jukka Rahkonen Dave Chetan wrote: Hi, I am publishing DGN data using tile option.

Re: [mapserver-users] msShapefileOpen(): Unable to access file

2011-07-12 Thread Rahkonen Jukka
Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] msShapefileOpen(): Unable to access file Hi Rahkonen, Thanks for the prompt reply..!! If I add CONNECTIONTYPE OGR in the Layer Tag, then the error is 7/12/2011 4:29:20 PM|msDrawMap(): Image handling

[mapserver-users] Example of GPSBabel outputformat wanted

2011-07-06 Thread Rahkonen Jukka
Hi, After reading some Mapserver, GDAL and GPSBabel documents I have a feeling that it should be possible to reach pretty amusing results with Mapserver WFS and ORG output. For example it looks possible to do WFS GetFeature request and get back POIs which could be installed directly into

Re: [mapserver-users] Mapserver layer - MySQL connection

2011-06-22 Thread Rahkonen Jukka
Hi, Try first by removing the space characters after separating commas. -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] k#228;ytt#228;j#228;n Chris Green [chris.gr...@ibstv.co.uk] puolesta

[mapserver-users] Where is the use of map_resolution documented?

2011-06-14 Thread Rahkonen Jukka
Hi, I know more or less what map_resolution does and how it is used, but I could not easily find where it is documented. Any suggestions? -Jukka Rahkonen-___ mapserver-users mailing list mapserver-users@lists.osgeo.org

[mapserver-users] Re: WFS Server with ArcGIS Client

2011-06-13 Thread Rahkonen Jukka
Hi, If you happen to work with PostGIS data and you are on Linux you may think about having a try with TinyOWS. It works nicely together with Mapserver and I know that is works with Data Interoperability. With a little odd thing, though. For every attribute ArcGIS creates a dummy .xld_nil

Re: [mapserver-users] Re: WFS Server with ArcGIS Client

2011-06-13 Thread Rahkonen Jukka
Hi, Another quick note: Version 1.0 c is much much better than 0.9 which is available as MS4W addon package. But of course one can experiment with 0.9 too until 1.0 for MS4W is ready. -Jukka- Jeff McKenna wrote: On 11-06-13 5:12 PM, Rahkonen Jukka

[mapserver-users] Mapserver 6.0, SLD and halo

2011-06-10 Thread Rahkonen Jukka
Hi, This part of SLD used to work with 5.x sld:Halo sld:Radius ogc:Literal3/ogc:Literal /sld:Radius sld:Fill sld:CssParameter name=fill#FF/sld:CssParameter sld:CssParameter name=fill-opacity1/sld:CssParameter /sld:Fill /sld:Halo It does not work with 6.0. Mapserver accepts the SLD if we

[mapserver-users] SLD behaviour changed after upgrade to Mapserver 6.0

2011-06-09 Thread Rahkonen Jukka
Hi, The following part of SLD document, passed to Mapserver inside SLD_BODY, used to produce a two-part label KOODI, NIMI_FI (with comma and space between the parts). It worked with Mapserver 5.2.1 and 5.6.5. Now after upgrading into version 6.0 the result is an error: [Thu Jun 09 14:26:09

Re: [mapserver-users] WCS reprojection issue

2011-06-03 Thread Rahkonen Jukka
Hi, Response_crs exists for letting user to select the output CRS. Have you tried it yet? There are better possibilities for a success and especially for understanding what is really happening if you write WCS requests by hand and semd them with a browser instead of using a GIS client.

Re: [mapserver-users] WCS reprojection issue

2011-06-03 Thread Rahkonen Jukka
out what is going wrong. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: Mark Phillips [mailto:m...@geomtech.com] Lähetetty: pe 3.6.2011 18:14 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] WCS reprojection issue Thanks for your

Re: [mapserver-users] Re: HTTP request error. CURLOPT_PROXYAUTH not supported. Requires Curl 7.10.7 and up

2011-06-01 Thread Rahkonen Jukka
Hi, All I can say is that I am running MS4W 3.0.2 updated to use Mapserver 6.0 and I have these two lines in the LAYER-METADATA for setting the proxy and it works for me. wms_proxy_host xxx.yyy.zzz wms_proxy_port -Jukka Rahkonen- sulu wrote: Update. Am i doing something wrong

Re: [mapserver-users] Oracle Spatial

2011-05-28 Thread Rahkonen Jukka
Hi, It is impossible to know how the Oracle optimiser selects to do the final job in the database only by looking at the SQL. Capture the SQL and send it directly with SQL*Plus by giving first set autotrace on. By doing that Oracle will print the execution plan which will give more

Re: [mapserver-users] populating EPSG file

2011-05-24 Thread Rahkonen Jukka
Hi, Found this from a new MS4W installation. # HTRS96 / Croatia TM 3765 +proj=tmerc +lat_0=0 +lon_0=16.5 +k=0. +x_0=50 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs I also had those #Unknows lines in the epsg file of some old MS4W installation. -Jukka Rahkonen-

Re: [mapserver-users] Question on rfc 86

2011-05-15 Thread Rahkonen Jukka
Hi, Have you tried GROUP? LAYER GROUP group_layer NAME level_1 STATUS ON TILEINDEX d:/data/ MAXSCALEDENOM 14000 .. LAYER GROUP group_layer NAME level_2 STATUS ON TILEINDEX d:/data/. MINSCALEDENOM 14000

Re: [mapserver-users] MapServer v GeoServer

2011-05-13 Thread Rahkonen Jukka
Hi, I am listing just the advantages of Geoserver and not the other way. - Biggest advantage for new or simple minded users like me can be seen here: http://demo.opengeo.org/geoserver/web/ The whole server can be controlled with the admin utility. If one does not like it or wants to do

Re: [mapserver-users] Layer rendering performance problem

2011-05-12 Thread Rahkonen Jukka
. On Wed, May 11, 2011 at 4:41 PM, Rahkonen Jukka jukka.rahko...@mmmtike.fi mailto:jukka.rahko...@mmmtike.fi wrote: Hi

Re: [mapserver-users] Layer rendering performance problem

2011-05-11 Thread Rahkonen Jukka
Hi, No answers but a question back. Have you created spatial index (.qix) for your shapefiles with shptree? -Jukka Rahkonen- Jon-Paul Dobson wrote: Hi, Whenever I display a layer based on a Shape file I notice that the Shape file is accessed constantly. This makes rendering extremely

Re: [mapserver-users] WMS GetFeatureInfo - is it possible to supportmultiple INFO_FORMATs?

2011-05-10 Thread Rahkonen Jukka
Hi, If you mean an effect like this

Re: [mapserver-users] Mapserver as a WMS Client - problems working with a 'remote' Tilecache service

2011-05-05 Thread Rahkonen Jukka
Hi, I have never tried myself but I would guess that you need to prepare a xml file for defining a gdal-wms datasource and refer to that xml file in your mapfile. Read http://gdal.org/frmt_wms.html -Jukka Rahkonen- Andrew Cowie wrote: Hello List, We are currently setting up a cascading

[mapserver-users] Validation example wanted

2011-04-29 Thread Rahkonen Jukka
Hi, Could somebody tell how can I make my WMS requests to validate? I am sending WMS GetMaps with two extra parameters tag and value by adding them to the end of the request like tag=amenityvalue=supermarket. Tag and value can be anything and they should be used inside the following

Re: [mapserver-users] Validation example wanted

2011-04-29 Thread Rahkonen Jukka
=-574187,6558020,1615375,7978444SRS=EPSG:3067STYLES=tag=shopvalue=supermarket -Jukka- thomas bonfort wrote: have you tried without the surrounding slashes? i.e. VALIDATION tag . value . END On Fri, Apr 29, 2011 at 10:37, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, Could somebody tell

Re: [mapserver-users] RE: Validation beyond [A-z]

2011-04-29 Thread Rahkonen Jukka
be easy to use and well documented. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org puolesta: Jan Hartmann Lähetetty: pe 29.4.2011 13:37 Vastaanottaja: wood...@swoodbridge.com Kopio: Rahkonen Jukka; mapserver-users@lists.osgeo.org Aihe: Re

Re: [mapserver-users] Parameterized MapFile using CGI variable

2011-04-29 Thread Rahkonen Jukka
Hi, No problem at all. I have it this way For each layer LAYER STATUS ON GROUP default PROJECTION init=epsg:3067 END INCLUDE /usr/map/connection_osm_i.map maxscaledenom 500010 minscaledenom 250010 TYPE LINE NAME roadsclose DATA way from (select

[mapserver-users] Validation beyond [A-z]

2011-04-28 Thread Rahkonen Jukka
Hi, Validation is nowadays needed in quite a many places in a mapfile. However, we who live outside the English speaking world tend to have more characters in the alphabet than A to Z. This makes the mapfile validation idea only half effective because for making things to work at all with the

Re: [mapserver-users] JPG Tile index in mapserver v5.6.3

2011-04-28 Thread Rahkonen Jukka
Hi, Without doing any reading I would suggest first to try what happens if you rename the world files into .wld. Another thing is that you should not really use jpeg images. Use jpeg compresses tiff files instead. Read http://gdal.org/frmt_gtiff.html Remember -co COMPRESS=JPEG and -co

Re: [mapserver-users] Re: JPG Tile index in mapserver v5.6.3

2011-04-28 Thread Rahkonen Jukka
Hi, Jpeg file format is not good for a typical geospatial use when a little arbitrary piece of a big image should be opened and showed. I forgot one tiff creation option, use -co TILED=YES That way you can create a tiff image file which is internally organised as tiles which are fast to fetch

Re: [mapserver-users] From MS 5.6 SYMBOL into 6.0 STYLE

2011-04-28 Thread Rahkonen Jukka
by hand is little bit complicated, at least for me. -Jukka Rahkonen- Jeff McKenna wrote: On 11-04-27 12:51 PM, Rahkonen Jukka wrote: Hi, My old OpenStreetMap mapfile does not work any more after update. I read that some SYMBOL stuff has been moved into STYLE. Could somebody tell how

[mapserver-users] MS 6.0 beta6 and faulty image/png; mode=8bit output if source image has overviews

2011-04-18 Thread Rahkonen Jukka
Hi, I am sometimes getting images with totally odd colours with MS 6.0 beta 6 (and the previous beta versions) with format image/png; mode=8bit. I have been doing some testing and I believe I can now reproduce the error. The error happens only if the raster image has overviews. If I delete or

Re: [mapserver-users] Mapserver and raster layers

2011-04-16 Thread Rahkonen Jukka
Hi, - Add DEBUG 5 into your LAYER and see what you'll get into MS_ERRORFILE - What kind of request do you use for getting an image? - Using full paths into your image file may help - Send also the gdalinfo output of image.tiff file -Jukka Rahkonen- Christopher Dedels Thanks for the

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