Re: [mapserver-users] Mapserver 6.2.1 fails to read remote WMS in png format

2013-04-25 Thread Rahkonen Jukka
the image/png request captured from the logs work from the server > machine (using wget for instance)? Does it return a valid PNG image? > > 2- Save the output of that request with a command such as "wget https://... - > O /tmp/test.png" and try running gdalinfo on the outp

[mapserver-users] Mapserver 6.2.1 fails to read remote WMS in png format

2013-04-25 Thread Rahkonen Jukka
Hi, I was testing Mapserver 6.2.1 from the MS4W 3.0.1beta-1 installation and thought that there was something wrong with the connection. However, the problem seems to be in Mapserver side. I have been using &FORMAT=image/png for reading the remote WMS with Mapserver 6.0.1 but with MS 6.2.1 it

Re: [mapserver-users] GetFeatureInfo encoding with HTML template...

2013-04-24 Thread Rahkonen Jukka
Hi, The same http header works for me as I do not understand why it does not work for you. What Mapserver do you use? Are you sure that you edit the right file? May sound stupid but it has happened to me often. -Jukka Rahkonen- Paul james wrote: Hello... I´m using a SQL Server

Re: [mapserver-users] Something wrong with Spatialite

2013-04-24 Thread Rahkonen Jukka
Jeff McKenna wrote > > On 2013-04-21 6:17 PM, Rahkonen Jukka wrote: > > Hi, > > > > I can't get Spatialite views or SQL selects to work as data source with > > recent > Mapserver versions. I created an issue and made a simple test database and > correspon

Re: [mapserver-users] MapCache and WMS source with Basic Auth

2013-04-23 Thread Rahkonen Jukka
d, written as username,password -> encodes to dXNlcm5hbWUscGFzc3dvcmQ=, so the full configuration for this login will be: Basic dXNlcm5hbWUscGFzc3dvcmQ= Matrin 2013/4/12 Rahkonen Jukka mailto:jukka.rahko...@mmmtike.fi>> Hi, Is it possible to configure Mapcache to use a WMS source

Re: [mapserver-users] Any way for WFS-T with SQL Server?

2013-04-23 Thread Rahkonen Jukka
Hi, TinyOWS supports only PostGIS and you can't do WFS-T against your SQL Server with Mapserver family. Try Geoserver instead http://docs.geoserver.org/stable/en/user/data/database/sqlserver.html -Jukka Rahkonen- Saka Royban wrote: Hi all. I've asked this question in MS4W mailing list but i

Re: [mapserver-users] Announcing MapServer 6.2.1

2013-04-21 Thread Rahkonen Jukka
Hi, I tried MS4W 3.1.0 beta1 and found a nasty bug in GDAL 1.10 for us who use Mapserver with Spatialite http://trac.osgeo.org/gdal/ticket/5060 I hope that MS4W 3.1.0 release will contain GDAL 1.10.1 or a patched GDAL 1.10. -Jukka Rahkonen- Jeff McKenna wrote: > > On 2013-04-20 1:27 PM, Jeff M

Re: [mapserver-users] Error on click

2013-04-21 Thread Rahkonen Jukka
Hi, You ask "What is this? and my answer is that it is an impolite request for help because you do not tell us anything at all about what you have been trying. However, I guess that you have a book "Beginning Mapserver: Open Source GIS Development" from year 2005. Your problem may be related t

[mapserver-users] Something wrong with Spatialite

2013-04-21 Thread Rahkonen Jukka
Hi, I can't get Spatialite views or SQL selects to work as data source with recent Mapserver versions. I created an issue and made a simple test database and corresponding mapfile for if someone wants to make a test in different environment. I was testing with the brand new MS4W 3.1.0-beta1. Th

Re: [mapserver-users] WFS on a view from a spatialite source

2013-04-13 Thread Rahkonen Jukka
Hi, I made some trials too. I used two different Windows binaries - MS4W with gdal18.dll (2011-08-12) and Mapserver 6.0.1 - binaries from gisinternals including gdal110dev.dll (2013-03-24) and Mapserver 6.3dev Spatialite database was of version 3.0 and created with Spatialite-gui 1.5.0 When I u

[mapserver-users] MapCache and WMS source with Basic Auth

