Re: [mapserver-users] tinyows

2012-11-13 Thread Rahkonen Jukka
Hi, On this page there are some WFS calls which do work against my TinyOWS server http://188.64.1.61/cgi-bin/tinyows. Feel free to use it for testing. http://latuviitta.org/Http-POST-ja-Filter.php A very easy to use tool for testing POST requests is the Poster Firefox extension. This image

[mapserver-users] Can I control laber FORCE [true|false] with SLD?

2012-11-13 Thread Rahkonen Jukka
Hi, Our users are generally happy with non-overlapping labels but sometimes they would rather see all the labels. Can it be controlled with SLD_BODY or do I need to do a separate layer for drawing all the labels? We can turn the default labels off with SLD so for users eyes the result would

Re: [mapserver-users] tinyows

2012-11-09 Thread Rahkonen Jukka
you will have success with it. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: aho [mailto:forum.emai...@googlemail.com] Lähetetty: 9. marraskuuta 2012 11:27 Vastaanottaja: sdi...@volz.ua Kopio: Rahkonen Jukka; mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] tinyows

Re: [mapserver-users] tinyows

2012-11-02 Thread Rahkonen Jukka
Hi, You must capture the traffic between OpenLayers and TinyOWS. I am using myself Fiddler2 proxy but I suppose that Firebug can show you what OpenLayers is sending and high enough TinyOWS logging level will also gather requests into tinyows log. The software is not important but you just

Re: [mapserver-users] tinyows

2012-11-02 Thread Rahkonen Jukka
, schrieb Rahkonen Jukka: Hi, You must capture the traffic between OpenLayers and TinyOWS. I am using myself Fiddler2 proxy but I suppose that Firebug can show you what OpenLayers is sending and high enough TinyOWS logging level will also gather requests into tinyows log. The software

Re: [mapserver-users] Saving an image from a query

2012-10-30 Thread Rahkonen Jukka
Hi, Perhaps wget thinks that certain characters are cutting the URL string. Try wget http://mysite.com/mapserv.cgi?map=../../mapfiles/demo.maplayer=landmode=mapFORMAT=image/png; -O output.png We have used wget a lot for downloading data from WCS so I guarantee you will make it work by

Re: [mapserver-users] WCS server, getcoverage request fail

2012-10-26 Thread Rahkonen Jukka
Hi, First thing is that BBOX seems odd but perhaps it is a typo BBOX=2168000,7716750,77,%205447750 -Jukka Rahkonen- Luca Delucchi wrote: Hi everybody, I'm testing WCS server with MapServer 6.0 compiled from svn in a Debian system. GetCapabilities and DescribeCoverage works fine;

Re: [mapserver-users] WCS server, getcoverage request fail

2012-10-26 Thread Rahkonen Jukka
) and not studied if I could adjust the server it to send bigger files. -Jukka- Luca Delucchi wrote: 2012/10/26 Rahkonen Jukka jukka.rahko...@mmmtike.fi: Hi, Hi First thing is that BBOX seems odd but perhaps it is a typo BBOX=2168000,7716750,77,%205447750 ops sorry I didn't see it. Now

Re: [mapserver-users] Problem with WFS Intersects filter on oraclespatial datasource

2012-10-25 Thread Rahkonen Jukka
Ludovic Gnemmi wrote: Hi List, I always look for an explanation for my problem: Checking deeper in my logs i have found out that : - When using wfs gml:Polygon filter requests, polygon geometry is not passed to oracle SQL query. Mapserver simply send default layer extent to oracle.

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

2012-10-25 Thread Rahkonen Jukka
Hi, Perhaps you have not added ows_enable_request * into your mapfile. Search and read the migration guide if this happens to be the reason for the trouble. Mapserver web site should be updated at least. -Jukka Rahkonen- Mike Stoddart wrote: I'm using

Re: [mapserver-users] Style paramter of WMS request

2012-10-23 Thread Rahkonen Jukka
Hi, I have never cascaded any WMS service that supports styles but according to Mapserver WMS client documentation you have done it right. You must first capture the requests that Mapserver is really sending to the remote server. That is easy, just add line DEBUG 5 into your layer definitions

Re: [mapserver-users] postgis - geomfromtext problem

