Re: [mapserver-users] Attribute query at geographic coordinate

2011-11-13 Thread Rahkonen Jukka
Hi, For me this sounds like being something for some mapscript variant http://mapserver.org/mapscript/index.html for doing the special server side queries and formatting the output. WMS GetFeatureInfo is not the most natural way to do this even it might work by doing a little bit of tweaking.

Re: [mapserver-users] MapServer crash with WFS GetFeature request using multiple typenames

2011-11-14 Thread Rahkonen Jukka
Hi, It is not so very common to make GetFeature requests for a list of FeatureTypes, especially with filters. Therefore servers are for sure not well tested with such requests. Do you have some special need for getting just one GML package out or WFS or can you imagine to do one request per

Re: [mapserver-users] MapServer crash with WFS GetFeature request using multiple typenames

2011-11-14 Thread Rahkonen Jukka
Vastaanottaja: Rahkonen Jukka Kopio: 'mapserver-users@lists.osgeo.org' Aihe: Re: [mapserver-users] MapServer crash with WFS GetFeature request using multiple typenames Hello Jukka Thanks for the information. I am trying to make a spatial search by clicking on the point on the map. This search

Re: [mapserver-users] WFS GetFeature outputformat error

2011-11-15 Thread Rahkonen Jukka
Hi, I tried once something like that on Ubuntu Linux too and got a similar Failed to open result file error. I was just playing and never investigated the thing further. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org

[mapserver-users] Mapserver WMS client and WMS 1.3.0

2011-11-17 Thread Rahkonen Jukka
Hi, Somebody was asking about cascading an external WMS 1.3.0 server. I remember that the one who asked the questiod had captured a rather self-explaining error message like this one from our Mapserver 6.0 msBuildWMSLayerURL(): WMS connection error. MapServer supports only WMS 1.0.0 to 1.1.1

Re: [mapserver-users] Mapserver WMS client and WMS 1.3.0

2011-11-17 Thread Rahkonen Jukka
. The original email can be found here: http://lists.osgeo.org/pipermail/mapserver-users/2011-November /070726.html Thanks a lot, Michal 2011/11/17 Rahkonen Jukka jukka.rahko...@mmmtike.fi: Hi, Somebody was asking about cascading an external WMS 1.3.0 server. I remember that the one who asked

Cascading WFS 1.1.0 with Filter WAS: [mapserver-users] Mapserver WMS client and WMS 1.3.0

2011-11-17 Thread Rahkonen Jukka
- Lähettäjä: Michal Šrédl [mailto:michal.sr...@gmail.com] Lähetetty: 17. marraskuuta 2011 14:35 Vastaanottaja: Rahkonen Jukka Aihe: Re: [mapserver-users] Mapserver WMS client and WMS 1.3.0 Hi Jukka, thanks. Before I do more experiments, just a note: it does work in the browser, as url: http

Re: [mapserver-users] Does MapServer, as a client, support WMS 1.3.0?

2011-11-18 Thread Rahkonen Jukka
Hi, I wrote about in on this list yesterday. Mapserver log file shows it clear: msBuildWMSLayerURL(): WMS connection error. MapServer supports only WMS 1.0.0 to 1.1.1 (please verify the VERSION parameter in the connection string). It is not mentioned in the Mapserver WMS client documentation,

Re: [mapserver-users] tileindex query

2011-11-19 Thread Rahkonen Jukka
Hi, Polygon layer defined like this works for me TILEINDEX D:\data\tindex\tindex_1.shp,0 Also in my mapfile I have a commented line #CONNECTIONTYPE OGR #Don't use, breaks classification and GetFeatureInfo I do not remember exactly what was the Mapserver version which gave to troubles with

Re: [mapserver-users] QGis 'Zoom to best scale' Not Working

2011-11-21 Thread Rahkonen Jukka
Hi, WMS does not advertise by default the native resolution of the data. I have never tried but perhaps adding wms_resx, wms_resy metadata into layer metadata would add that information into GetCapabilities http://mapserver.org/ogc/wms_server.html. I do not know if QGis can utilise that

Re: [mapserver-users] Re: QGis 'Zoom to best scale' Not Working

2011-11-22 Thread Rahkonen Jukka
SCALE=AUTO    PROCESSING SCALE_BUCKETS=256    TYPE RASTER    DATA MyImage.vrt    PROJECTION       +proj=longlat +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs    END END Rahkonen Jukka wrote Hi, WMS does not advertise by default the native resolution of the data.  I

Re: [mapserver-users] layerObj queryByPoint problem

2011-11-24 Thread Rahkonen Jukka
Hi, I cannot say anything about your problem, but your MAP extent looks a bit off to me. Do you really want to be closed into a 360 by 360 metre box around the (0,0) point at the equator? -Jukka Rahkonen- kirill bogdanov wrote: Hi, i have a problem with queryByPoint as well as queryByRect