2013-04-12 Thread Rahkonen Jukka
Hi, Is it possible to configure Mapcache to use a WMS source which is using http Basic authentication through https? Are there some hidden/undocumented parameters for that or would it work simply by giving the service URL as https://user:passw...@vmap0.tiles.osgeo.org/wms/vmap0 -Jukka Rahkone

Re: [mapserver-users] How use the filteritem with a ogr spatialite db

2013-04-04 Thread Rahkonen Jukka
x27; > but it don't work. > So it need not only a text field but a text field starting with a character. > Very rarely situation in our primarykey fields. :( > Thx for support, Andrea. 2013/4/4 Rahkonen Jukka mailto:jukka.rahko...@mmmtike.fi>> Hi Andrea, Could you ma

Re: [mapserver-users] How use the filteritem with a ogr spatialite db

2013-04-04 Thread Rahkonen Jukka
Hi Andrea, Could you make test by using something else than '9%' as variable default value, for example 'K9%'? We have had troubles with selecting atrribute values like "04.186.1.004" with SLD_BODY. We had to update the attributes into "K04.186.1.004" for making filtering to work. Obviously M

Re: [mapserver-users] output issues (malformed template name)

2013-04-04 Thread Rahkonen Jukka
Hi, The immediate reason for the error is that you do not have a referred template file in your system TEMPLATE 'fooOnlyForWMSGetFeatureInfo' For correcting this error you must change TEMPLATE to refer to something that exists. The template file must contain at least the magic string 'mapserve

Re: [mapserver-users] WFS Server Layer styles not displaying

2013-03-27 Thread Rahkonen Jukka
s styles. > I think I would I use this to create SLD's for all my layers and then apply it on client side. Murad -----Original Message- From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] Sent: Wednesday, 27 March 2013 4:25 PM To: Murad Jamal; mapserver-users@lists.osgeo.org Sub

Re: [mapserver-users] WFS Server Layer styles not displaying

2013-03-26 Thread Rahkonen Jukka
Hi, If I understood right you are using Mapserver as a WFS server and and you await that your WFS client, for example QGis, shows the layer with similar styles than it shows the same Mapserver layer through WMS. WMS and WFS are very different things. WFS sends pure data in XML format and there

Re: [mapserver-users] [tinyOWS]Trouble with feature insertion

2013-03-22 Thread Rahkonen Jukka
Hi, If you are on Windows you may not success. At least the version which is available for MS4W has a bug and it does not do inserts. One error I can see in your request is that it is using geometry in GML2 style with WFS 1.1.0. I would be at least a good habit to use gml:pos there. This insert

Re: [mapserver-users] How to prepare a MapServer WMS?

2013-03-19 Thread Rahkonen Jukka
Hi, It is quite well documented here http://mapserver.org/ogc/wms_server.html -Jukka Rahkonen- Marco Araujo wrote: > Hello everyone, > Can anyone guide me to build a MapServer WMS? > As I do, scripts, etc.. > Already have successfully running MapServer CGI. >

Re: [mapserver-users] Open Street Map - Map Files

2013-03-15 Thread Rahkonen Jukka
Hi, I made once a document and a complete download package. Both of them would need some updates but if you follow the instructions you should have a service running within 10 minutes. Document is here and it contains links for other downloads http://latuviitta.org/documents/Super_easy_WMS_ser

Re: [mapserver-users] Mapfile with different CRS

2013-03-10 Thread Rahkonen Jukka
Hi, Server URL for GetCapabilities is http://geoposer.com:443/server/services/osm.xml?service=WMS=version=1.1.1&request=GetCapabilities If you check the response you will see that the GetMap URL is http://data1.geoposer.com:443/server/services/request.php?jname=/wms.img Use that as your CONNECT

Re: [mapserver-users] Connection to SpatiaLite utilizing SQL

2013-02-22 Thread Rahkonen Jukka
Hi, I checked my mapfiles and I have been using CONNECTIONTYPE OGR CONNECTION "\ms4w\data\OSM_Suomi_20120213.sqlite" PROCESSING "CLOSE_CONNECTION=DEFER" DATA "select geometry, osm_id ,place , name from osm_point where place is not null" Nothing so much different than what you have. The error you