2012-10-15 Thread Rahkonen Jukka
Hi, Perhaps running legacy.sql in your new database will be enough. http://www.postgis.org/docs/PostGIS_FAQ.html#legacy_faq -Jukka Rahkonen- Ahmet Temiz wrote: hello I upgraded my postgis to 2.1.0. But this version of postgis doesn't accept geomfromtext (instead ST_GeomFromText only

Re: [mapserver-users] MapCache - received wms request with no service param

2012-10-15 Thread Rahkonen Jukka
Hi, Service is not a compulsory parameter for GetMaps. See an old issue at https://github.com/mapserver/mapserver/issues/2737 -Jukka Rahkonen- Mark Volz wrote: TC Haddad and others, I tried manually modifying the URL within ArcMap to include SERVICE=WMS so I can use MapCache within ArcMap.

Re: [mapserver-users] WFS fails if table name includes a dot character

2012-10-10 Thread Rahkonen Jukka
Puneet Kishor wrote: On Oct 9, 2012, at 7:51 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, It may be an odd idea to use dots in table/feature type names, but because I made such a test and faced a problem so I report it here. Source table is in PostGIS and its name is dot.test

[mapserver-users] WFS fails if table name includes a dot character

2012-10-09 Thread Rahkonen Jukka
Hi, It may be an odd idea to use dots in table/feature type names, but because I made such a test and faced a problem so I report it here. Source table is in PostGIS and its name is dot.test. WFS DescribeFeatureType leads to following error [Tue Oct 9 10:56:02 2012].214191

[mapserver-users] [TinyOWS] Problem with attribute names with dots

2012-10-08 Thread Rahkonen Jukka
Hi, I made a test layer with dots in feature type name and in an attribute name. The following request leads to an error. POST http://188.64.1.61/cgi-bin/tinyows HTTP/1.1 Content-Type: text/xml User-Agent: Jakarta Commons-HttpClient/3.0-beta1 Host: 188.64.1.61 Connection: Keep-Alive

Re: [mapserver-users] text size from field but with an expression

2012-10-07 Thread Rahkonen Jukka
Hi, This works for sure for me: DATA select geometry,osm_id,amenity,aeroway, name from osm_polygon where amenity is not null or aeroway='apron' Perhaps you do not need anything else than DATA select id,the_geom,field1+10 as field1, field2 from mytable -Jukka Rahkonen-

Re: [mapserver-users] Cairo SVG PDF output

2012-10-03 Thread Rahkonen Jukka
Hi, It feels like it could be useful to have for example something like FORMATOPTION DPI=xxx that could be used when defining PDF outputformat http://www.mapserver.org/mapfile/outputformat.html#outputformat I am not sure what GDAL configuration option GDAL_PDF_DPI is doing but perhaps it is

Re: [mapserver-users] Map file keyword dictionary

2012-10-03 Thread Rahkonen Jukka
Hi, Perhaps this XML mapfile schema is up-to-date http://trac.osgeo.org/mapserver/attachment/ticket/2872/mapfile-schema-0.0.6.xsd -Jukka Rahkonen- Mike Saunt wrote: Hi All Can anyone point me to a list of ALL keywords used within a mapfile? Looking at

Re: [mapserver-users] MapServer and shapefile

2012-10-02 Thread Rahkonen Jukka
Hi, Because you talk about base layer I think that you are perhaps going to show your map in OpenLayers. If that is the case then the answer is yes and this OpenLayers example shows how it can be done. http://dev.openlayers.org/releases/OpenLayers-2.12/examples/wms-untiled.html On the Mapserver

Re: [mapserver-users] MapServer and shapefile

2012-10-02 Thread Rahkonen Jukka
? Fabio Da: Rahkonen Jukka jukka.rahko...@mmmtike.fi A: mapserver-users@lists.osgeo.org mapserver-users@lists.osgeo.org Inviato: Martedì 2 Ottobre 2012 9:05 Oggetto: Re: [mapserver-users] MapServer and shapefile Hi, Because you talk about base layer I think that you

Re: [mapserver-users] [gdal-dev] Gdaltindex with -t_srs and Mapserver

2012-09-27 Thread Rahkonen Jukka
- -Alkuperäinen viesti- Lähettäjä: Etienne Tourigny [mailto:etourigny@gmail.com] Lähetetty: 27. syyskuuta 2012 15:27 Vastaanottaja: Rahkonen Jukka Kopio: gdal-...@lists.osgeo.org Aihe: Re: [gdal-dev] Gdaltindex with -t_srs and Mapserver Jukka, nice that you noticed this new feature I added