[mapserver-users] Re: WCS GetCoverage

2011-11-24 Thread Rahkonen Jukka
Hi, Very first thing to do with all the W** services is to give always an explicit VERSION= Request can sometimes work even without but then the default is the highest supported. Do not play with defaults, take the control for yourself. What Mapserver version you have? Perhaps some old 5.x

[mapserver-users] Cascading WFS through proxy, https and basic auth

2011-11-29 Thread Rahkonen Jukka
Hi, We are successfully cascading WMS services which demand to use https and basic authentication with username and password. Such a layer is defined as CONNECTION https://; CONNECTIONTYPE WMS #DEBUG 5 METADATA wms_srs EPSG:2393 wms_name name

Re: [mapserver-users] WMS LAYERS parameter - problems with the order

2011-11-29 Thread Rahkonen Jukka
Hi, Both systems should work. First layer in the mapfile is rendered first so it goes on the bottom and the same should happen with WMS layers. A few weeks ago we learned that layers set to STATUS DEFAULT do not respect any other rules and they are always rendered first. Do you have such

[mapserver-users] Georeferenced PDF output

2011-12-01 Thread Rahkonen Jukka
Hi, Mapserver can output PDF but can it produce also georeferenced PDF files? -Jukka Rahkonen-___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Re: Mapserver /tmp files appearing all of a sudden w/CONTEXT parameter used

2011-12-01 Thread Rahkonen Jukka
Hi, Thanks for this. Now I finally understood why I could not make OGR output to work on a Ubuntu server by following faithfully the corresponding document http://mapserver.org/output/ogr_output.html It was because the /tmp/ directory was not writeable for Mapserver. I will make a

[mapserver-users] Trouble with OGR output and writing to temppath

2011-12-04 Thread Rahkonen Jukka
Hi, I have troubles with getting the ORG output to work. I have configured CVS ouput like this OUTPUTFORMAT NAME CSV DRIVER OGR/CSV MIMETYPE text/csv FORMATOPTION LCO:GEOMETRY=AS_WKT FORMATOPTION STORAGE=filesystem FORMATOPTION FORM=simple FORMATOPTION FILENAME=result.csv END I

Re: [mapserver-users] Trouble with OGR output and writing to temppath

2011-12-04 Thread Rahkonen Jukka
/mapserver/ticket/4085). I haven't yet found a workaround. --john On Dec 4, 2011, at 3:29 AM, Rahkonen Jukka wrote: Hi, I have troubles with getting the ORG output to work. I have configured CVS ouput like this OUTPUTFORMAT NAME CSV DRIVER OGR/CSV MIMETYPE text/csv FORMATOPTION

Re: [mapserver-users] Trouble with OGR output and writing to temppath

2011-12-04 Thread Rahkonen Jukka
' with driver 'FileGDB'. It appears to only happen with FORMATOPTION STORAGE=filesystem. Mike -- Michael Smith US Army Corps Remote Sensing GIS/Center On 12/4/11 6:22 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, Thanks, natural thing that I had not checked. Fortunately

Re: [mapserver-users] MapServer crash with WFS GetFeature request using multiple typenames

2011-12-05 Thread Rahkonen Jukka
dejan On 14. stu. 2011., at 14:51, Rahkonen Jukka wrote: Hi, Feel free to test with my TinyOWS server at http://188.64.1.61/cgi-bin/tinyows. I would not encourage you to use BBOX filter for finding features. According to the standard BBOX is a synonyme for Intersects but for example

Re: [mapserver-users] Re: Georeferenced PDF output

2011-12-09 Thread Rahkonen Jukka
Hi, If it needs coding then it is not for me but I do not have any immediate need either. I was just thinking that if the georeferencing method is published and open and if it mainly means, as I suppose, embedding some code box in the pdf file then perhaps Mapserver could be made to do it

Re: [mapserver-users] Mapserver performance on apache - heavy load systems

2011-12-12 Thread Rahkonen Jukka
Hi, Absolutely do not increase RAM, CPU or anything on that line. Instead, install all your data on a small slow laptop and make the system fast on that. - Analyze your situaltion and think what you want to give for your customers - Optimise the data for that purpose - Final step is to acquire

Re: [mapserver-users] Specify resolution (or pixel size) in WMS requests

2011-12-14 Thread Rahkonen Jukka
Hi, Could you possible create a couple of images showing what is the current situation and how would you like the image to look like, together with corresponding parts of mapfile and requests you have used? -Jukka Rahkonen- Astrid Emde wrote: Hello,

[mapserver-users] WFS fails is PostGIS table has capital characters in the name