Re: [mapserver-users] Combined spatial and attribute query

2013-02-08 Thread Rahkonen Jukka
Hi, How about doing two WFS requests in a row? In pseudo SQL 1) select geometry from town_polygons where town='my_town' 2) capture the geometry from the previous and use in the WFS Intersects filter select * from my_features where [attribute filter] AND [Intersects filter with selected_town_p

Re: [mapserver-users] [TinyOWS] TinyOWS 1.1.0 and the old good axis order trouble

2013-01-31 Thread Rahkonen Jukka
would have the same understanding about the axis order. -Jukka- Rahkonen Jukka wrote: Hi Olivier, Sorry for the late response. I analyzed finally what axis order alternatives the srs_wkt field in the spatial_ref_sys table contains and the situation is a bit more complicated than you have

Re: [mapserver-users] [TinyOWS] TinyOWS 1.1.0 and the old good axis order trouble

2013-01-31 Thread Rahkonen Jukka
ot;",UNKNOWN]]" My conclusions: Must not be flipped: 1, 2, 8 Must be flipped: 3, 4, 9 Probably should not be flipped: 10, 12 Probably should be flipped: 11, 13 No idea: 5, 6, 7 The most important system for me is EPSG:3067 and it has the WKT as in alternative 1: AXIS[""Easti

Re: [mapserver-users] How retrieve the maxsize information with anhttprequest

2013-01-30 Thread Rahkonen Jukka
rt 768x768 pixels? If yes, stop, if no, call the WMS admin and ask kindly to make it support. -Jukka Rahkonen- Rahkonen Jukka wrote: > Hi, > > I am a WMS server admin myself and I would not be worried about such use. > They are just GetMaps and 20 or 100 GetMaps more in not an attack

Re: [mapserver-users] How retrieve the maxsize information with anhttprequest

2013-01-30 Thread Rahkonen Jukka
Hi, I am a WMS server admin myself and I would not be worried about such use. They are just GetMaps and 20 or 100 GetMaps more in not an attack for my mind. Think about any OpenLayers application sending tiled GetMaps for a WMS server. They typically send more than 50 requests per every pan

Re: [mapserver-users] How retrieve the maxsize information with an httprequest

2013-01-29 Thread Rahkonen Jukka
Hi, How about making an utility that captures the layer bounds from GetCapabilities, takes the centre point of the bounds, checks the min/max scale limits from the GetCapabilities and then calculates a reasonable BBOX and makes a GetMap query with WIDTH=400 and HEIGTH=400. By increasing the o

Re: [mapserver-users] WFS GetFeature with filter for multiple layers

2013-01-23 Thread Rahkonen Jukka
> the long > term. I will however make the WFS requests using POST as I already have > problems with urls that become too long. > > Kind regards, > Arjen. > > > On Wed, Jan 23, 2013, at 12:03, Rahkonen Jukka wrote: > > Hi, > > > > Some thoughts: &

Re: [mapserver-users] WFS GetFeature with filter for multiple layers

2013-01-23 Thread Rahkonen Jukka
uta 2013 12:09 > Vastaanottaja: Rahkonen Jukka; Lime, Steve D (DNR); mapserver- > us...@lists.osgeo.org > Aihe: Re: [mapserver-users] WFS GetFeature with filter for multiple layers > > Hi Jukka, > > Thanks for the suggestion. I am already taking that into consideration (and > p

Re: [mapserver-users] WFS GetFeature with filter for multiple layers

2013-01-23 Thread Rahkonen Jukka
Hi, Keep it simple and make two separate GetFeatures, one for each feature type. -Jukka Rahkonen- Arjen de Korte wrote: > Hi Steve, > > Yes, for now I (my client) is stuck to this version, so a workaround (or > accepting that it can't be done) is the only option at the moment. Has this > bee

Re: [mapserver-users] apache module - mapserver

2013-01-23 Thread Rahkonen Jukka
Hi, Perhaps best written document that exist is this ticket started by someone called aeichner http://trac.osgeo.org/mapserver/ticket/2565 -Jukka Rahkonen- Eichner, Andreas wrote: apache module - mapserver > > > Is this functionality documented someplace? I couldn't find anything. > > Not t

Re: [mapserver-users] Variables not processed in 6.0.2

2013-01-13 Thread Rahkonen Jukka
Hi, Validation became compulsory in version 6.0. Read http://mapserver.org/cgi/runsub.html#validation and add validation block for percsize. -Jukka Rahkonen- Hans wrote: > hi > I am new in mapserver and testing with versions 5.2.2 and 6.2.0. > I found

Re: [mapserver-users] GML Invalid exterior ring

2013-01-10 Thread Rahkonen Jukka
Hi, Looks like this: http://trac.osgeo.org/gdal/ticket/4934 Thus once MS4W contains GDAL 1.10 is should work again. By looking at your gml file I think it is generated by Mapserver, not SQL server. Was the attachment correct? -Jukka Rahkonen- Moffatt, Gr

[mapserver-users] [TinyOWS] Propertyname list does not work with Json

2012-12-17 Thread Rahkonen Jukka
Hi, This request sends XML with just selected properties http://hip.latuviitta.org/cgi-bin/tinyows?service=wfs&version=1.0.0&request=GetFeature&typename=lv:mml_railway&BBOX=246700,6780800,436400,6924000&propertyname=sahko,the_geom&maxfeatures=1 The same request with Json outpurformat gives all t

[mapserver-users] [TinyOWS] TinyOWS 1.1.0 and the old good axis order trouble

2012-12-17 Thread Rahkonen Jukka
Hi, I have been running TinyOWS r558 for quite a long time because it is dealing almost right with the axis order of the projections I am commonly using. Now I had a fast try with the current TinyOWS 1.1.0 version but unfortunately I realized that it is doing wrong thing by flipping the axis wi

Re: [mapserver-users] Reclassify raster cell values

2012-12-15 Thread Rahkonen Jukka
.org] Lähetetty: 15. joulukuuta 2012 0:48 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] Reclassify raster cell values Thank you Rahknonen, However this is not quite what I expected. If I reclassify a particular value, all other cells disapear. T

Re: [mapserver-users] Reclassify raster cell values

2012-12-10 Thread Rahkonen Jukka
Hi, It should be possible to do what you want by using the PROCESSING LUT option. http://www.mapserver.org/input/raster.html -Jukka Rahkonen- > ALT SHN wrote: > Hello Everyone, > First time Mapserver user here, and I would appreciate some advice regarding > th

Re: [mapserver-users] Help - debug error

2012-12-07 Thread Rahkonen Jukka
Hi, It can be good to know that according to OGC standards the layer names must not start with a number or underscore. Most WMS clients do not care but there are some schema validating WMS clients and more schema validating WFS clients around which do not accept such names. -Jukka Rahkonen- _

Re: [mapserver-users] MapServer and 24bit Images

2012-12-05 Thread Rahkonen Jukka
Hi, You should try to give more exact description about your problem. By reading several mails which you have sent to MS4W list I believe that you are still talking about the same images. That is 3-band, 8 bits per band images stored into database as PostGIS raster and which you have tried to

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

2012-11-28 Thread Rahkonen Jukka
aperi2007 wrote: > Il 13/11/2012 15:31, Rahkonen Jukka ha scritto: > > 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

Re: [mapserver-users] Mapserver and filter in version 6

2012-11-23 Thread Rahkonen Jukka
Hi, Did you add the validation block that is needed in 6.x for ”fasokex”? http://mapserver.org/cgi/runsub.html You know for sure better than I why to use &fasokex=”+fastsok+” instead of &fasokex=210176493 -Jukka Rahkonen- Lars-Göran Edholm wrote: Hi! I have a problem with filters in Mapserver 6

Re: [mapserver-users] [mapserver-dev] WMS layers - using port other than 80

2012-11-19 Thread Rahkonen Jukka
Hi, I had a try with QGIS dev. and default Geoserver installation running on localhost:8080. No trouble at all with WMS. One thing I would check is if your Mapserver is sending correct onlineresource for including the correct port with the GetCapabilities. You can override the announced GetMap

Re: [mapserver-users] WMS layer image format parameters

2012-11-16 Thread Rahkonen Jukka
Hi, You can define your own outputformat for AGG/JPEG and use formatoption "quality" http://www.mapserver.org/mapfile/outputformat.html I do not know if variable substitution works in this place so that users could add an extra parameter to the request as &QUALITY=100 but you can have a try. At

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

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 sho

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

Re: [mapserver-users] tinyows

2012-11-02 Thread Rahkonen Jukka
10:21 AM, 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

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 have

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.map&layer=land&mode=map&FORMAT=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

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

2012-10-26 Thread Rahkonen Jukka
studied if I could adjust the server it to send bigger files. -Jukka- Luca Delucchi wrote: > 2012/10/26 Rahkonen Jukka : > > Hi, > > > > Hi > > > First thing is that BBOX seems odd but perhaps it is a typo > > BBOX=2168000,7716750,77,%205447750& >

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

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

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 a

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

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

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

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

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

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] MapServer and shapefile

2012-10-02 Thread Rahkonen Jukka
ructure and consider and use it as OpenLayers.Layer.WMS? Fabio ________ Da: Rahkonen Jukka A: "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 tha

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] [gdal-dev] Gdaltindex with -t_srs and Mapserver

