Re: [mapserver-users] MapServer 6.4 beta2 released

2013-08-27 Thread Rahkonen Jukka
Hi, Is it possible to test this exact version on Windows? Development binaries at gisinternals are coming from trunk, aren't they? At least Windows binaries for the release candidate version would be nice to have when the time comes. -Jukka Rahkonen- thomas bonfort wrote: The MapServer

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

2013-08-27 Thread Rahkonen Jukka
Hi, Frank Broniewski wrote the following question to the Mapnik users list a few hours ago and I started to think that I would like to have such min/max pixelsize setting in Mapserver. I can simply get the native pixel size of our maps with gdalinfo or something and I can estimate that when I

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

2013-08-27 Thread Rahkonen Jukka
- thomas bonfort wrote: Jukka, I would say that Frank also raised this issue on the mapserver list [1]. Am I mistaken or is your request identical? regards, thomas [1] http://osgeo-org.1560.x6.nabble.com/Scales-and-raster-maps- td5071674.html On 27 August 2013 12:49, Rahkonen Jukka

Re: [mapserver-users] cgi variable substituition in DATA statement

2013-08-22 Thread Rahkonen Jukka
Rahkonen- -Alkuperäinen viesti- Lähettäjä: thomas bonfort [mailto:thomas.bonf...@gmail.com] Lähetetty: 22. elokuuta 2013 11:19 Vastaanottaja: Rahkonen Jukka Kopio: Peter Freimuth; mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] cgi variable substituition in DATA statement

Re: [mapserver-users] cgi variable substituition in DATA statement