2011-12-14 Thread Rahkonen Jukka
Hi, It seems that Mapserver WFS fails if the PostGIS source table has capitalised characters in the name. For example with table named Natura2000_Suomi_2010 the DescibeFeatureType fails and error suggests that Mapserver is usin table name natura2000_suomi_2010 in the query instead. [Thu Dec

[mapserver-users] Non-ASCII characters in wfs_title break WFS GetCapabilities

2011-12-15 Thread Rahkonen Jukka
Hi, I noticed that I cannot use non-ASCII characters (äöåÄÖÅ) in wfs_title metadata element because they break at least GetCapabilities. Mapserver version is 6.0.1. -Jukka Rahkonen-___ mapserver-users mailing list mapserver-users@lists.osgeo.org

[mapserver-users] Cannot get OGR output to work

2011-12-16 Thread Rahkonen Jukka
Hi, I wonder if anybody has managed to make the OGR output to work? For me all my trials have stopped to an error that seems to mean that Mapserver can't write out a temporary file. The same happens both on Windows and Linux. I hope that somebody else would repeat the test and I have tried to

Re: [mapserver-users] Cannot get OGR output to work

2011-12-16 Thread Rahkonen Jukka
. joulukuuta 2011 17:12 Vastaanottaja: Rahkonen Jukka; 'mapserver-users@lists.osgeo.org' Aihe: Re: [mapserver-users] Cannot get OGR output to work Jukka, Are the OGR Output formats defined as STORAGE=filesystem? That is the error I've had. There is a ticket for this. http://trac.osgeo.org

Re: [mapserver-users] Cannot get OGR output to work

2011-12-16 Thread Rahkonen Jukka
Mike On 12/16/11 10:19 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, STORAGE=filesystem, yes, and I am following the ticket. Just wanted to make it easier to start investigating the problem. Other storage alternatives did not work for me any better on Linux but I have not tried

[mapserver-users] WFS srsName does not work with PostGIS layers

2011-12-16 Thread Rahkonen Jukka
Hi, Using srsName for reprojecting the resultset of WFS 1.1.0 GetFeature works OK when I use shapefiles as datasource. However, it I use PostGIS as datasource Mapserver does not find any features with a non-native srsName. It is not a wonder because using srsName is changing the data window.

Re: [mapserver-users] Multi-Resolution Terrain Map File

2011-12-24 Thread Rahkonen Jukka
Hi, On possibility might be to prepare one tileindex which contains all the resolutions. It is a normal shapefile and it can be edited with any GIS program. When ready and saved the tileindex can be sorted with sortshape utility so that the course DEM tiles are in the beginning of the

Re: [mapserver-users] Order of attributes returned from WFS GetFeature

2011-12-27 Thread Rahkonen Jukka
Hi, The WFS standard defines that attributes are included in a XML sequence. Therefore the returned attributes must be in the same order than in the schema of your feature type. I would suggest also having a try with editing the SQL in the DATA line and selecting attributes as you like but

Re: [mapserver-users] mapserver job

2012-01-11 Thread Rahkonen Jukka
Hi, There is a ready made quite feature rich application for that: http://suite.opengeo.org/docs/geoeditor/introduction.html Should not be impossible to adjust it to use Mapserver and TinyOWS instead of Geoserver because Geoeditor is built to use just WMS and WFS-T. -Jukka Rahkonen-

Re: [mapserver-users] Mapserver Layer Filter

2012-01-12 Thread Rahkonen Jukka
Hi, I made a test with a shapefile with ogrinfo as ogrinfo -al roads.shp -sql select * from roads where type!='motorway' It gives a correct result (everything that is not motorways). I would check first what happens with a type value which has just ASCII characters. Perhaps OGR just has

[mapserver-users] My WFS request leads to segfault

2012-01-16 Thread Rahkonen Jukka
Hi, Mapserver 6.0 on Ubuntu gives segfault with the following WFS request. First in an easier-to-read format hip.latuviitta.org/cgi-bin/mapserver_wfs?SERVICE=WFSVERSION=1.1.0REQUEST=GetFeatureTYPENAME=lv:pks_tilastoalue_pisteFILTER=Filter xmlns=http://www.opengis.net/ogc;

Re: [mapserver-users] Mapserver install - Mac OS X and safari

2012-01-16 Thread Rahkonen Jukka
Hi, I don't know anything about Macs but http://localhost.comhttp://localhost.com/ feels odd. Perhaps it should be just http://localhost?http://localhost/? -Jukka Rahkonen- M Badar wrote: Greetings, New user to the list. I am installing mapserver on my

Re: [mapserver-users] 16 bit PNG or 16 bit jpeg output

2012-01-19 Thread Rahkonen Jukka
Hi, Could it be possible for you to use WCS 1.0.0 for avoiding the multipart thing? -Jukka Rahkonen- Ragi Burhum wrote: Hello, I am trying to output a single band 16bit png (or jpeg) output from a Mapserver WCS service. I have tried the following output

Re: [mapserver-users] 16 bit PNG or 16 bit jpeg output

2012-01-19 Thread Rahkonen Jukka
@lists.osgeo.org; Rahkonen Jukka Aihe: Re: [mapserver-users] 16 bit PNG or 16 bit jpeg output Hi Jukka, I assume you mean WCS 2.0 and that you are referring to the MEDIATYPE directive. The documentation at http://mapserver.org/ogc/wcs_server.html#test-your-wcs-1-0-server said that only multipart/mixed

Re: [mapserver-users] Problems rendering postgis points layer

2012-01-21 Thread Rahkonen Jukka
Hi, Perhaps this CLASS that is not ended can make some trouble. CLASS EXPRESSION cnt=2 STYLE SYMBOL circle SIZE 5 COLOR 0 255 0

[mapserver-users] GetFeature find data with GET, not with POST

2012-01-24 Thread Rahkonen Jukka
Hi, This GetFeature finds data from MS 6.0.1 (MS4W)

[mapserver-users] Re: GetFeature find data with GET, not with POST

2012-01-24 Thread Rahkonen Jukka
- Rahkonen Jukka wrote: Hi, This GetFeature finds data from MS 6.0.1 (MS4W) service=wfsversion=1.1.0request=getfeaturetypename=peltolohkotBBOX=280009,6696093,282161,6698297,EPSG:3067https://ilmakuva.mmm.fi/cgi-bin/wfs_test?service=wfsversion=1.1.0request=getfeaturetypename

[mapserver-users] Re: GetFeature find data with GET, not with POST

2012-01-24 Thread Rahkonen Jukka
. Usually shapefiles are the most robust simply because they are used the most. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Rahkonen Jukka Sent: Tuesday, January 24, 2012 9:36 AM To: 'mapserver-users@lists.osgeo.org

Re: [mapserver-users] Relative path's in mapfile

2012-01-25 Thread Rahkonen Jukka
Hi, I have been thinking that the the MAP METADATA parameter wms_onlineresource might have a setting wms_onlineresource auto It would capture the url that was used for reading the GetCapabilities and place the reasonable parts of it automatically into GetCapabilities response. This option

Re: [mapserver-users] Relative path's in mapfile

2012-01-25 Thread Rahkonen Jukka
Daniel Morissette wrote: Adding hardcoded vendor-specific params to the automatically generated URL sounds like a nice idea. We'd just need someone to champion it ;-) I started to think that I made an online demo when I was playing with this some time ago. This one is using variable sql and

Re: [mapserver-users] Re: getSymbol (): Symbol definition error.

2012-01-27 Thread Rahkonen Jukka
Hi, I may remember wrong but it may be that the template file must really exist and it can be otherwise empty but it must contain this magic string in the first line. !-- MapServer Template -- -Jukka Rahkonen- Francesc Cañas wrote: Ok, at first, thanks for helping me, But I feel

Re: [mapserver-users] Mapserver and TileCache, parsing error thereby no cached images

2012-01-29 Thread Rahkonen Jukka
Hi, Perhaps it has something to do with newline characters? [line 82]: ' type=WMS\n' -Jukka Rahkonen- Michael Markieta wrote: Hi all, Original question was posted here:

Re: [mapserver-users] zoom to place by name

2012-01-30 Thread Rahkonen Jukka
Hi, Have a look at Nominatim. Perhaps it would be possible to add the zoom to boundaries support to it. Ask developers what'd the think about enhancing the Nominatim database to store also the bounding boxes of the places. http://nominatim.openstreetmap.org/

Re: [mapserver-users] Mapserver and TileCache, parsing error thereby no cached images

2012-01-31 Thread Rahkonen Jukka
- Department of Geography Bachelor of Arts Candidate - Geographic Analysis Ryerson University Toronto, ON, Canada -- www.spatialanalysis.cahttp://www.spatialanalysis.ca On Mon, Jan 30, 2012 at 2:11 AM, Rahkonen Jukka jukka.rahko

Re: [mapserver-users] Multi-line labels

2012-02-02 Thread Rahkonen Jukka
Hi, Layers are rendered from bottom to top and I believe that now your centroide_pts are just there under the polygons. By the way, STATUS OFF should mean that the layer is not at all in use. It is a bit odd that your layers still render, or at least the polygons. -Jukka Rahkonen-

[mapserver-users] Re: How to label only largest displayed areas?

2012-02-02 Thread Rahkonen Jukka
Hi, I do not feel that your use case is very common. Perhaps instead of modifying Mapserver you could think if you could do it mainly on the database side. For example, draw all the polygons without labels and use some clever SQL for creating another layer from the features which you would

[mapserver-users] Re: How to label only largest displayed areas?

2012-02-02 Thread Rahkonen Jukka
Hi, I understood that meaning was to put exactly one label per state. Each state, even tiny ones, should be labeled. But one state should get only one label even if the map window is splitting the state polygon into two or more intersections. Those intersections may be bigger than the tiny

[mapserver-users] WFS GetCapabilities does not work with non-ascii characters in mapfile

2012-02-03 Thread Rahkonen Jukka
Hi, This should be simple to test and verify. Write into WEB METADATA parameters wms_title test_ö wfs_title test_ö WMS 1.1.1 GetGapabilities does not have any trouble with ö and request sends back ... Service NameOGC:WMS/Name Titletest_ö/Title However, WFS GetCapabilities response

Re: [mapserver-users] WFS GetCapabilities does not work with non-ascii characters in mapfile

2012-02-03 Thread Rahkonen Jukka
-users-boun...@lists.osgeo.org] Im Auftrag von Rahkonen Jukka Gesendet: Freitag, 3. Februar 2012 10:24 An: 'mapserver-users@lists.osgeo.org' Betreff: [mapserver-users] WFS GetCapabilities does not work with non-ascii characters in mapfile Hi, This should be simple to test