2012-09-27 Thread Rahkonen Jukka
inator value? -Jukka Rahkonen- > -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

[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 http://demo.mapserver.org/cgi-bin/wms?SE

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

2012-09-21 Thread Rahkonen Jukka
, setting the join condition 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" wrote: > > >On 09/21/2012 12:50, Rahkonen Jukka wrote: >

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_value&BOD_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

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 https://g

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 > mailto: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:ar

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 http://188.64.1.61/cgi-bin/tinyows?s

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 no

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] TinyOWS 0.9 Problem in windows 7

2012-09-06 Thread Rahkonen Jukka
tinyows.exe?service=WFS&version=1.0.0&request=DescribeFeatureType&Typename=tows:wfst_test http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd";>491007.937500,5458

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=WFS&version=1.0.0&request=GetCapabilities http://127.0.0.1/cgi-bin/tinyows.exe?service=WFS&version=1.

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 t

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

2012-09-04 Thread Rahkonen Jukka
- 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:48 AM To: > 'Mapserver-Users (mapserver-users@lists.osgeo.org)' Subject: Re: > [mapserver-users] Stil

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

2012-09-04 Thread Rahkonen Jukka
el geometry. > > Steve > > -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

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

2012-09-04 Thread Rahkonen Jukka
Hi, Is the short answer by Stephen Woodbridge "No" in the tread http://osgeo-org.1560.n6.nabble.com/force-labels-to-fit-in-polygons-td4549296.html still valid? I have been trying to label a polygon dataset with Mapserver 6.2 beta2 and some labels keep on falling outside their polygons. By the w