[mapserver-users] GetFeatureInfo text/plain example in the WMS server document

2012-09-24 Thread Rahkonen Jukka
Hi, I believe that the text/plain GetFeatureInfo example is supposed to return the same information as text/html and gml examples. However, it does not return the city name and popolation Document page http://mapserver.org/ogc/wms_server.html text/plain

Re: [mapserver-users] some questions regarding getFeatureInfo, SLD, PostGIS

2012-09-21 Thread Rahkonen Jukka
Hi, So you have tried to define variables %SEX% and %BOD_ID%, used them inside your DATA and then fired WMS GetMaps by adding SEX=your_valueBOD_ID=your_id? Does in not work or why it is not powerful enough? -Jukka Rahkonen- Julien Cigar wrote: Hello, I'm using Mapserver 6.0.1 with the

Re: [mapserver-users] some questions regarding getFeatureInfo, SLD, PostGIS

2012-09-21 Thread Rahkonen Jukka
to a non matching value when you don't want the join, etc. SQL is more powerful than any template language. Mike On 9/21/12 7:07 AM, Julien Cigar jci...@ulb.ac.be wrote: On 09/21/2012 12:50, Rahkonen Jukka wrote: Hi, Hello, So you have tried to define variables %SEX

Re: [mapserver-users] [WFS-client] geometry name

2012-09-20 Thread Rahkonen Jukka
Hi, That's very limiting. I think that none of the more than 80 feature types on my server is using name Geometry. suggest you to file a ticket about making this configurable. -Jukka Rahkonen- Yves Jacolin wrote: Hello, Ok I find the answer: Geometry column name is hardcoded in

Re: [mapserver-users] [TinyOWS] Broken config using a MAPFILE?

2012-09-19 Thread Rahkonen Jukka
Hi, At least you will have some troubles with your extents which do not match with your output projection EXTENT -180 -90 180 90 UNITS DD This may or may not be the reason for the failure but correct it anyway to use meters and the extents of your data. I can also see that your Box is

Re: [mapserver-users] [TinyOWS] Broken config using a MAPFILE?

2012-09-19 Thread Rahkonen Jukka
Hi, I wonder why OpenLayers is sending request for wfs:Query typeName=feature:areas while I suppose that the typeName is actually mtl:areas. However, it looks like TinyOWS does not care about featuretype namespace at all. This request works as it should

Re: [mapserver-users] [TinyOWS] Broken config using a MAPFILE?

2012-09-19 Thread Rahkonen Jukka
Olivier Courtin wrote: On Wed, Sep 19, 2012 at 4:47 PM, Rahkonen Jukka jukka.rahko...@mmmtike.fimailto:jukka.rahko...@mmmtike.fi wrote: Hi Jukka I wonder why OpenLayers is sending request for wfs:Query typeName=feature:areas while I suppose that the typeName is actually mtl:areas. Dunno

Re: [mapserver-users] Fw: mapserver binary for CentOS?

2012-09-06 Thread Rahkonen Jukka
The easy way to install Mapserver on Windows is not the IISy way :) Use MS4W with included Apache instead http://maptools.org/ms4w/index.phtml -Jukka Rahkonen- Saka Royban wrote: So, if i want not install anything on the server, i have to switch to a windows sever, i.e. IIS. In IIS, i think

Re: [mapserver-users] TinyOWS 0.9 Problem in windows 7

2012-09-06 Thread Rahkonen Jukka
Hi, Do not use OpenLayers for testing, use something that you can control. What do you get back if you send these basic WFS requests with a browser: http://127.0.0.1/cgi-bin/tinyows.exe?service=WFSversion=1.0.0request=GetCapabilities

Re: [mapserver-users] TinyOWS 0.9 Problem in windows 7

2012-09-06 Thread Rahkonen Jukka
= 491007.937500,5458904.50 491243.00,5459214.00/gml:coordinates/gml:Box/gml:boundedBy/wfs:FeatureCollection On Thu, Sep 6, 2012 at 1:23 PM, Rahkonen Jukka jukka.rahko...@mmmtike.fimailto:jukka.rahko...@mmmtike.fi wrote: Hi, Do not use OpenLayers for testing, use something that you can

Re: [mapserver-users] TinyOWS 0.9 Problem in windows 7