Re: [mapserver-users] RE: How to label only largest displayed areas?

2012-02-03 Thread Rahkonen Jukka
extent shows the a small sliver of the mainland of California and a larger visible part of an island that is part of California, only the island would be labeled, as its visible area is larger than that of the sliver. - Phil -Original Message- From: Rahkonen Jukka

Re: [mapserver-users] Run time substitution - Like instead of =

2012-02-03 Thread Rahkonen Jukka
Hi, Perhaps someone can tell if you could use the default value to NOT something_very_off, which would then select everything for you. -Jukka Rahkonen- tellett wrote: Hi All, I'm using runtime substitution to replace the value of an expression and

Re: [mapserver-users] replacing layer with different scales.

2012-02-09 Thread Rahkonen Jukka
Hi, Name the real layers as MIPARE_A_CLOSE and MIPARE_A_FAR and then make requests with the grouping layer name layers=MIPARE and it should start to work. -Jukka Rahkonen- ElPer wrote: Hello I need help with the mapfile of the mapserver and I hope you can help me. I want to replace

Re: [mapserver-users] Does Mapserver utilise Spatialite spatial index correctly?

2012-02-10 Thread Rahkonen Jukka
/OGR. Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of Rahkonen Jukka [jukka.rahko...@mmmtike.fi] Sent: Friday, February 10, 2012 9:12 AM To: 'mapserver-users@lists.osgeo.org' Subject: [mapserver-users] Does