[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 ... ... 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 like this .. 1 -Jukka Rahko

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

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
e layer and read the logs. I checked that cascading that remote WMS works for me also 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, beca

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 re

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

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 http:/

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

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

2012-08-13 Thread Rahkonen Jukka
FEATURES=1 to the request. The main problem when it comes to interactive web mapping use is that WFS does not have request for getting the closest feature from a given coordinate. -Jukka Rahkonen- >>2012/8/10 Rahkonen Jukka >>Hi,   >>DescribeFeatureType is compulsory part of WS

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

2012-08-10 Thread Rahkonen Jukka
request 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 mailto:jukka.rahko...@mmmtike.fi>> Hi, Would it wor

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 i

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 s

Re: [mapserver-users] Using spatialite with mapserver

2012-08-03 Thread Rahkonen Jukka
ements retrieval. The strange is that with this second sql MapServer don't do nothing. Simply it end 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 J

Re: [mapserver-users] Using spatialite with mapserver

2012-08-02 Thread Rahkonen Jukka
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. FID Column

Re: [mapserver-users] Using spatialite with mapserver

2012-08-02 Thread Rahkonen Jukka
ds). For now, forget multiple geometries and create new single geometry tables and enjoy the speed of Spatialite and Mapserver. -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] käyttäjän Ra

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 r

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
Next guess: perhaps values in the DEM file are so close to zero that the WMS image just looks all black. Study the histograms with some suitable program. If values are very low you will need to scale the image before rendering. You have sure checked that original images are in EPSG:4326 and that

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ä: mapserver-users-boun...@l

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 th

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 ? t

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