2012-09-06 Thread Rahkonen Jukka
Hi, I can see that WFS-T did not work for me in May and I cannot see any more fresh TinyOWS versions for Windows since then so I fear it may not work. http://lists.maptools.org/pipermail/ms4w-users/2012-May/002001.html Instead of OpenLayers try editing with Quantum GIS first. If edits fail with

Re: [mapserver-users] Still impossible to force labels inside their polygons?

2012-09-04 Thread Rahkonen Jukka
-Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users- boun...@lists.osgeo.org] On Behalf Of Rahkonen Jukka Sent: Tuesday, September 04, 2012 9:17 AM To: 'Mapserver-Users (mapserver-users@lists.osgeo.org)' Subject: [mapserver-users] Still impossible to force

Re: [mapserver-users] Still impossible to force labels inside their polygons?

2012-09-04 Thread Rahkonen Jukka
positions. The mid-point of the longest y sample is used. It's always trade-off with speed and the above seems a happy medium. Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Rahkonen Jukka Sent

[mapserver-users] [TinyOWS] DefaultMaxFeatures missing from WFS 1.1.0 GetCapabilities

2012-08-29 Thread Rahkonen Jukka
Hi, It is possible to set WFS maxFeatures on server side with tinyows ... limits features=1 / ... /tinyows However, this setting is not announced in the WFS 1.1.0 GetCapabilities According to standard it belongs to Operations metadata (table 7b, page 86 in WFS 1.1.0 standard somehow

[mapserver-users] [TinyOWS] OtherSRS configuration element missing

2012-08-28 Thread Rahkonen Jukka
Hi, TinyOWS supports using all the same projection codes than PostGIS as srsName parameter in GetFeature requests. However, it is advertising only the DefaultSRS in the GetCapabilities and I cannot find a configuration element for adding extra projections in a standard WFS 1.1.0 way as

Re: [mapserver-users] Mapserver doesn't work as WMS-Client. Debian version 6.0.1-3.1 (Debian wheezy).

2012-08-27 Thread Rahkonen Jukka
Hi, Works for me with MS4W and Mapserver 6.2 beta2 after changing wms_server_version 1.3.0 into wms_server_version 1.1.1 I could not manage to get the invalid layers error and the too high version error was on plain understandable text. It would be easier to read the logs and responses

Re: [mapserver-users] Mapserver doesn't work as WMS-Client. Debian version 6.0.1-3.1 (Debian wheezy).

2012-08-27 Thread Rahkonen Jukka
with Mapserver 6.0.0 on Windows with WMS 1.1.1. -Jukka Rahkonen- Pablo Diaz wrote: Thank you Rahkonen, but I tryed two options and It doesn't run well. The pnoa server runs well, because I checked it with desktop gis. Thanks. 2012/8/27 Rahkonen Jukka jukka.rahko...@mmmtike.fimailto:jukka.rahko

Re: [mapserver-users] still have problem when add postgis layer on mapserver mapfile

2012-08-26 Thread Rahkonen Jukka
Hi, - This may be a typo: NAME places1 DATA geometry from osm_new_mainroads using unique osm_id using srid 3785 TYPE POINT Or do you really have your places are in osm_new_mainroads table. - Then it is a good habit to have PROJECTION block in both the MAP block and for each LAYER. - It is

Re: [mapserver-users] Export map into pdf

2012-08-22 Thread Rahkonen Jukka
Hi, Define pdf as one of the outputformats. http://www.mapserver.org/mapfile/outputformat.html I am not sure how to make nice prints with legends and logos and such, but the map itself is easy to push into pdf with no extra work at all. Note that it can be geospatial pdf with coordinates

Re: [mapserver-users] Tile Index Issues

2012-08-22 Thread Rahkonen Jukka
Hi, I have a feeling that I had problems with vector tile index and native Mapserver connection. For some reason I have changed our mapfiles to connect with OGR. Anyway, now when I had a try, both are working. Perhaps I had some issues with GetFeatureInfo and not with GetMaps. I have created

[mapserver-users] Are WMS GetFeatureInfo results ordered by distance?

2012-08-17 Thread Rahkonen Jukka
Hi, What results will be selected if GetFeatureInfo finds more features within the tolerance than used as FEATURE_COUNT parameter? Are they selected by distance are they just the first hits? If they were ordered by distance then GetFeatureInfo could be used for finding N nearest features

Re: [mapserver-users] The GetFeatureInfo return a GML without a validation schema.

2012-08-13 Thread Rahkonen Jukka
. -Jukka Rahkonen- 2012/8/10 Rahkonen Jukka jukka.rahko...@mmmtike.fi Hi,   DescribeFeatureType is compulsory part of WSF so it is no wonder that it works automatically.   I try to think what could be done. DecribeFeatureType must match with WFS GetFeature. It you would like to use DFT

Re: [mapserver-users] The GetFeatureInfo return a GML without a validation schema.

2012-08-10 Thread Rahkonen Jukka
Hi, Would it work as you hope if the creation option XSISCHEMAURI could be set as described in the OGR GML driver page http://gdal.org/ogr/drv_gml.html? XSISCHEMAURI: If provided, this URI will be inserted as the schema location. Note that the schema file isn't actually accessed by OGR, so it

Re: [mapserver-users] The GetFeatureInfo return a GML without a validation schema.

2012-08-10 Thread Rahkonen Jukka
on the WFS section will produce automatically an xsd of the GML it return using the DescribeFeatureType request. I hope to find a solution to have this automatically produce also on the GetFeatureInfo. 2012/8/10 Rahkonen Jukka jukka.rahko...@mmmtike.fimailto:jukka.rahko...@mmmtike.fi Hi, Would

Re: [mapserver-users] Spatialite tables with multiple geometry columns

2012-08-04 Thread Rahkonen Jukka
Hi, I can't test myself right now because I cannot access gisinternals.com for getting a fresh Windows build. However, I for using geom2 of a multigeom table would try with DATA 'SELECT geom2,attr1,attr2 FROM table' You can also create a spatial view which selects geom2 on the Spatialite

Re: [mapserver-users] Using spatialite with mapserver

2012-08-03 Thread Rahkonen Jukka
its work without generate no map. No error log report is write. Perhaps there is a setting to say how much memory mapserver (or ogr) must use for resultset from DB ? Thx. 2012/8/2 Rahkonen Jukka jukka.rahko...@mmmtike.fimailto:jukka.rahko...@mmmtike.fi Hi again, Tried what ogrinfo sees in case

Re: [mapserver-users] Using spatialite with mapserver

2012-08-02 Thread Rahkonen Jukka
Hi, The SELECT alternative works fine for me but I do not have multiple geometries. I made a very fast test on Spatialite side and it seems to be possible to run Recover geometry column and Create spatial index for multiple geometries but I did not test the result with Mapserver. I would

Re: [mapserver-users] Using spatialite with mapserver

2012-08-02 Thread Rahkonen Jukka
#228;n Rahkonen Jukka [jukka.rahko...@mmmtike.fi] puolesta Lähetetty: 3. elokuuta 2012 0:46 Vastaanottaja: Andrea Peri; mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] Using spatialite with mapserver Hi again, Tried what ogrinfo sees in case of two geometries. It does not look good

Re: [mapserver-users] Re-Projections

2012-07-30 Thread Rahkonen Jukka
Hi, Of course it works and you should be able to make configurations by following this document http://mapserver.org/ogc/wms_server.html#setting-up-a-wms-server-using-mapserver -Jukka Rahkonen- Sowmya Tiramdasu wrote: Hi All, I have a scenario for

Re: [mapserver-users] ArcInfo Grid with MapServer

2012-07-23 Thread Rahkonen Jukka
Hi, STATUS OFF means that the layer is turned off. DEFAULT sets it to be allways ON and STATUS ON means it can be on or off depending from your request. Byt the way, how does your request look like? -Jukka Rahkonen- Lähettäjä:

Re: [mapserver-users] offset line more of a scribble then a line

2012-07-21 Thread Rahkonen Jukka
Hi, I know why it happens but I do not know a general solution for making it look better. The coast line is splitted in short linestrings (max 2000 nodes it it is OpenStreetMap data) and offset is calculated individually for each line by using a perpendicular displacement for each vertex. If

Re: [mapserver-users] Remote map server - data tweaking

2012-07-05 Thread Rahkonen Jukka
Hi, Check this TinyOWS example http://mapserver.org/trunk/tinyows/openlayershowtotransactional.html However, from what I know Qgis does not load all the features but only those which intersect the map window. Open attribute table seems to read the attributes from the whole table but for

Re: [mapserver-users] MS4W mapcache

2012-07-05 Thread Rahkonen Jukka
Hi, Have you tried MS4W 6.1-dev? It should come with Mapcache. http://www.maptools.org/ms4w/index.phtml?page=downloads.html -Jukka Rahkonen- scott159 wrote: Hi, I would like to use mapcache with package MS4W. Where I could find dll to use it ?

Re: [mapserver-users] slow access to PostGIS layer

2012-06-28 Thread Rahkonen Jukka
Hi, Is the spatial index OK? There is the bounding box query happening too, not just select geometry from my_table. -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] käyttäjän G. Allegri