Re: [mapserver-users] Does Mapserver utilise Spatialite spatial index correctly?

2012-02-11 Thread Rahkonen Jukka
) Kopio: Rahkonen Jukka; 'mapserver-users@lists.osgeo.org' Aihe: RE: [mapserver-users] Does Mapserver utilise Spatialite spatial index correctly? Selon Lime, Steve D (DNR) steve.l...@state.mn.us: The changeset in OGR is in the spatialite driver so it doesn't look like a program using the OGR

Re: [mapserver-users] Does Mapserver utilise Spatialite spatial index correctly?

2012-02-11 Thread Rahkonen Jukka
. -Jukka- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] k#228;ytt#228;j#228;n Rahkonen Jukka [jukka.rahko...@mmmtike.fi] puolesta Lähetetty: 11. helmikuuta 2012 11:08 Vastaanottaja: Even Rouault; Lime, Steve D

Re: [mapserver-users] Does Mapserver utilise Spatialite spatial index correctly?

2012-02-11 Thread Rahkonen Jukka
Even Rouault wrote: I've commited improvements in GDAL trunk for both points ( http://trac.osgeo.org/gdal/changeset/23944 and http://trac.osgeo.org/gdal/changeset/23945 ) that make the above request go from 1.7 sec to 0.54 sec . I don't think there's any more significant speed gain to

[mapserver-users] Re: [gdal-dev] Re: Unreliable names for temporary files

2012-02-13 Thread Rahkonen Jukka
Even Rouault wrote: Le lundi 13 février 2012 06:22:31, Jukka Rahkonen a écrit : Even Rouault even.rouault at mines-paris.org writes: Le dimanche 12 février 2012 14:25:07, Jukka Rahkonen a écrit : Hi, I noticed a ticket

Re: [mapserver-users] Does Mapserver utilise Spatialite spatial index correctly?

2012-02-14 Thread Rahkonen Jukka
Rahkonen Jukka wrote: Even Rouault wrote: I've commited improvements in GDAL trunk for both points ( http://trac.osgeo.org/gdal/changeset/23944 and http://trac.osgeo.org/gdal/changeset/23945 ) that make the above request go from 1.7 sec to 0.54 sec . I don't think there's any

[mapserver-users] Topology error prevents rendering