2013-08-21 Thread Rahkonen Jukka
Hi, Blind guess, but perhaps quetes inside the SQL of you DATA leads to unexpected result AND (((acquisition_date = date_trunc('day',date '%STARTDATE%') Make a try to write this as Lähettäjä: mapserver-users-boun...@lists.osgeo.org

Re: [mapserver-users] cgi variable substituition in DATA statement

2013-08-21 Thread Rahkonen Jukka
be taken literally with the per cents signs. -Jukka Rahkonen- Rahkonen Jukka wrote: Hi, Blind guess, but perhaps quetes inside the SQL of you DATA leads to unexpected result AND (((acquisition_date = date_trunc('day',date '%STARTDATE%') Make a try

Re: [mapserver-users] The Case of the Disappearing Roads

2013-08-13 Thread Rahkonen Jukka
Hi, Have you tried to use ogrtindex http://www.gdal.org/ogrtindex.html instead of tile4ms? Try also if there is any difference if you read the tileindex through ogr or with the native Mapserver method. I have found some differencies with these options. For example I found this note from my

Re: [mapserver-users] Best way to do a batch reprojection (on windows)

2013-08-13 Thread Rahkonen Jukka
is for this first conversion. It would be nice to be able to have one contiguous layer without having to do the reprojection. Thanks, James -Original Message- From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] Sent: Wednesday, August 07, 2013 10:38 PM To: Evans, James R Civ USAF ACC 84

Re: [mapserver-users] Angle Follow will accept only simple linestring don't MultiLinestring ?

2013-08-13 Thread Rahkonen Jukka
Hi, What if there happens to be empty/null geometries in your source data? I guess you can add AND geometry in not NULL and perhaps even AND IsValid(geometry)=1 to your DATA line. -Jukka Rahkonen- Andrea Peri wrote: I'm using spatialite 4.1.1, so use ogr to

Re: [mapserver-users] Best way to do a batch reprojection (on windows)

2013-08-07 Thread Rahkonen Jukka
Hi, Stop what you do, it is not the right thing anymore. It should not be necessary to reproject the images into a common projection any more. This page describes how Mapserver is planned to be made to support tileindex with mixed projections

Re: [mapserver-users] ms4w problem

2013-08-05 Thread Rahkonen Jukka
Hi, Please help us by showing us the relevant part of your mapfile and by adding DEBUG 5 into your layer definitions and sending the error message from the log to us too. But after reading this http://www.mapserver.org/optimization/debugging.html and this

Re: [mapserver-users] Still can't draw points

2013-08-05 Thread Rahkonen Jukka
Hi, You have still not defined the symbol square that you want to used for drawing. Here comes a quick and not polished example that I have modified from your mapfile. It shows points for me with OpenJUMP with my data roskis.shp. MAP DEBUG 5 CONFIG MS_ERRORFILE c:\ms4w\tmp\points_error.txt

Re: [mapserver-users] tif tile not visible

2013-07-31 Thread Rahkonen Jukka
Hi, My first bet is that the reason is in MAXSCALEDENOM 82500 You must zoom pretty close for turning this layer on. Other possibility is that location field points to a relative or absolute file location which is not valid for your test system. Add DEBUG 5 into your layer and MS_ERRORFILE into

Re: [mapserver-users] tif tile not visible

2013-07-31 Thread Rahkonen Jukka
Hi, Error means that for some reason Mapserver does not find the file from path /blah/blah/blah/33114.TIF. I am not sure why. I would create a new tileindex file with gdaltindex tool by using the -write_absolute_path switch http://www.gdal.org/gdaltindex.html There is nothing more to do than

Re: [mapserver-users] using viewparams

2013-07-30 Thread Rahkonen Jukka
Hi, I guess that you are mixing two great software by trying to use the Geoserver viewparams vendor option with Mapserver. Instead, with Mapserver you will need to use the run-time substitution system. Read for example http://mapserver.org/cgi/runsub.html#runsub and

Re: [mapserver-users] No Postgresql mapserver images

2013-07-29 Thread Rahkonen Jukka
Hi, Feels odd, I have listen_addresses = '*' in my PostgreSQL 9.2 postgresql.conf and Mapserver works as supposed. The wildcard * should include everything, including localhost. It comes into my mind that sometimes I have had same kind of issues when creating configuration files by using

[mapserver-users] Ogrtileindex troubles with MS 6.2 on Linux

2013-07-17 Thread Rahkonen Jukka
Hi, I have had some troubles with using ogrtileindex on Linux (CentOS) with Mapserver 6.2.1. I faced two dictinct issues. 1) Uppercase/lowercase trouble with file names of the source vectors when using the MS native connection. My shapefiles had names like MM26P3CP.SHP. I created an ogrtindex

Re: [mapserver-users] GSoC Project - ScribeUI: A mapfile editor

2013-07-13 Thread Rahkonen Jukka
Hi, How is this interesting project going on? I have been awaiting a tool like this since the death of MapLab. -Jukka Rahkonen- Julien-Samuel Lacroix wrote Hello, We are pleased to announce that MapServer got 2 project accepted for the Google Summer

Re: [mapserver-users] sql clause in DATA

2013-07-13 Thread Rahkonen Jukka
Hi, Sure, like this CONNECTIONTYPE POSTGIS CONNECTION host=localhost dbname=postgis user=www-data password=www-data port=5432 DATA way from (select way,osm_id ,landuse, name from osm_polygon where landuse is not null) as foo using unique osm_id using srid=3857 Even better, this is documented

Re: [mapserver-users] alternatives to ms4w?

2013-06-29 Thread Rahkonen Jukka
Hi, The web page is not up to date. There is also 3.1.0 beta available. http://www.maptools.org/dl/ms4w/ms4w_3.1.0-beta1.zip http://lists.maptools.org/pipermail/ms4w-users/2013-April/002230.html It is a beta version but the Mapserver included in the package has been stable for me. You can get

Re: [mapserver-users] HTML response to GetFeature request

2013-06-28 Thread Rahkonen Jukka
Hi, I made a trial with Firefox Poster plugin and I get correct results back after correcting the typename. I do not know what is wrong with API Kitchen and your other trials. wfs:GetFeature xmlns:wfs=http://www.opengis.net/wfs; service=WFS version=1.1.0

Re: [mapserver-users] Spatialite and spatial index?

2013-06-25 Thread Rahkonen Jukka
Sven Geggus wrote: Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: I encourage you to have a try with GDAL 1.10 because I believe that for your use case Spatialite will be considerable faster than PostGIS. Thanks! It seems to work fine using gdal 1.10 now and seems to be slightly

Re: [mapserver-users] Issue with correct distance/length displaying on scalebar in Mapfile

2013-06-24 Thread Rahkonen Jukka
Hi, I fear I cannot help with Mapserver configuration. However, I see that you are using a geographics coordinate system (EPSG:4326) and I would like to ask your opinion about what would be the correct distance/length display. See the screenshot at

Re: [mapserver-users] Spatialite and spatial index?

2013-06-24 Thread Rahkonen Jukka
Sven Geggus wrote: Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: GDAL has been supporting Spatialite spatial index since http://trac.osgeo.org/gdal/ticket/4212 Some further work was done in http://trac.osgeo.org/gdal/ticket/4508 I am remembering from my own experience that a query

Re: [mapserver-users] Spatialite and spatial index?

2013-06-23 Thread Rahkonen Jukka
Hi, GDAL has been supporting Spatialite spatial index since http://trac.osgeo.org/gdal/ticket/4212 Some further work was done in http://trac.osgeo.org/gdal/ticket/4508 I am remembering from my own experience that a query like the one you are using needs GDAL 1.10 but with that version the query

Re: [mapserver-users] BROWSE mode requiresa TEMPLATE?

2013-06-19 Thread Rahkonen Jukka
Hi, Obviously Global Mapper does not send proper WMS request. You will see the same message from this URL http://hip.latuviitta.org/cgi-bin/ms_ows?layers=all Check from your Apache access.log file how the requests sent by Global Mapper look like and you may get a hint about what you should do

Re: [mapserver-users] Select the dataset at runtime

2013-06-18 Thread Rahkonen Jukka
Hi, Try this live example. The sql parameter is feeding a subquery into DATA and the next link selects OpenStreetMap primary highways which do not have maxpeed tag. Change primary into secondary and you will see a different map.

Re: [mapserver-users] Impossible to get getFeatureInfo result

2013-06-17 Thread Rahkonen Jukka
Hi, Your problem is in the Leaflet code which does not take X and Y values from the mouse click and you will be better served if you ask about that from some Leaflet forum. However, there is a working GetFeatureInfo example at http://projects.bryanmcbride.com/leaflet/wms_info.html Perhaps you

Re: [mapserver-users] DEM color ramps

2013-06-17 Thread Rahkonen Jukka
Hi, Here you can find some more GDAL commands and a nice map as a result. https://groups.google.com/forum/#!msg/openjump-users/oedpVya8qNk/7Tk5y0xxYAoJ Andrei has created several images with GDAL and finally merged them together with Gimp. I do not know if this merging could be done with GDAL

Re: [mapserver-users] Help with configuring WMS

2013-06-11 Thread Rahkonen Jukka
Hi, If you use WMS 1.3.0 you must use Nothing-Easting axis order with EPSG:4326. Stay with WMS 1.1.1 of flip the coordinates in your request. Search WMS 1.3.0 axis order and you will find reading for the rest of the day. -Jukka Rahkonen- Todd Fagin wrote

Re: [mapserver-users] Help with configuring WMS

2013-06-11 Thread Rahkonen Jukka
73107 405.740.4324 (voice) 904.471.5548 (fax) www.coordinatesolutions.com -Original Message- From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] Sent: Tuesday, June 11, 2013 12:31 PM To: Todd Fagin; mapserver-users@lists.osgeo.org Subject: VS: [mapserver-users] Help with configuring

[mapserver-users] Installing mod_mapcache on Apache 2.4.4

2013-06-10 Thread Rahkonen Jukka
Hi, In case this could help someone, I found that for some reason the instructions for installing Mapcache on Apache version 2.4 did not work for me. The document http://www.mapserver.org/trunk/mapcache/install.html suggests to use the new access control syntax which is described in a similar

Re: [mapserver-users] Best way to import 4.5TB of imagery?

2013-06-10 Thread Rahkonen Jukka
Hi, If you reproject images one by one to any common coordinate system you will get black collars to most of them because images will be rotated. In order to make them transparent by using nodata you must keep images uncompressed. However, you may find it teasing to use the jpeg-in-tiff

Re: [mapserver-users] Mapcache tileset only shows sporadically in KML / Google Earth

2013-06-09 Thread Rahkonen Jukka
Hi, This is so important thing to know that it should be mentioned in http://www.mapserver.org/trunk/mapcache/seed.html I believe I am not the only GeoWebCache users who experiment with MapCache and think that MapCache can also do seeding/reseeding/truncating for an active cache because that

Re: [mapserver-users] cascading wms and layer names encoding

2013-06-09 Thread Rahkonen Jukka
Hi, I am sure that layer names should not begin with a number by WMS standard, or perhaps it is XML in the background. Numbers are allowed later in the name but as the first character. However, I think this is just nice to know because I do not know any WMS client that would deny to use such

Re: [mapserver-users] cascading wms and layer names encoding

2013-06-09 Thread Rahkonen Jukka
with ArcGIS server. Perhaps it in no more possible to create invalid Names. -Jukka- Rahkonen Jukka wrote: Hi, I am sure that layer names should not begin with a number by WMS standard, or perhaps it is XML in the background. Numbers are allowed later

Re: [mapserver-users] Creating lower aeriel image cache from the best resolution tiles

2013-06-09 Thread Rahkonen Jukka
June 2013 18:02, Rahkonen Jukka jukka.rahko...@mmmtike.fimailto:jukka.rahko...@mmmtike.fi wrote: Hi, Have you been considering to seed the cache for aerial or satellite image layers in opposite order compered to the normal Z0, Z1, Z2... so that only the best resolution Z(max) tiles (or perhaps

Re: [mapserver-users] Creating lower aeriel image cache from the best resolution tiles

2013-06-09 Thread Rahkonen Jukka
. -Jukka Rahkonen- Lähettäjä: Puneet Kishor [punk.k...@gmail.com] Lähetetty: 9. kesäkuuta 2013 20:22 Vastaanottaja: thomas bonfort Cc: Rahkonen Jukka; Mapserver-Users (mapserver-users@lists.osgeo.org) Aihe: Re: [mapserver-users] Creating lower aeriel image cache from

[mapserver-users] Mapcache and partial reseeding

2013-06-07 Thread Rahkonen Jukka
Hi, How well does Mapcache seeder tool handle the case when the original big aerial image coverage is updated little by little so that the hole cycle takes 3 to 6 years? Reseeding the whole cache every time when a batch of new images is received does not feel like a reasonable solution. A)

Re: [mapserver-users] Mapcache and partial reseeding

2013-06-07 Thread Rahkonen Jukka
- thomas bonfort wrote: On 7 June 2013 17:48, Rahkonen Jukka jukka.rahko...@mmmtike.fimailto:jukka.rahko...@mmmtike.fi wrote: Hi, How well does Mapcache seeder tool handle the case when the original big aerial image coverage is updated little by little so that the hole cycle takes 3 to 6 years

Re: [mapserver-users] Fwd: RFC99: Remove GD support in 7.0

2013-06-07 Thread Rahkonen Jukka
Hi, I made a very short test with Mapnik 2.2.0 demo maps. Mapnik can create png images either with AGG or with Cairo and I compared the 256 colour demo maps obtained by running the Mapnik c++ version of rundemo test program. Image sizes were AGG 112 kb, went down to 104 kb by optimizing with

Re: [mapserver-users] cascading wms and layer names encoding

2013-06-06 Thread Rahkonen Jukka
Hi, I believe that your human readable names with space characters are invalid in XML and WMS and thus there is no much need to think about how Mapserver encodes them. If you administrate the remote service use human readable Title for the layers and use underscores or any other acceptable

Re: [mapserver-users] Can't stop Mapserver 6.2.1 from gathering too much log into MS_ERRORFILE

2013-06-05 Thread Rahkonen Jukka
strongly encourage to use layer or map level DEBUG for all regular needs instead of MS_DEBUGLEVEL. -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] k#228;ytt#228;j#228;n Rahkonen Jukka

Re: [mapserver-users] Control order of drawing for a layer

2013-06-04 Thread Rahkonen Jukka
Hi, If you want to do is fast, try sortshp and sort your shapefile by your attribute http://mapserver.org/utilities/sortshp.html. It should work well if one attribute is enough for sorting and in some cases it may be possible to get a usable result by sorting the sorted shapefile again by

Re: [mapserver-users] MapCache missing a service error

2013-06-04 Thread Rahkonen Jukka
well. And adding the service and request parameter to the URL works too. What I'm wondering is that why I can't access http://192.168.56.101/mapcache/demo/ as the document says. On Tue, Jun 4, 2013 at 12:40 PM, Rahkonen Jukka jukka.rahko...@mmmtike.fimailto:jukka.rahko...@mmmtike.fi wrote: Hi

[mapserver-users] Trouble with MS 6.2.1 and native vector tileindex

2013-06-04 Thread Rahkonen Jukka
Hi, I have been using for some years a biggish shapefile directory through shapefile tileindex. The layer is in production with Mapserver 6.0 (MS4W) and the layer is defined like this LAYER NAME bunch_of_shapes TYPE POLYGON #CONNECTIONTYPE OGR #don't use, it breaks classification and

Re: [mapserver-users] Trouble with MS 6.2.1 and native vector tileindex

2013-06-04 Thread Rahkonen Jukka
and native vector tileindex On 2013-06-04 8:56 AM, Rahkonen Jukka wrote: Hi, I have been using for some years a biggish shapefile directory through shapefile tileindex. The layer is in production with Mapserver 6.0 (MS4W) and the layer is defined like this LAYER NAME bunch_of_shapes

[mapserver-users] Can't stop Mapserver 6.2.1 from gathering too much log into MS_ERRORFILE

2013-06-03 Thread Rahkonen Jukka
Hi, We have compiled Mapserver 6.2.1 for Linux and the version info is as follows MapServer version 6.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER

Re: [mapserver-users] Can't stop Mapserver 6.2.1 from gathering too much log into MS_ERRORFILE

2013-06-03 Thread Rahkonen Jukka
9:23 AM, Rahkonen Jukka wrote: Hi, We have compiled Mapserver 6.2.1 for Linux and the version info is as follows MapServer version 6.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV SUPPORTS=WMS_SERVER

Re: [mapserver-users] MapCache missing a service error

2013-06-03 Thread Rahkonen Jukka
: http://127.0.0.1/mapcache/demo/ You should see a clickable list of demo links It that I've misunderstood? On Fri, May 31, 2013 at 12:49 PM, Rahkonen Jukka jukka.rahko...@mmmtike.fimailto:jukka.rahko...@mmmtike.fi wrote: Hi, Great, then you have made it. The message means that your URL

Re: [mapserver-users] Mapserver PostGIS Points Layer coming up blank

2013-05-31 Thread Rahkonen Jukka
Hi, It can be the old STATUS=ON thing. Either change it to STATUS=DEFAULT in the mapfile or add layers=all into the request. Circle error means that Mapserver cannot find a symbol named circle. You will find reading about symbols from Mapserver documents. -Jukka Rahkonen-

Re: [mapserver-users] MapCache missing a service error

2013-05-30 Thread Rahkonen Jukka
Hi, Great, then you have made it. The message means that your URL connects Mapcache as WMS service but the message is missing the compulsory WMS parameters SERVICE and REQUEST because you only did http://192.168.56.101/mapcache/ You will see the WMS 1.1.0 capabilities document by using

Re: [mapserver-users] Mapserver WMS Reprojection

2013-05-20 Thread Rahkonen Jukka
is. Maybe I cannot use MAXSCALEDENOM in these circumstances where I need to serve in two projections. Many thanks. Regards, Donald -Original Message- From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] Sent: 20 May 2013 05:53 To: Donald Kerr; mapserver-users

Re: [mapserver-users] [TinyOWS] Unable to open config file

2013-05-13 Thread Rahkonen Jukka
Hi, I have always used tinyows.xml configuration file, but in http://mapserver.org/trunk/tinyows/mapfileconfig.html there reads To indicate where your Mapfile is located, to TinyOWS binary, use the ''TINYOWS_MAPFILE'' environment variable. Perhaps the environment is set for you when you run

Re: [mapserver-users] MAXSIZE on Windows

2013-05-08 Thread Rahkonen Jukka
Hi, First thing to do is really to check the GetMap request which is sent by QGis. Setting DEBUG on is good general suggestion, but all the WMS requests from the clients go always directly into Apache access log in \ms4w\Apache\logs\access.log and you can find them from there. Check the WIDTH

Re: [mapserver-users] Is there still a 2GB size limit on shapefiles?

2013-05-08 Thread Rahkonen Jukka
Hi, I am not sure either if reading 2GB shapefiles works with the native shp reader on all platforms, but as the ticket says, you should be able to use OGR connection in the mapfile even with your current version. If you use OGR you can also split the shapefile into pieces and read them

Re: [mapserver-users] WFS in MapServer?

2013-04-29 Thread Rahkonen Jukka
No, it may just be that your question is a bit hard to answer. Could you give us a bit more information about your data, mapfile and WFS request you have been using? Ogrinfo report about the datasource, layer definitions from the mapfile and at least the extents from the map level are needed.

[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] Mapserver 6.2.1 fails to read remote WMS in png format

2013-04-25 Thread Rahkonen Jukka
the output of that request with a command such as wget https://... - O /tmp/test.png and try running gdalinfo on the output. Maybe that will give some hints. Daniel On 13-04-25 8:05 AM, Rahkonen Jukka wrote: Hi, I was testing Mapserver 6.2.1 from the MS4W 3.0.1beta-1 installation

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

2013-04-25 Thread Rahkonen Jukka
the gdal_translate tool from the exact same MS4W package as what your MapServer is using. Daniel On 13-04-25 10:17 AM, Rahkonen Jukka wrote: Hi, Yes, I have checked that png files saved from both services I have been testing are OK. I know that our own server is using this outputformat

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

2013-04-25 Thread Rahkonen Jukka
Daniel Morissette wrote: On 13-04-25 10:37 AM, Rahkonen Jukka wrote: Hi, No trouble at all with gdal_translate that is in gdal-ogr tools of the same MS4W3.1.0beta1. If the error message gives right information then perhaps the trouble

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 corresponding mapfile for if someone wants to make a test

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

2013-04-24 Thread Rahkonen Jukka
Hi, The same http header works for me as !-- MapServer Template -- html head link rel=stylesheet href=style.css type=text/css / meta http-equiv=content-type content=text/html; charset=ISO-8859-1/meta I do not understand why it does not work for you. What Mapserver do you use? Are you

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

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

2013-04-23 Thread Rahkonen Jukka
/source You may use http://www.base64encode.org/ to encode your Username and Password, written as username,password - encodes to dXNlcm5hbWUscGFzc3dvcmQ=, so the full configuration for this login will be: AuthorizationBasic dXNlcm5hbWUscGFzc3dvcmQ=/Authorization Matrin 2013/4/12 Rahkonen

Re: [mapserver-users] Error on click

2013-04-22 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 to

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

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

[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 urlhttps://user:passw...@vmap0.tiles.osgeo.org/wms/vmap0/url -Jukka

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

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

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

2013-04-04 Thread Rahkonen Jukka
but a text field starting with a character. Very rarely situation in our primarykey fields. :( Thx for support, Andrea. 2013/4/4 Rahkonen Jukka jukka.rahko...@mmmtike.fimailto:jukka.rahko...@mmmtike.fi Hi Andrea, Could you make test by using something else than '9%' as variable default value

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

2013-03-27 Thread Rahkonen Jukka
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 Subject: Re: [mapserver-users] WFS Server Layer styles

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

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

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

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.1request=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

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 get

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

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

2013-01-31 Thread Rahkonen Jukka
[mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Olivier Courtin Lähetetty: 18. joulukuuta 2012 9:10 Vastaanottaja: Mapserver-Users (mapserver-users@lists.osgeo.org) Aihe: Re: [mapserver-users] [TinyOWS] TinyOWS 1.1.0 and the old good axis order trouble On Mon, Dec 17, 2012 at 11:16 AM, Rahkonen Jukka

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] How retrieve the maxsize information with anhttprequest

2013-01-30 Thread Rahkonen Jukka
? 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 for my mind. Think about any

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

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 that

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 been

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

2013-01-23 Thread Rahkonen Jukka
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 probably should have mentioned it). The problem

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

2013-01-23 Thread Rahkonen Jukka
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: - I am not a specialist with filters, but are you sure that your filter is correct? I have some examples about filters in page http

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,

[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

[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=wfsversion=1.0.0request=GetFeaturetypename=lv:mml_railwayBBOX=246700,6780800,436400,6924000propertyname=sahko,the_geommaxfeatures=1 The same request with Json outpurformat gives all the

Re: [mapserver-users] Reclassify raster cell values

2012-12-15 Thread Rahkonen Jukka
: 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. This leads me

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 this

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 for drawing all the labels? We can

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

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