Re: [mapserver-users] Curved Lines

2012-06-27 Thread Rahkonen Jukka
Hi, The question, if I understand is correctly, is relevant. In EPSG:4326 shortest distance between two points is better expressed as a curve than as a straight linestring. However, Mapserver does not support curves of any kind. You may find some workaround from GDAL. Ogr2ogr is having a

Re: [mapserver-users] Grouping WFS Layers to Output One GML file

2012-06-26 Thread Rahkonen Jukka
- Lähettäjä: Donald Kerr [donald.k...@dkerr.co.uk] Lähetetty: 26. kesäkuuta 2012 11:46 Vastaanottaja: Rahkonen Jukka; 'MAPSERVER USERS' Aihe: RE: [mapserver-users] Grouping WFS Layers to Output One GML file I need some further help if possible. I have got

Re: [mapserver-users] newbie just getting a blank page

2012-06-26 Thread Rahkonen Jukka
Hi, You do not ask for any layer. Add STATUS DEFAULT to your layer or add layers=all into your request. Unfortunately, even your mapfile is short is has many other errors and outdated stuff. Where did you take an example when you wrote it? We should absolutely have some guaranteed correct

Re: [mapserver-users] QGIS WEB Client / Qgis Server

2012-06-25 Thread Rahkonen Jukka
Hi, Ask from Qgis users mailing list about Ggis Mapserver, this MapServer is a different project. -Jukka Rahkonen- Kadu Machado wrote: Hi folks I have a little issue with Qgis WebClient over Windows When I access the qgis web client, the layers and