2012-02-14 Thread Rahkonen Jukka
Hi, OpenStreetMap data tend to contain topology errors and Mapserver sends an empty map when it finds an error on one layer of a multi-layer map. Cases are like this: msOGRFileNextShape(): OGR error. TopologyException: side location conflict at 1.48639e+006 6.89386e+006 [Tue Feb 14 09:41:37

Re: [mapserver-users] Does Mapserver utilise Spatialite spatial index correctly?

2012-02-15 Thread Rahkonen Jukka
Even Rouault wrote: Le mardi 14 février 2012 09:24:15, Rahkonen Jukka a écrit : Rahkonen Jukka wrote: Even Rouault wrote: I've commited improvements in GDAL trunk for both points ( http://trac.osgeo.org/gdal/changeset/23944 and http://trac.osgeo.org/gdal/changeset/23945

Re: [mapserver-users] (no subject)

2012-02-15 Thread Rahkonen Jukka
Hi, The bounding boxes are bit odd, check the EXTENTS of your mapfile and possibly wms_extent if you have set it. SRSEPSG:32632/SRS LatLonBoundingBox minx=6.54004 miny=35.2168 maxx=19.6148 maxy=47.1372 / BoundingBox SRS= minx=313371 miny=3.93368e+06 maxx=1.31209e+06

[mapserver-users] WMS format=application/openlayers and following image/svg+xml requests

2012-02-16 Thread Rahkonen Jukka
Hi, I can see from the logs that if application/openlayers is selected as WMS outputformat, the simple OpenLayers client will repeat the GetMap request with outputformat image/svg+xml. This works fine and fast with close zoom but leads to time out when zoomed to full extents. Obviously

Re: [mapserver-users] UTF-8 right to left text

2012-02-26 Thread Rahkonen Jukka
Hi, Did you know that the fresh Spatialite-gui (v. 3.0.1) can import data directly from Excel? -Jukka Rahkonen- Ian Walberg wrote: Steve, Many thanks for getting back to me. We have built with that version of fridibi and do get some text labels

Re: [mapserver-users] WMS request not enabled

2012-02-28 Thread Rahkonen Jukka
Hi, There is nothing wrong in your mapfile, only that you do not have any layers in it. I could repeat the behaviour by removing all the layers from my working mapfiles. The error message in misleading. I do not know what message there should be if there are no layers in the service but it

Re: [mapserver-users] WFS version and axis order

2012-03-01 Thread Rahkonen Jukka
Hi, Unfortunately axis order in WFS 1.1.0 (or in GML3) is complicated. I need a second option so I can respond to a customer regarding their concerns of using our WFS services. Their concern is mainly confidence and the ability of moving forward. As you know in the WFS version 1.1 the

[mapserver-users] RGB imagemode creates RGBA tiffs

2012-03-03 Thread Rahkonen Jukka
Hi, I have defined a GeoTIFF outputformat as OUTPUTFORMAT NAME GTiff DRIVER GDAL/GTiff MIMETYPE image/gtiff IMAGEMODE RGB EXTENSION gtif END However, the resulting tiff contains also alpha channel: Band 1 Block=2120x1 Type=Byte, ColorInterp=Red Mask Flags: PER_DATASET ALPHA Band 2

Re: [mapserver-users] RE: WMS for netcdf [SEC=UNCLASSIFIED]

2012-03-05 Thread Rahkonen Jukka
Hi, It would be nice to be able to change some processing directives through variable substitution. Multichannel satellite images are one obvious use case. I have predefined a few most common settings for 7-channel Landsat images as separate mapfiles but it would more convenient and flexible

Re: [mapserver-users] WMS server layer trouble

2012-03-06 Thread Rahkonen Jukka
Hi, Look at the GetCapabilities and see if Mapserver is advertising the layer extents in reasonable way. I have a feeling that QGis is trying to zoom automatically to the layer extents by taking the layer extents and some default resolution and calculating WIDTH and HEIGHT by those too. If

Re: [mapserver-users] Base map data for WMS

2012-03-07 Thread Rahkonen Jukka
Hi, A bit outdated but still super easy way for having a try on Windows http://latuviitta.org/documents/Super_easy_WMS_server.pdf Package is combined from MS4W and mapfiles by Thomas Bonfort. Package will be much better when everything is ready for updating it to contain super fast Spatialite

[mapserver-users] Re: Image resample options

2012-03-08 Thread Rahkonen Jukka
Hi, Tried with mapserver and processing from Yahoo search and first hit leads to http://www.mapserver.org/input/raster.html#special-processing-directives http://www.mapserver.org/development/rfc/ms-rfc-4.html#rfc4 -Jukka Rahkonen- Ian Walberg wrote:

Re: [mapserver-users] Fwd: Constraining WMS output type

2012-03-12 Thread Rahkonen Jukka
Hi, I would have a try by defining a 8-bit png outputformat for img/png MIME type and using wms_getmap_formatlist in the metadata. How have you defined the png8 now in your mapfile? -Jukka Rahkonen- Jan Hartmann wrote: Hi all, Is there a way to restrict

Re: [mapserver-users] Fwd: Constraining WMS output type

2012-03-12 Thread Rahkonen Jukka
END -Jukka Rahkonen- Lähettäjä: Jan Hartmann [j.l.h.hartm...@uva.nl] Lähetetty: 12. maaliskuuta 2012 17:08 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] Fwd: Constraining WMS output type wms-getmap_formatlist

