Re: [mapserver-users] Admin boundaries styling

2013-12-18 Thread Rahkonen Jukka
Hi, Would it be acceptable to create a new dataset for rendering the borders by converting polygons into linestrings and merging the overlapping segments? With OpenJUMP you cound do it with a single operation Tools - Edit Geometry - Convert - Extract Segments. Select option "Merge resulting se

Re: [mapserver-users] gdalinfo error on jp2 file

2013-12-10 Thread Rahkonen Jukka
Hi, I believe this is a driver problem. Image seems to be a 4 band image, probably R-G-B ans Near infrared. There are many JPEG2000 drivers available for GDAL and they are not at all the same when it comes to speed and quality. First I had a try with gdalinfo and Driver: JP2ECW/ERDAS JPEG2000 (

Re: [mapserver-users] MapCahe question -- Caching the first couple ofzoom levels

2013-11-25 Thread Rahkonen Jukka
Eichner, Andreas wrote: > Hi James, >> to send the request to the source if it is beyond the maxzoom value. >> Is >> there a way to do this? > Surely not. I think you misunderstood what a cache is and how it works. > You should use mapcache_seed in delete mode to throttle the cache size. > Of c

[mapserver-users] XML parsing error with extended Inspire WMS 1.1.1 capabilities

2013-11-25 Thread Rahkonen Jukka
Hi, The SAX parser in OpenJUMP reports an error when trying to read the GetCapabilities from Mapserver 6.5-dev based WMS service of Toscana. The URL to use is http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsctr&service=WMS&version=1.1.1&request=GetCapabilities The error f

Re: [mapserver-users] MapCahe question -- Caching the first couple of zoom levels

2013-11-24 Thread Rahkonen Jukka
Hi, GeoWebCache supports this as "Selective zoom level caching" http://geowebcache.org/docs/current/configuration/layers/selectivezoom.html MapProxy seems to be able to do the same with directives "use_direct_from_level" and "use_direct_from_res" http://mapproxy.org/docs/1.6.0/configuration.html

Re: [mapserver-users] Standalone Mapserver 6.4 as WFS server - issues with responses

2013-11-19 Thread Rahkonen Jukka
Hi, I can only show how my MS 6.2.1 server reacts http://hip.latuviitta.org/cgi-bin/mapserver_wfs?service=wfs&version=1.0.0&request=DescribeFeatureType -Jukka Rahkonen- __

Re: [mapserver-users] GetCapabilities always returning version 1.3.0

2013-11-14 Thread Rahkonen Jukka
WMS standard says about version number negotiation "A WMS client may negotiate with a server to determine a mutually agreeable protocol version. Negotiation isperformed using the GetCapabilities operation (described in 7.2) according to the following rules. All service metadata shall include a pro

Re: [mapserver-users] error with SQL query

2013-11-12 Thread Rahkonen Jukka
Hi, I am sure you will solve it by making a "simple" SQL query which works for you with your data and after that adding one piece at a time for making it more complex. At least you can then send youR next mail as "I had in my DATA 'this' and it worked but once I changed it to 'that' it stopped

Re: [mapserver-users] WMS Server and Custom ESPG code

2013-11-09 Thread Rahkonen Jukka
Hi, To test if the "epsg" file of MS4W is used just make some client to read a map in any supported projection (reprojected from the native) and then delete the definitions from the file. You can do it on-a-fly. Did you already make a test with the dataset and mapfile which I pointed for you,

Re: [mapserver-users] mapserver 6.4.0 can't create geom with postgis 2.1.0?!

2013-11-08 Thread Rahkonen Jukka
Hi, It is a warning. It should mean that everything still works. Or do you mean that you have run the "psql -d [yourdatabase] -f legacy.sql" command in your database and that you can do from psql SELECT ST_Force_2d with a good result but you can't get maps out of Mapserver because of this err

Re: [mapserver-users] Using Mapserver as standalone WFS - GetFeature fails

2013-11-08 Thread Rahkonen Jukka
Hi, With WFS it is good to start from the basics http://localhost/mswfs/mapserv.exe?map=WFS.map&service=WFS&version=1.0.0&request=GetCapabilities http://localhost/mswfs/mapserv.exe?map=WFS.map&service=WFS&version=1.0.0&request=DescribeFeatureType&typename= http://localhost/mswfs/mapserv.exe?m

[mapserver-users] Segfaults from MS 6.4

2013-11-04 Thread Rahkonen Jukka
Hi, Our server admin sent me some log data from our new Mapserver 6.4 installation. Here is a sample: messages-20131103:Oct 29 09:52:24 wms-testi kernel: mapserv[7973]: segfault at 21 ip 7f7557116310 sp 7fff30554cb0 error 4 in libc-2.12.so[7f75570e1000+18a000] messages-20131103:Oct 29

Re: [mapserver-users] WMS Server and Custom ESPG code

2013-11-01 Thread Rahkonen Jukka
Hi, I did the same as you with MS4W and a new code in my C:\ms4w\proj\nad\epsg file # Chippewa County Coordinates EPSG:97036 <97306> +proj=lcc +lat_0=44.5811 +lon_0=-91.29 +lat_1=45.1416 +lat_2=44.8138 +x_0=197000 +y_0=0.0 +ellps=GRS80 +datum=NAD83 +k_0=1.

Re: [mapserver-users] 2 layers shown when 1 requested

2013-10-17 Thread Rahkonen Jukka
Hi, "STATUS DEFAULT" means that the layer is forced to be on and Mapserver will send it even you do not ask for it. Use STATUS ON instead. -Jukka Rahkonen- martijnvdp wrote: > Hello, > I have a mapfile with several layers that use ogr resources. When I request > 1 of these layers, they retur

Re: [mapserver-users] allowing MapServer access to data on another windows machine?

2013-10-08 Thread Rahkonen Jukka
natively, how about an external USB drive? Since it would be plugged into your server it would be treated as a local resource. Good luck, Rich On Tue, Oct 8, 2013 at 1:29 PM, Rahkonen Jukka mailto:jukka.rahko...@mmmtike.fi>> wrote: Hi, I never managed to make it to work before we acq

Re: [mapserver-users] allowing MapServer access to data on another windows machine?

2013-10-08 Thread Rahkonen Jukka
Hi, I never managed to make it to work before we acquired more disks but it is about Apache and this is the reason " By default, all Apache services are registered to run as the system user (the LocalSystem account). The LocalSystem account has no privileges to your network via any Windows-sec

Re: [mapserver-users] preparing orthos for Mapserver?

2013-10-06 Thread Rahkonen Jukka
So the amazing file size of that GIS editor software is 600 kB or 601088 bytes to be exact. -Jukka- Rahkonen Jukka wrote: Andrea Aime wrote: > Hi Frank, > this is quite interesting. Can you elaborate a bit of what "one block > scanline

Re: [mapserver-users] preparing orthos for Mapserver?

2013-10-06 Thread Rahkonen Jukka
Andrea Aime wrote: > Hi Frank, > this is quite interesting. Can you elaborate a bit of what "one block > scanline" means? > E.g., what is the actual tiling structure of this file? > Does presence of compression affect the ability to do the subsampling? > How about quality of the output? (e.g., is

Re: [mapserver-users] preparing orthos for Mapserver?

2013-10-05 Thread Rahkonen Jukka
Hi, Have also definitely a try with JPEG compressed tiffs. You can save 90% of the disk space with nominal effect on speed and quality, but that depends on your hardware and imagery. It is still worth testing. The command to use is gdal_translate -of GTiff -co tiled=yes -co compress=JPEG -co p

Re: [mapserver-users] Adding stackexchange to our support channels

2013-10-04 Thread Rahkonen Jukka
Hi, Mapserver users list has worked fine for me for several years but I have seen that it is no more what it used to be. There are less mails on the list and part of the discussion that would be interesting also for users (at least power users) has moved into developers list and inside the gith

Re: [mapserver-users] Mapserver version does not change the version on the browser

2013-09-26 Thread Rahkonen Jukka
Hi, I do not believe that mapserver -v would lie. Rename your current installation into ms4w_bak, install this partly hidden most recent MS4W version (announced only in the MS4W-users mailing list) from http://www.maptools.org/dl/ms4w/ms4w_3.1.0-beta1.zip and do mapserv -v. For me it shows

[mapserver-users] Can variables be used in "PROCESSING"?

2013-09-25 Thread Rahkonen Jukka
Hi, Is this list correct http://mapserver.org/cgi/runsub.html#runsub? It does not mention PROCESSING. I have been thinking that it would be cool to have a WMS client which could adjust on-the-fly from the client side - PROCESSING "BANDS=1,2,3" for making diffferent RGB versions of multi-channe

[mapserver-users] Pseudo-3D buildings

2013-09-25 Thread Rahkonen Jukka
Hi, See these buildings which Andrei Nacu has drawn with OpenJUMP http://img855.imageshack.us/img855/8340/b072.png Buildings are constructed from 3 layers: - OSM building polygons (orange) - underneath them buffered polygons (buffer 2, round join) with dark grey outline and light grey fill - abo

Re: [mapserver-users] Submitting filter does not filter - returns all features

2013-09-24 Thread Rahkonen Jukka
Sorry about spamming. This document http://mapserver.org/ogc/filter_encoding.html says what are the valid units and using "deg" in the filter really works. http://hip.latuviitta.org/cgi-bin/mapserver_wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TYPENAME=lv:mml_railway&SRSNAME=EPSG:3067&Filt

Re: [mapserver-users] Submitting filter does not filter - returns all features

2013-09-24 Thread Rahkonen Jukka
Blah, copied the same request twice. This request has degrees as units but Mapserver is still using the native units, meters. http://hip.latuviitta.org/cgi-bin/mapserver_wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TYPENAME=lv:mml_railway&SRSNAME=EPSG:3067&Filter=%3CFilter%3E%3CDWithin%3E%3CP

Re: [mapserver-users] Submitting filter does not filter - returns all features

2013-09-24 Thread Rahkonen Jukka
nguage="en"> Filter Element contains incoherent XML Namespaces Isn't it fun with WFS? -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Rahkonen Jukka Lähetetty: 24. syyskuuta 2013 16:51 Vastaanottaja

Re: [mapserver-users] Submitting filter does not filter - returns all features

2013-09-24 Thread Rahkonen Jukka
Hi, Just a guess, but using units in filters is often poorly implemented. Have a try without units and by giving the distance in degrees. -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Troy Day Lähetetty: 24. syysku

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

2013-09-23 Thread Rahkonen Jukka
Hi, Your latest mail shows that you do not know yet how a complete and valid GetMap request looks like. Later in this mail you will see an example. Read about EXTENT from http://mapserver.org/mapfile/map.html Read carefully http://mapserver.org/ogc/wms_server.html The mapfile on this page is qui

Re: [mapserver-users] Scribe UI basic usage

2013-09-22 Thread Rahkonen Jukka
Hi, Because it is a web service, how about setting a test instance somewhere in the web? I am probably not the onlyone who is more interested in trying how ScribeUI works than how it feels to install it. The demo map could be in read-only state and there would not need to use any heavy datasets

[mapserver-users] Scribe UI for Windows?

2013-09-21 Thread Rahkonen Jukka
Hi, Does such a thing exist? -Jukka Rahkonen- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] TYPE/FONT/SIZE breaks labels

2013-09-16 Thread Rahkonen Jukka
Hi, Add DEBUG 5 into your LAYER and you may see from the MS_ERRORFILE what is the problem. My bet is that you are missing the FONTSET http://www.mapserver.org/mapfile/fontset.html -Jukka Rahkonen- Michael McInnis wrote: > Mapservers! > I have bailed on dynamic

Re: [mapserver-users] problem with INTERSECTS query from OpenLayers to mapserver

2013-09-15 Thread Rahkonen Jukka
Perhaps your mail program dropped the annex even I named the file as .txt. Here it is inline http://www.opengis.net/ogc"; xmlns:gml="http://www.opengis.net/gml"; xmlns:wfs="http://www.opengis.net/wfs"; service="WFS" version="1.0.0" maxFeatures="1000" outputFormat="GML2"> fid kokotun kunta mtr

Re: [mapserver-users] problem with INTERSECTS query from OpenLayers to mapserver

2013-09-14 Thread Rahkonen Jukka
Hi, Perhaps comparison with the annexed filter helps. The filter is created by Kosmo GIS and it works against my Mapserver 6.2 at http://hip.latuviitta.org/cgi-bin/mapserver_wfs Try to edit my filter fo look like that one created by OpenLayers and let's hope that at some moment you will get my

Re: [mapserver-users] runtime substitution with filter

2013-09-11 Thread Rahkonen Jukka
Hi, You must add validation http://mapserver.org/mapfile/validation.html -Jukka Rahkonen- Icadedt wrote: hi, i have in my url the parameter myparameter, i would like to use runtime substitution with this parameter in filter i tried : FILTER ("[mycol]"=='%myparameter%') but it doesnt work in m

Re: [mapserver-users] Expression segmentation fault

2013-09-05 Thread Rahkonen Jukka
Hi, Osm2pgsql can create invalid polygons with self-intersections and/or three-vertex A-B-A rings. It might be good to run MakeValid or simply find possibly invalid features with IsValid and delete them and then see if Mapserver gets happy. Actually, run IsValid and save the faulty geometries

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

2013-08-28 Thread Rahkonen Jukka
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 wrote: >> Hi, >> >> Frank Broniewski wrot

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

2013-08-27 Thread Rahkonen Jukka
s. -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.htm

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

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

2013-08-22 Thread Rahkonen Jukka
r. -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 va

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

2013-08-21 Thread Rahkonen Jukka
quotes should 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

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 [mapserver-users-bo

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 o

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

2013-08-13 Thread Rahkonen Jukka
of MS4W, not even the latest debug > builds, > so that probably won't work for me. I'll see what the result 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 >

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 mapf

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 http://mapserver.org/development/rfc/ms-rfc-100.html

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

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 http://mapserver.org/utilities/shp2img

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 m

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

mapserver-users@lists.osgeo.org

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 http://linfiniti.com/2011

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 c

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

2013-07-17 Thread Rahkonen Jukka
Even Rouault wrote: > Le mercredi 17 juillet 2013 10:16:22, Rahkonen Jukka a écrit : >> 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 troubl

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

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 document

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

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

2013-06-28 Thread Rahkonen Jukka
p://mapserver.gis.umn.edu/mapserver";> -Jukka- Rahkonen Jukka wrote: > > 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. >

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. http://www.opengis.net/wfs"; service="WFS" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs http://sche

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

2013-06-25 Thread Rahkonen Jukka
Sven Geggus wrote: > Rahkonen Jukka 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 slig

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

2013-06-24 Thread Rahkonen Jukka
Sven Geggus wrote: > > Rahkonen Jukka 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 > > exp

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 http://latuviitta.org/documents/wgs84_distor

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 f

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. http://hip.latuviitta.org/cgi-bin/ms_ows?REQUEST=GetMap&SERVICE=W

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 al

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 w

Re: [mapserver-users] Help with configuring WMS

2013-06-11 Thread Rahkonen Jukka
the request, it doesn't work at all. > Todd Fagin Coordinate Solutions, Inc. 2804 NW 18th St. Oklahoma City, OK 73107 405.740.4324 (voice) 904.471.5548 (fax) www.coordinatesolutions.com -Original Message- From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] Sent: Tuesday, J

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 Gre

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 compres

[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] Creating lower aeriel image cache from the best resolution tiles

2013-06-09 Thread Rahkonen Jukka
her resolution tiles. -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 lowe

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

2013-06-09 Thread Rahkonen Jukka
ones). > regards, > thomas On 9 June 2013 18:02, Rahkonen Jukka mailto: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(m

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

2013-06-09 Thread Rahkonen Jukka
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 also Z(max-1) were requested from the WMS? The lower resolution tiles could me created by combini

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 ar

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 la

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 is

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 wit

Re: [mapserver-users] Mapcache and partial reseeding

2013-06-07 Thread Rahkonen Jukka
en features? -Jukka- thomas bonfort wrote: On 7 June 2013 17:48, Rahkonen Jukka mailto: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

[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) Ca

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 char

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

2013-06-05 Thread Rahkonen Jukka
for instance." >From my experience the debugging document should 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 [

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

2013-06-04 Thread Rahkonen Jukka
uble with MS 6.2.1 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 > > (

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

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

2013-06-04 Thread Rahkonen Jukka
essed 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 mailto:jukka.rahko...@mmmtike.fi>> wrote:

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 anot

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

2013-06-03 Thread Rahkonen Jukka
l MapCache demo page: > 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 mailto:jukka.rahko...@mmmtike.fi>> wrote: Hi, Great, then you have made it. The message means

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

2013-06-03 Thread Rahkonen Jukka
> > -Steve > > On 6/3/2013 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 SUP

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

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

Re: [mapserver-users] Mapserver WMS Reprojection

2013-05-20 Thread Rahkonen Jukka
he BBOX must be sent > from Openlayers in degrees so I am think that this is where the problem is. > Maybe I cannot use MAXSCALEDENOM in these circumstances where I need > to serve in two projections. > > Many thanks. > > Regards, > > Donald > > > > ---

Re: [mapserver-users] Mapserver WMS Reprojection

2013-05-19 Thread Rahkonen Jukka
Hi, I do not see obvious error and the 900913 BBOX hit UK somewhere in Scotland so I guess that you have data there. I was thinking that the fake 900913 code is perhaps not included in the EPSG file and you should use EPSG:3785 instead but that case that would propably lead to some error messag

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 t

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 throug

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

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 pe

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

2013-04-25 Thread Rahkonen Jukka
ou use 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 test

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

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