Re: [mapserver-users] Grouping WFS Layers to Output One GML file

2012-06-25 Thread Rahkonen Jukka
Hi, Have you tried what happens if you give a list of layers as typename? This should send you some data from TinyOWS http://188.64.1.61/cgi-bin/tinyows?service=WFSversion=1.0.0request=Getfeaturetypename=lv:puolilehti_25t,lv:puolilehti_50t -Jukka Rahkonen-

Re: [mapserver-users] Mapfile Variables

2012-06-19 Thread Rahkonen Jukka
Hi, My shortish answer is that have a try with INCLUDE. If you had STYLE WIDTH 10 OUTLINEWIDTH 1 OUTLINECOLOR #24277A END STYLE WIDTH 10 COLOR #4F719D END try changing it to STYLE WIDTH 10 OUTLINEWIDTH 1

Re: [mapserver-users] File size of generated PNG

2012-06-09 Thread Rahkonen Jukka
Hi, Have you already tried quantize and compression options from http://www.mapserver.org/mapfile/outputformat.html? The png8 example is a good starting point. How does your current png outputformat look? -Jukka Rahkonen- Jackey Cheung wrote: Some background

Re: [mapserver-users] Run-time substitution

2012-06-09 Thread Rahkonen Jukka
Hi, I fear that only ascii characters can be used for validation. For us who need to use also non-ascii characters validation can be set to . which accepts everything, so no validation at all. -Jukka Rahkonen- Lähettäjä:

Re: [mapserver-users] ecw problems

2012-06-05 Thread Rahkonen Jukka
Hi, First thing to try is to save what you believe is mapserv.exe on a disk and open it as a text file. Most probably it is some sort of error message. -Jukka Rahkonen- stefano parodi wrote: Hi all. I'm setting up a new mapserver application on Windows 2008

Re: [mapserver-users] MapCache - A way to delete a whole zoom level ?

2012-06-04 Thread Rahkonen Jukka
Hi, Just guessing without knowing anything about Berkeley DB, but if it is like other databases it would probably need vacuuming after delete before it really frees any disk space. And if you do mass delete and Berkeley DB behaves even closely similarly than SQLite, vacuuming may be extremely

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.

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

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

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

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

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

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

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

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