Re: [mapserver-users] HI

2012-03-14 Thread Rahkonen Jukka
Hi, Generally speaking QGis does not make valid mapfiles for Mapserver 6.0. It is using some no more supported styling definitions, it does not enable WMW requests in metadata etc. In your case you can have a try with default point style and leave just COLOR 0 0 255 left in the STYLE. -Jukka

Re: [mapserver-users] Re: Run-time Substitution and Raster file problem

2012-03-17 Thread Rahkonen Jukka
Hi, Start from something simple and try to use DAT with tiff file with %file% and make it to work first. I am pretty sure that is will work. Perhaps there is some trouble with validation or something. If you do not have a luck with RASTER make a similar vector layer and see if you can change

Re: [mapserver-users] Image compression/performance

2012-03-22 Thread Rahkonen Jukka
Stephen Woodbridge wrote: On 3/21/2012 11:18 PM, Ian Walberg wrote: Folks, We are using tif format images and getting good map rendering performance. However the image file size could do with reducing a little. Anyone got experience of what compression options we have that

Re: [mapserver-users] Image compression/performance

2012-03-22 Thread Rahkonen Jukka
[mailto:thomas.bonf...@gmail.com] Lähetetty: 22. maaliskuuta 2012 11:26 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] Image compression/performance On Thu, Mar 22, 2012 at 09:03, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Stephen Woodbridge wrote

[mapserver-users] Re: tinyows - installation problem

2012-03-28 Thread Rahkonen Jukka
Hi, Error seems to say that TinyOWS finds the database but not PostGIS functions from it. What do you get by this SQL query from your database select postgis_version() -Jukka Rahkonen- Neelima Emmani wrote: Hi all, I am trying to install tinyows in my ms4w

Re: [mapserver-users] Validation error (but working!)

2012-04-02 Thread Rahkonen Jukka
Hi, Have a try by using either upper case or lower case everywhere, it may help. -Jukka Rahkonen- Ben Madin wrote: Thanks Thomas, On 02/04/2012, at 4:55 PM, thomas bonfort wrote: if the validation fails, the default_xxx parameter is used instead, which is why no further errors are

Re: [mapserver-users] GetFeatureInfo results: Search returned no results

2012-04-10 Thread Rahkonen Jukka
Hi, Perhaps you do not hit the points? See tolerance and toleranceunits in http://mapserver.org/mapfile/layer.html and set tolerance to quite many pixels for eliminating the possibility that your click just does not hit the target. If that does not help I would have another try by copying the

VS: [mapserver-users] GetFeatureInfo results: Search returned no results

2012-04-10 Thread Rahkonen Jukka
PROJECTION init=epsg:2393 END END -Jukka Rahkonen- Lähettäjä: Neelima Emmani [mailto:neelima.emm...@iictechnologies.com] Lähetetty: 10. huhtikuuta 2012 12:12 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: RE

Re: [mapserver-users] Trouble with spatialite layer

2012-04-19 Thread Rahkonen Jukka
Hi, They are OSM ocean polygons? Can I have a small sample so I could have a try. I have also seen that Mapserver (OGR?) is too strict with data errors, usually it would be better to skip the faulty geometries errors and continue rendering. If you had Windows machine you could test fast

Re: [mapserver-users] RE: Possible bug: Cairo/PDF output labels

2012-04-20 Thread Rahkonen Jukka
Hi, I have never observed such an error with the my Super easy WMS server. You seem to be on Windows so it will be easy for you to make a test install and do some comparisons. Read document http://latuviitta.org/documents/Super_easy_WMS_server.pdf first. -Jukka Rahkonen-

Re: [mapserver-users] Re: pdf vector output in 6.02

2012-04-23 Thread Rahkonen Jukka
Hi, PDF output works for me on Windows (MS4W) but I seem to have problems with Linux and Mapserver 6.0.1 also. This one gives HTTP 500 Internal error message and on the server side there seems to occur a segfault

Re: [mapserver-users] [TinyOWS] No PostGIS available in database

2012-05-02 Thread Rahkonen Jukka
Hi, Increase the log_level to 8 and see from the log file which SQL queries TinyOWS is sending. You can test them with psql for comparison. And I suppose it would be better to remove server=http://127.0.0.1/; because it is not used any more. -Jukka Rahkonen-

Re: [mapserver-users] polygon border artifacts

2012-05-07 Thread Rahkonen Jukka
Hi, Perhaps it is mostly an AGG issue because I think that Mapnik makes similar artifacts too. See Corine landuse polygons here http://www.openstreetmap.org/?lat=60.820709lon=27.201925zoom=18layers=M Sea areas do not have artifacts in OSM because sea is just background colour and is is not

Re: [mapserver-users] multiple transparent colours

2012-05-09 Thread Rahkonen Jukka
Hi, Perhaps you cannot literally set a colour as transparent in a tiff but for sure you can define a nodata value and then applications can make nodata pixels transparent. That is the most normal way to do it with Mapserver and OFFSITE. I believe that Mapserver does not even care if tiff has

Re: [mapserver-users] multiple transparent colours

2012-05-09 Thread Rahkonen Jukka
. Any thoughts on this? Should I create a ticket for something like this? -Steve W On 5/9/2012 9:36 AM, Rahkonen Jukka wrote: Hi, Perhaps you cannot literally set a colour as transparent in a tiff but for sure you can define a nodata value and then applications can make nodata

Re: [mapserver-users] Re: polygon border artifacts

2012-05-10 Thread Rahkonen Jukka
Hi, Perhaps PNG8 does not have enough many colours for showing the artifacts? -Jukka Rahkonen- Lime, Steve wrote: I'm unable to recreate the artifact with a simple test case though so I'm not exactly sure what's going wrong. This mapfile defines a couple of overlapping polygons and there

Re: [mapserver-users] Force_2d does not exist

2012-05-12 Thread Rahkonen Jukka
Hi, See http://trac.osgeo.org/mapserver/ticket/4186 and try legacy.sql as first aid. -Jukka Rahkonen- abhishek bansal wrote: Hello All, I am trying to display a simple shape file from postgis database but error log keep giving me this. [Sat May 12 15:47:53 2012].968000 CGI Request 1 on

Re: [mapserver-users] convert projection from UTM to WGS84 using proj

2012-05-21 Thread Rahkonen Jukka
Hi, Ogr2ogr is your tool for converting shapefiles. There must be something wrong in the predefined EPSG parameteres. Give projections as +proj strings and you will have a full control over what happens. An example about conversion from EPSG:2393 into EPSG:3067 ogr2ogr -f ESRI Shapefile

Re: [mapserver-users] Mapserver as cascading WMS for ArcGIS Rest?

2012-05-24 Thread Rahkonen Jukka
Hi, It might be possible to do through GDAL WMS driver. I do not know what ArcGIS MapServer Tiles are but they sound somehow promising. http://www.gdal.org/frmt_wms.html -Jukka Rahkonen- Alan Boudreault wrote: I don't think so. MapServer only allows

Re: [mapserver-users] Mapserver as cascading WMS for ArcGIS Rest?

2012-05-24 Thread Rahkonen Jukka
/GDAL_WMS -Jukka Rahkonen- Lähettäjä: Rahkonen Jukka Lähetetty: 24. toukokuuta 2012 18:28 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] Mapserver as cascading WMS for ArcGIS Rest? Hi, It might be possible to do through GDAL WMS

Re: [mapserver-users] On a wms-request force the add of a layer when another layer is requested

2012-05-29 Thread Rahkonen Jukka
Hi, Layer2 should come always together with Layer1 If you put this line in Layer2 definitions REQUIRES [Layer1] Without testing I cannot guarantee that I remember it right. For me the logic of keyword REQUIRES feels reversed because my brain says that Layer2 is rather required by Layer1.

Re: [mapserver-users] optimize raster for mapserver - gdal geoTIFF source

2012-05-29 Thread Rahkonen Jukka
Hi, 1) I am using average and our users have not complaint. But it is simple to test, you can create external overviews with -ro switch and try all the alternatives within on hour or faster. It will be nice to read about your experience. Take some timings too. 2) Jpeg in tiff suits pretty

Re: [mapserver-users] On a wms-request force the add of a layer when another layer is requested

2012-05-29 Thread Rahkonen Jukka
visible is: Layer1 + Layer2 Thx, Andrea. 2012/5/29 Rahkonen Jukka jukka.rahko...@mmmtike.fimailto:jukka.rahko...@mmmtike.fi Hi, Layer2 should come always together with Layer1 If you put this line in Layer2 definitions REQUIRES [Layer1] Without testing I cannot guarantee that I remember it right

Re: [mapserver-users] Restricted WMS access

2012-05-30 Thread Rahkonen Jukka
Hi, For simple needs you can configure Apache to use http basic authentication and make it to require https. http://httpd.apache.org/docs/2.0/howto/auth.html Setting basic authentication is simple but it does not give any real security without configuring Apache to use https instead of http.

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