Re: [mapserver-users] Problems with getting geojson running as WFS response

2014-07-26 Thread Rahkonen Jukka (Tike)
doesn’t use “MAXFEATURES” in my WFS-Request I get back a GeoJSON Response. Is that wanted behavior or do I miss something? Kind regards, JM Von: Jacob Mendt [mailto:jacobme...@googlemail.com] Gesendet: Dienstag, 22. Juli 2014 09:51 An: 'Rahkonen Jukka (Tike)'; mapserver-users@lists

Re: [mapserver-users] Dynamic GEOMTRANSFORM based on map scale

2014-07-22 Thread Rahkonen Jukka (Tike)
Hi, For my mind WFS delivers vector data who do not really have any scale but you may have some idea about how you define the scale. Perhaps like "Send me vectors for the same area than my raster background map which comes from WMS and has a scale of 1:x". However, I do not believe that WFS ser

Re: [mapserver-users] can't compile TinyOWS

2014-07-22 Thread Rahkonen Jukka (Tike)
Hi, I have just compiled TinyOWS on Ubuntu 14.04 and had to install flex, libxml2-dev and libpq-dev for making it success. -Jukka Rahkonen- Lime, Steve D (MNIT) wrote: > I think it’s looking for flex. Is it installed? From: mapserver-users-boun...@lists.osgeo.o

Re: [mapserver-users] Problems with getting geojson running as WFS response

2014-07-22 Thread Rahkonen Jukka (Tike)
Hi, Have you tried to request geojson with its MIMETYPE as &format=application/json; subtype=geojson ? -Jukka Rahkonen- Jacob Mendt wrote: > Hey List, > i am right now trying to bring get my Mapserver (Version 6.0.0) WFS running > with GeoJSON. But I always g

Re: [mapserver-users] TinyOWS: Axis order fix wanted

2014-07-03 Thread Rahkonen Jukka (Tike)
Olivier Courtin wrote: > > On Sat, Jun 28, 2014 at 11:38 PM, Even Rouault paris.org> wrote: > > > > The following pull request should fix Jukka's issue : > > > > https://github.com/mapserver/tinyows/pull/65 > > I've just commited the pull request. > Thanks for this one Even, > > > Jukka coul

Re: [mapserver-users] OGR/GeoJSON WRITE_BBOX

2014-06-30 Thread Rahkonen Jukka (Tike)
ility but Mapserver does not? From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Rahkonen Jukka (Tike) Sent: Monday, June 30, 2014 12:47 PM To: Tom; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] OGR/GeoJSON WRITE_BBOX

Re: [mapserver-users] Can't get mapcache/mapserver to properly display a map.

2014-06-30 Thread Rahkonen Jukka (Tike)
Hi, I sort of hate our Mapserver tutorials because they jump directly to some fancy advanced features which for sure look good when everything works but if not then the poor new users are left all alone. In your case something has lead you to use ridiculous BBOX. EPSG:4326 is using degrees a

Re: [mapserver-users] Can't get mapcache/mapserver to properly display a map.

2014-06-30 Thread Rahkonen Jukka (Tike)
Hi, Your URL is wrong. Read this also http://www.mapserver.org/mapcache/install.html and follow the examples. If you find that documantation is poor or wrong, suggest how to improve it. -Jukka Rahkonen- TrolliPolli wrote: Thank you for the response!

Re: [mapserver-users] OGR/GeoJSON WRITE_BBOX

2014-06-30 Thread Rahkonen Jukka (Tike)
Hi, About how to test if it is an OGR issue, make a test with OGR. Capture some data for example from some Geoserver WFS and convert it into geojson with ogr2ogr ogr2ogr -f geojson test.json -lco WRITE_BBOX=YES "http://demo.opengeo.org/geoserver/wfs?service=wfs&version=1.0.0&request=getfeature

Re: [mapserver-users] Can't get mapcache/mapserver to properly display a map.

2014-06-30 Thread Rahkonen Jukka (Tike)
Hi, Totally normal. That is how WMS is planned to work. Clien asks first "Hi there, server! Show me what you can!" and server answers. You will find plenty of good reading about WMS from the web including Mapserver documentation http://mapserver.org/ogc/wms_server.html. First hit for WMS + GetC

Re: [mapserver-users] large # of GeoTiffs mapfile/index strategy

2014-06-27 Thread Rahkonen Jukka (Tike)
Hi, Use gdaltindex with -t_srs http://www.gdal.org/gdaltindex.html and all your troubles are solved. Jukka Rahkonen Lähettäjä: Mark Korver Lähetetty: ‎27.‎6.‎2014 21:57 Vastaanottaja: mapserver-users

[mapserver-users] TinyOWS: Axis order fix wanted

2014-06-18 Thread Rahkonen Jukka (Tike)
Hi, If there is someone who knows how to fix WFS 1.1.0 axis order in TinyOWS with some projections, please contact me. I may be able to help with making it to happen. -Jukka Rahkonen- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org ht

[mapserver-users] Saving mapfiles into GPKG and Spatialite?

2014-06-18 Thread Rahkonen Jukka (Tike)
Hi, While playing with GPKG and Spatialite which offer a nice way for delivering data in ready-to-use format I have been wondering if it could be possible to store also mapfiles or GGIS project files and styles into the same database. Spatialite has a special tool for importing XML documents so

Re: [mapserver-users] Enhancing MapServer performance with GPUs

2014-06-17 Thread Rahkonen Jukka (Tike)
Hi, This reminds me that I wrote on 15th May, 2014 about slowish performance with png8 output when compared with gif. These reports are from the same situation http://latuviitta.org/documents/MS_64_gif.png http://latuviitta.org/documents/MS_64_png8.png Gif is not only faster but also much more s

Re: [mapserver-users] seems to be different render resolutions on lines VS areas

2014-06-16 Thread Rahkonen Jukka (Tike)
Hi, It would be nice to see a screen capture, my imagination may lead to rendering artifacts. -Jukka Rahkonen- Malm Paul wrote: Hi list. I have a problem, probable newbee fault... I render a map where I would like to have a 1 pixel grey contour in the borders of different colored areas. I'm g

Re: [mapserver-users] WFS and WMS

2014-06-13 Thread Rahkonen Jukka (Tike)
"gml_featureid" "PK_UID" ## REQUIRED END CLASS STYLE COLOR 100 200 100 END LABEL COLOR 150 150 150 OUTLINECOLOR 255 255 255 TYPE bitmap SIZE small POSITION UL #TEXT "[STATE_FIPS]" PARTIALS FALSE END

Re: [mapserver-users] WFS and WMS

2014-06-13 Thread Rahkonen Jukka (Tike)
amp;SRS=EPSG:4326&STYLES= -Jukka Rahkonen- Malm Paul wrote: Yes please, if you have one I would be grateful. /Paul From: Rahkonen Jukka (Tike) [mailto:jukka.rahko...@mmmtike.fi] Sent: den 13 juni 2014 14:30 To: Malm Paul; 'mapserver-users@lists.osgeo.org' Subject: Re: WFS and WMS

Re: [mapserver-users] WFS and WMS

2014-06-13 Thread Rahkonen Jukka (Tike)
Short answer: yes. However, you would perhaps like to see an example, or? -Jukka Rahkonen- Malm Paul wrote Hi list! Is it possible to combine configuration for both WFS and WMS in a mapfile? Thanks, /Paul ___ mapserver-users mailing list mapserver-u

Re: [mapserver-users] TileIndex - accuracy and truncation ?

2014-06-13 Thread Rahkonen Jukka (Tike)
Hi, I am sure that the accuracy of tileindex vectors does not make the trouble. The tileindex is only used for selecting which images will be needed for building the requested output image and this is done by selecting polygons which intersect with the requested BBOX. Once the correct image f

Re: [mapserver-users] Mapserver installation trouble in ubuntu server

2014-06-04 Thread Rahkonen Jukka (Tike)
Hi, I guess that you must tell Apache that mapserv should be run as cgi-bin script. I found the following snippet from httpd.cong file but that file is not in use and I do not know if it is valid. SetHandler cgi-script

Re: [mapserver-users] How to use ANNOTATION layer in combination with RASTER data?

2014-06-04 Thread Rahkonen Jukka (Tike)
Hi, I believe that Mapserver has many pieces for you but perhaps some work will be needed for putting them together. 1) For the first, the attribute name for some pixel value based stuff is "pixel". Here is an example about selecting a pixel value range: CLASSITEM "[pixel]" # class using an

Re: [mapserver-users] PostgreSQL on demo.mapserver.org down

2014-05-28 Thread Rahkonen Jukka (Tike)
MapServer Consulting and Training Services > http://www.gatewaygeomatics.com/ > > > > On 2014-05-28, 2:45 PM, Rahkonen Jukka (Tike) wrote: > > Hi Alex, > > > > PostgreSQL service on localhost, port 5432 does not accept connection from > user "www-data"

Re: [mapserver-users] PostgreSQL on demo.mapserver.org down

2014-05-28 Thread Rahkonen Jukka (Tike)
SM_Denver&STYLES=&CRS=EPSG:4326&BBOX=-105.208290,39.542378,-104.769779,39.980889&WIDTH=800&HEIGHT=800&FORMAT=image/png -Jukka- ____ Alex Mandel wrote: On 05/28/2014 07:58 AM, Rahkonen Jukka (Tike) wrote: > Hi, > > Mapserver demos at demo.ma

[mapserver-users] PostgreSQL on demo.mapserver.org down

2014-05-28 Thread Rahkonen Jukka (Tike)
Hi, Mapserver demos at demo.mapserver.org do not work because the PostgreSQL on the same machine has been down for some days. Could someone try to restart the database service? -Jukka Rahkonen- ___ mapserver-users mailing list mapserver-users@lists.os

Re: [mapserver-users] Can the PROCESSING layer attribute be set dynamically through (PHP) MapScript?

2014-05-28 Thread Rahkonen Jukka (Tike)
Hi, It would be easier to play with PROCESSING attributes if they could be changed with runtime substitution. Thomas Bonfort has written that any favorite MapServer provider can do the addition. http://lists.osgeo.org/pipermail/mapserver-users/2013-September/075342.html -Jukka Rahkonen- Jorri

[mapserver-users] Mapserver does not accept SLD that it creates herself

2014-05-22 Thread Rahkonen Jukka (Tike)
Hi, I found this one from stackexchange http://gis.stackexchange.com/questions/74846/error-using-sld-with-mapserver-based-wms-geobc/95945#95945 In short, Mapserver was asked to send a SLD file out with WMS GetStyles request but the very same Mapserver did not accept that SLD when it was used in

Re: [mapserver-users] About FILTER and FILTERITEM

2014-05-20 Thread Rahkonen Jukka (Tike)
Hi, Obviously I was wrong and concatenation works with MS 6.x series as suggested by Håvart Tveite: FILTER ("[STATE_NAME]"+"[STATE_FIPS]"="Illinois17") This is a good question to Mapserver Guru Quiz final (no internet connections allowed). -Jukka- Rahkone

Re: [mapserver-users] WFS with featureID, maxFeatures, & BBOX

2014-05-20 Thread Rahkonen Jukka (Tike)
Hi, Right, so it is written into WFS 1.1.0 standard (table 9a): FEATUREID (Mutually exclusive with FILTER and BBOX) You knew it, didn't you? Nobody says "mutually exclusive" in real life ;) -Jukka Rahkonen- Eichner, Andreas - SID wrote: > AFAIK FeatureID and BBOX are mutually exclusive. > __

Re: [mapserver-users] EPSG: 3844 problem

2014-05-16 Thread Rahkonen Jukka (Tike)
Hi, EPSG:3844 seems to be a system with Northing-Easting coordinate axis order: http://epsg-registry.org/report.htm?type=selection&entity=urn:ogc:def:crs:EPSG::3844&reportDetail=short&style=urn:uuid:report-style:default-with-code&style_name=OGP%20Default%20With%20Code&title=EPSG:3844 Two solutio

[mapserver-users] Slow output to PNG format with Mapserver 6.4

2014-05-15 Thread Rahkonen Jukka (Tike)
Hi, We were running speed tests with Mapserver 6.4 on Linux 64-bit and we found that WMS output to GIF and JPEG was much faster (+30% or more) and much more stable (less variation in response times) than png8 outputformat. I was surprised because I have not observed the same on Windows. However

Re: [mapserver-users] About FILTER and FILTERITEM

2014-05-14 Thread Rahkonen Jukka (Tike)
second option is a bit more performant, > especially in older versions. I guess my recommendation would be avoid FILTERs > unless you have a good reason to use them. > > Steve > > > From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-

Re: [mapserver-users] msCGILoadMap(): Web application error CGI variable "map" is not set

2014-05-14 Thread Rahkonen Jukka (Tike)
I don’t know what really fails because I have never used Mapserver this way. However, the error message seems to be true. When using Mapserver trough WMS the same message comes with a request http://hip.latuviitta.org/cgi-bin/mapserv?service=wms&version=1.3.0&request=getcapabilities If map paramet

Re: [mapserver-users] About FILTER and FILTERITEM

2014-05-14 Thread Rahkonen Jukka (Tike)
ON. > > I think it's the section of the document that is key - the "MapServer > Expressions" > section talks about using FILTER and EXPRESSION in more complex logical > expressions, where as the section you quoted is talking about basic string > comparison.

[mapserver-users] About FILTER and FILTERITEM

2014-05-14 Thread Rahkonen Jukka (Tike)
Hi, >From document page: http://mapserver.org/mapfile/expressions.html "To use a string comparison for filtering a LAYER, both FILTERITEM and FILTER must be set. FILTERITEM is set to the attribute name. FILTER is set to the value for comparison. The same rule applies to CLASSITEM in the LAYER ob

Re: [mapserver-users] MapServer calculates wrong WGS84BoundingBox for WCS request using EPSG:28992

2014-05-14 Thread Rahkonen Jukka (Tike)
Henri Tudor, 6A, avenue des Hauts-Fourneaux, L-4362 Esch-sur-Alzette, Luxembourg On 14 May 2014, at 10:49, Rahkonen Jukka (Tike) mailto:jukka.rahko...@mmmtike.fi>> wrote: Hi, Both my MS4W with Mapserver 6.3-dev and 6.4 on Linux use these definitions # Amersfoort / RD New <2

Re: [mapserver-users] MapServer calculates wrong WGS84BoundingBox for WCS request using EPSG:28992

2014-05-14 Thread Rahkonen Jukka (Tike)
Hi, Both my MS4W with Mapserver 6.3-dev and 6.4 on Linux use these definitions # Amersfoort / RD New <28992> +proj=sterea +lat_0=52.156160 +lon_0=5.387639 +k=0.079 +x_0=155000 +y_0=463000 +ellps=bessel +towgs84=565.417,50.3319,465.552,-0.398957,0.343988,-1.8774,4.0725 +units=

[mapserver-users] Time to make a new demo?

2014-05-14 Thread Rahkonen Jukka (Tike)
Hi, Mapserver documentation for the new users http://mapserver.org/introduction.html is having a title Get demo running. It contains a link to a zipped workshop material http://maps.dnr.state.mn.us/mapserver_demos/workshop-5.4.zip I am not sure if that workshop is a good starting point for the

[mapserver-users] Update MapServer in demo.mapserver.org?

2014-05-14 Thread Rahkonen Jukka (Tike)
Hi, I hope that right persons are reading this list. As a user I appreciate that there is a demo server online so I can try if some troubles we have are specific for us. However, the demo site demo.mapserver.org is running MapServer version 5.6.5 while we run 6.4 and those versions do not behav

Re: [mapserver-users] Mapserver shows all nodes on a GeometryCollection

2014-05-05 Thread Rahkonen Jukka (Tike)
Hi, Could you possibly show us the whole LAYER from your mapfile and one GeometryCollection as WKT? Perhaps someone gets interested in making some trials. Do you feel that there is something odd with your sample SQL? For me it looks like your GeometryCollection has one point, one linestring an

Re: [mapserver-users] [MS-master] SLD request and style + label behaviour

2014-05-03 Thread Rahkonen Jukka (Tike)
Hi, First thing to check is if OSM buildings really have names in the data or maybe test by using osm_id as labelitem because it for sure exists for all the buildings. Other things to do is to add also DEBUG 5 into your layer, check that ms_errorfile is set and see what messages it collects. Hm

Re: [mapserver-users] Beginning MapServer User needs help

2014-04-24 Thread Rahkonen Jukka (Tike)
Hi, I am willing to help but I would rather do it in some other way than trying to make that tutorial to work. For my mind it has been a good start as a tutorial but it has never been ready enough to be given for the beginners and now it is also outdated. - Mapfile is not valid because it does

Re: [mapserver-users] Exclude one layer's class from GetLegendGraphics

2014-04-09 Thread Rahkonen Jukka (Tike)
Hi, For the first question I am remembering that only classes with NAME go to the legend. I may be wrong but you can try it easily. -Jukka Rahkonen- gorank wrote: > > Actually i have to questions: > > 1). I have mapfile with few layers. In one layer I have 5 classes with > expresions. > Whe

Re: [mapserver-users] [mapserver-dev] Postgis, WFS and 3D coordinates

2014-04-04 Thread Rahkonen Jukka (Tike)
Hi, I wonder why nobody seems to remember that we have TinyOWS in the family too? I made a test layer for you, try it http://hip.latuviitta.org/cgi-bin/tinyows?service=wfs&version=1.1.0&request=GetFeature&typename=lv:swamp_3d_test&maxFeatures=10 I CC:ed MapServer users list because this is some

Re: [mapserver-users] WMS Server Optimization?

2014-04-03 Thread Rahkonen Jukka (Tike)
Hi, You seem to use the name of the whole service "rastersample" in &layer=. That will mean that all layers on the service are requested. And then you control the 5 and 2 m layers by using min/maxgeowidth in layers. I have never tried such configuration myself but probably it should work. Howev

Re: [mapserver-users] WMS Server Optimization?

2014-04-03 Thread Rahkonen Jukka (Tike)
Hi, AutoCAD is making funny requests: same BBOX but four different image size. Probably it is building a local cache from the maps for making zooming and panning fluent later, and perhaps it wants to fetch a high resolution image so that it can create better quality printouts. Anyway, the seco

Re: [mapserver-users] WMS Server Optimization?

2014-04-02 Thread Rahkonen Jukka (Tike)
Hi, Check from the Apache access.log what kind of WMS requests AutoCad is sending. That should give a hint about how it is so heavy. Png format is about the worst of all for server usage because the whole image data must be decompressed for each request. You will find easily recipes for creat

Re: [mapserver-users] Processing JP2000 files

2014-03-31 Thread Rahkonen Jukka (Tike)
lly they get an update before we have to get > more files from them. > Thanks, > James > > > > > From: Rahkonen Jukka (Tike) [jukka.rahko...@mmmtike.fi] > Sent: Friday, March 21, 2014 7:53 AM > To: EVANS, JAMES R GS-13 USAF ACC 84 RAD

Re: [mapserver-users] Converting PDF files to GeoTiff

2014-03-21 Thread Rahkonen Jukka (Tike)
hat > serves them up for free. > > > Mike > Houston, TX > > > On 3/21/2014 8:53 AM, mapserver-users-requ...@lists.osgeo.org wrote: > > Date: Fri, 21 Mar 2014 12:21:30 + > > From: "EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE" > > >

Re: [mapserver-users] Processing JP2000 files

2014-03-21 Thread Rahkonen Jukka (Tike)
with much smaller image was 3 minutes. You have 40 files... -Jukka Rahkonen- > -Alkuperäinen viesti- > Lähettäjä: EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE > [mailto:james.evan...@us.af.mil] > Lähetetty: 21. maaliskuuta 2014 14:22 > Vastaanottaja: Rahko

Re: [mapserver-users] Processing JP2000 files

2014-03-21 Thread Rahkonen Jukka (Tike)
SOT marker detected: Psot=12. > > So, I have 400,000 of these JP2000 images, equally 4.3TBs of data. Should I > consider a massive batch conversion to JPG or Geotiff, or is there some way to > get the JP2OpenJPEG driver to play nice with these files? > > Thanks, > Jame

Re: [mapserver-users] Processing JP2000 files

2014-03-20 Thread Rahkonen Jukka (Tike)
Hi, Are your JPEG2000 images the same? SOT marker is JPEG2000 stuff and it means "start of tilepart". If images are the same then the message means that something has changed in GDAL part. GDAL has several JPEG200 drivers and they all behave in a bit different way. Check which driver you have

Re: [mapserver-users] Migrating from MS4W to GISInternals

2014-03-17 Thread Rahkonen Jukka (Tike)
Hi, By looking at the Apache httpd.cong from MS4W I can see these two # set GDAL_DATA environment variable to location of supporting gdal files SetEnv GDAL_DATA "/ms4w/gdaldata" # set GDAL_DRIVER_PATH environment variable for gdal plugins SetEnv GDAL_DRIVER_PATH "/ms4w/gdalplugins" Perhaps you s

Re: [mapserver-users] join shp with csv

2014-03-13 Thread Rahkonen Jukka (Tike)
Hi, I have had no time to look at your files but I see that ogrinfo reports osm_id as a string. Write .csvt file http://www.gdal.org/ogr/drv_csv.html for converting it to integer, perhaps join requires same data types. -Jukka Rahkonen- Jörg Thomsen wrote: > Hello Jeff, > > yes, this looks be

Re: [mapserver-users] Layer with point from X and Y columns in

2014-03-13 Thread Rahkonen Jukka (Tike)
Hi, There is another way by using a GDAL virtual format http://www.gdal.org/ogr/drv_vrt.html. But it does not really make much sense to have a spatial table in Oracle that is to be used for rendering maps without having a spatial index. Without spatial index the BBOX of the map cannot be conver

Re: [mapserver-users] join shp with csv

2014-03-13 Thread Rahkonen Jukka (Tike)
Hi, Could you send the whole LAYER section? And if you can put a small shapefile to download I can have a try. About ogrinfo, your command is searching for layer "lookup" from csv file join.csc. It does not have such layer, it has exactly one layer and it is "join". So do ogrinfo join.csv join

Re: [mapserver-users] Raster Data

2014-03-12 Thread Rahkonen Jukka (Tike)
Hi, Standard recipe is to use tiled tiff file with overviews, perhaps both compressed. Uncompressed: gdal_translate -of GTiff -co tiled=yes -co bigtiff=yes image.png image.tif gdaladdo -r average image.tif 2 4 8 16 32 64 128 256 You may want to save space by making a compressed tiff. If it is

Re: [mapserver-users] Upgrading Apache and PHP that came with MS4W

2014-02-27 Thread Rahkonen Jukka (Tike)
Hi James, Nobody answered for you so supposedly that means that the answer is: No, there are no documents and probably no compiled Mapcache binaries available for Windows. I managed to install Apache and Mapserver 6.4.1 from with the OSGeo4W installer. Also daily development buids of Mapserver

Re: [mapserver-users] WMS image display

2014-02-25 Thread Rahkonen Jukka (Tike)
Hi, Overviews help at small scales. Let's assume that you have orthophotos with 1 meter native pixel size. If you want to show a 10x10 km area in a 500x500 pixel sized box in your application, it means that the pixel size of the output it 20 m. It is heavy to read 1x1 native pixels and

Re: [mapserver-users] layer mask without clipping

2014-02-25 Thread Rahkonen Jukka (Tike)
I think that masked areas would simply appear semi-transparent, not totally hidden. -Jukka Rahkonen- thomas bonfort wrote: > > Lars, > I don't understand what you're trying to obtain. Can you clarify and/or post a > couple screenshots? > > -- > thomas > > On 25 February 2014 09:58, Lars Lingn

Re: [mapserver-users] Mysql Ogr Error

2014-02-16 Thread Rahkonen Jukka (Tike)
osgeo.org> Aihe: Re: [mapserver-users] Mysql Ogr Error regarding your suggestion on changing 'name' to something else I already Did it. Rahkonen Jukka (Tike) wrote > What did you mean with that? Mapserver reads MySQL through GDAL so you > should compile GDAL with MySQL and Mapse

Re: [mapserver-users] Mysql Ogr Error

2014-02-16 Thread Rahkonen Jukka (Tike)
ping "name". It means 10 seconds work for you to edit your mapfile and try. That is not much wasted time at all even if it had no effect at all. -Jukka Rahkonen- -Jukka Rahkonen- rkrojero wrote: > Hi Jukka, > > Thanks for the quick response. Regarding the the reserve 'nam

Re: [mapserver-users] Mysql Ogr Error

2014-02-15 Thread Rahkonen Jukka (Tike)
Hi, "Name" is sometimes a reserved keyword. I don't know about MySQL, but I would have a try with escaped "name" or 'name'. -Jukka Rahkonen- rkrojero wrote: > > Hi guys im getting an error on mapserver version 6.2.1 on ogr connection > > msDrawMap(): Image handling error. Failed to draw la

Re: [mapserver-users] Problem using WMS GetFeatureInfo in OpenLayers with different projections

2014-02-14 Thread Rahkonen Jukka (Tike)
was only consideration without real knowledge. I based it on what I understood from this recent RFC http://mapserver.org/development/rfc/ms-rfc-107.html -Jukka Rahkonen- Dejan Gambin wrote: > > I've upgraded to 6.4 and seems fine now > > > On 13. vel. 2014., at 16:09, Rahkonen

Re: [mapserver-users] Problem using WMS GetFeatureInfo in OpenLayers with different projections

2014-02-13 Thread Rahkonen Jukka (Tike)
n/mywms/?SERVICE=WMS&VERSION=1.1.1&REQUEST=G > > > etMap&LAYERS=aster_dem_info&STYLES=&SRS=EPSG:4326&FORMAT=image/p > ng&WID > > TH=400&HEIGHT=300&BBOX=13.439518,44.712096,14.318424,45.178647 > > > > Working GetFeatureInfo request in

[mapserver-users] What is the best way to test development versions on Windows?

2014-02-13 Thread Rahkonen Jukka (Tike)
Hi, I would like to test the new dynamic heatmaps http://mapserver.org/development/rfc/ms-rfc-108.html but I am on Windows and Mapserver project is not extremely Windows friendly nowadays. Ideal for users like me would be to have for example weekly builds which could be installed like MS4W - u

Re: [mapserver-users] Dual role of LAYER is confusing

2014-02-11 Thread Rahkonen Jukka (Tike)
t; You already have this in a fashion. > > Your DATADEFSET is a folder. > And you DATADEF is called INCLUDE > > So create a layer_name.def files for each of your layer data sources INCLUDE > "datadefset/layer_name.def" > in your layer definitions. > > -Steve

Re: [mapserver-users] Dual role of LAYER is confusing

2014-02-11 Thread Rahkonen Jukka (Tike)
into DATADEF. SQL select could come from DATADEFFILTER. It would give a possibility to re-use a common database connection in a mapfile but create layers by adding one line for unique selects. Unfortunately the DATADEFFILTER would probably not work if DATADEF is changed to read data from a

Re: [mapserver-users] Serving tiled image sets with MapServer?

2014-02-10 Thread Rahkonen Jukka (Tike)
Hi, First step is to follow the GDAL WMS driver page examples and write a XML configuration file for your tile service. Let's call it my_service.xml. You can test if the file is correct with GDAL utility programs. If "gdalinfo my_service.xml" is listing info about your service and "gdal_transla

[mapserver-users] Dual role of LAYER is confusing

2014-02-10 Thread Rahkonen Jukka (Tike)
Hi, In most cases in Mapfile LAYER is defining the output of the service. However, it looks like the original way to use DATA has not been flexible enough to suit new sources of data and as a workaround one layer is used as an input for another layer. For example if a shapefile is used as tilei

Re: [mapserver-users] MapServer should not collapse geometries in same layer class

2014-02-07 Thread Rahkonen Jukka (Tike)
Hi, I made a quick test. SYMBOL NAME "arrow-end" TYPE vector FILLED true POINTS 0 0.4 3 0.4 3 0 5 0.8 3 1.6 3 1.2 0 1.2 0 0.4 END # POINTS ANCHORPOINT 1 0.5 END # SYMBOL

Re: [mapserver-users] How to change output from selectOutputFormat('PNG32')?

2014-02-07 Thread Rahkonen Jukka (Tike)
Hi, Unfortunately I do not know your script. In a basic WMS usage the available formats are announced in GetCapabilities (hmm, seems to be version 5.6.5...) http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=Getcapabilities So if this is the default 8-bit png http://demo.map

Re: [mapserver-users] MapServer should not collapse geometries in same layer class

2014-02-07 Thread Rahkonen Jukka (Tike)
Hi, If the aim is to see objects end, isn't GEOMTRANSFORM END just perfect for that? http://www.mapserver.org/mapfile/style.html "end: produces the last point of the current feature geometry. When used with ANGLE AUTO, it can for instance be used to render arrowheads on line segments." -Jukka R

Re: [mapserver-users] Serving tiled image sets with MapServer?

2014-02-06 Thread Rahkonen Jukka (Tike)
Hi, It might be possible by reading the disk cache through GDAL WMS driver "TMS minidriver" http://www.gdal.org/frmt_wms.html. However, I do not know if it can be configured to read tiles from local file system. The place to do that would probably be the ServerUrl part. 1 http://s0.tileserv

Re: [mapserver-users] Make MapServer trust self-signed certificate on Windows

2014-02-06 Thread Rahkonen Jukka (Tike)
ar way but I would make a quick test first. -Jukka Rahkonen- Lähettäjä: robertas.ker...@bentley.com [mailto:robertas.ker...@bentley.com] Lähetetty: 6. helmikuuta 2014 10:54 Vastaanottaja: Rahkonen Jukka (Tike); mapserver-users@lists.osgeo.org Aihe: RE: [mapserver-users] Make MapServer trust s

Re: [mapserver-users] Make MapServer trust self-signed certificate on Windows

2014-02-06 Thread Rahkonen Jukka (Tike)
Hi, I seem to have this setting done in Apache's httpd.conf file as SetEnv CURL_CA_BUNDLE "d:/Program Files/ms4w/Apache/conf/ca-bundle/cacert.pem" Check if that works better, or if there happens to be a line already overriding your system wide setting. -Jukka Rahkonen- robertas.ker...@bentley

[mapserver-users] Status of TinyOWS and support for paging

2014-02-01 Thread Rahkonen Jukka (Tike)
Hi, Last commit to TinyOWS was over one year ago. Does it mean that the status of the project is "DONE" or "DEAD"?. Adding support for WFS paging is in the issue list list https://github.com/mapserver/tinyows/issues/45 That feature would be really nice to have as vendor parameter in WFS 1.0.0 a

Re: [mapserver-users] [mapserver-dev] RFC-108 : heatmap generation

2014-01-31 Thread Rahkonen Jukka (Tike)
Thomas Bonfort wrote: > Hi Jukka, > Thanks for the comments, which I mostly agree with. I should clearly > remove references to the the term of "interpolation" as it does not > apply to the proposed solution. Concerning the "heatmap" term that > should be replaced by "kernel density" that could b

Re: [mapserver-users] how to map_layer_class_name in 6.4.0?

2014-01-30 Thread Rahkonen Jukka (Tike)
lass_name in 6.4.0? > > looking through the code, you are allowed to update the class->title, however > you must supply a "title" validation entry for it (set it to ".*" if you want > to allow > any title) > > -- > thomas > > On 30/01/2014

Re: [mapserver-users] how to map_layer_class_name in 6.4.0?

2014-01-30 Thread Rahkonen Jukka (Tike)
Hi, Let's try to make more people involved. We have a server to play with online, so everybody can have a try. Let's have a look at the default legend item http://demo.mapserver.org/cgi-bin/foss4g?REQUEST=GetLegendGraphic&SERVICE=WMS&VERSION=1.1.1&LAYER=Land&FORMAT=image/png It is possible to ch

Re: [mapserver-users] how to map_layer_class_name in 6.4.0?

2014-01-29 Thread Rahkonen Jukka (Tike)
Hi, This has worked for me sometimes &map.layer[osm_points].class[0].style[0]=+COLOR+0+255+0 I have copy-pasted and modified it from somewhere and I do not understand why it works but by looking at it counting classes and styles start from zero and I would have a try with "=+NAME+new_name". -

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread Rahkonen Jukka (Tike)
Oh, I thought you had something interesting :) If that little shapefile was slow you for sure had no qix index on that. One shapefile will be good for you but ogrtileindex is about as good alternative and if you have faulty data in some of the 6000 original shapefiles you can correct just those

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread Rahkonen Jukka (Tike)
Hi, I am almost sure that the 260 GB shapefile was not valid. The shp part has an absolute limit at 8 GB but it can also be limited to 4 GB or 2 GB http://www.gdal.org/ogr/drv_shapefile.html. The dbf part has no limits so I believe that you had all the attributes in a huge dbf file but only the

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

2014-01-29 Thread Rahkonen Jukka (Tike)
I have the same issue. It seems that namespace header are not correct > > (just a guess, I could be wrong). > > > > Changing wms_inspire_capabilities from "embed" to "url" make a correct > > GetCapabilities. > > > > I can fill an issu

Re: [mapserver-users] Installing mapserver 6.4 with cmake - custom library paths

2014-01-29 Thread Rahkonen Jukka (Tike)
Hi, I do not understand these things at all but I found our log file for CentOS and dislike your command is starts with “make clean”. Here is a part of the log. Custom library paths have been stored before this into "$GEOS;$PROJ;$GDAL; make clean >/dev/null 2>&1 rm -rf CMakeFiles CMakeCache.txt

Re: [mapserver-users] wcs 1.0.0 bbox problem

2014-01-29 Thread Rahkonen Jukka (Tike)
Hi, I wonder where BBOX (-2.5,-2.5,2.5,2.5) comes. If Mapserver is generating it automatically then it feels like a bug. Your request does not contain BBOX at all and it is OK because it has TIME, and WCS 1.0.0 standard says "One of BBOX or TIME is required". CRS is required but because ther

Re: [mapserver-users] Variable substitution in CONNECTION string on cascading WMS?

2014-01-28 Thread Rahkonen Jukka (Tike)
ve D wrote: > > Validation is required for substitution to work... -Steve > > From: mapserver-users-boun...@lists.osgeo.org [mapserver-users- > boun...@lists.osgeo.org] on behalf of Rahkonen Jukka (Tike) > [jukka.rahko...@mmmtike.fi] > Sent: Monday,

Re: [mapserver-users] really huge maps / MAXSIZE

2014-01-28 Thread Rahkonen Jukka (Tike)
Lars Lingner wrote: > Hello MapServer users, > > with the MAXSIZE parameter I can limit the output size. Does the value depend > only on the available memory? When I set it to high, MapServer is crashing. > > I was wondering if there is an option to force MapServer to use an additional > (slow)

Re: [mapserver-users] Variable substitution in CONNECTION string on cascading WMS?

2014-01-27 Thread Rahkonen Jukka (Tike)
Hi, Documentation says that CONNECTION in one place where it is supported so have a try http://mapserver.org/cgi/runsub.html. Validation may be needed or not, I am not sure how to interpret the documentation but you will notice it soon. Take a habit to use DEBUG 5 and read your errorfile while

Re: [mapserver-users] One table with multiple GeometryColumns

2014-01-27 Thread Rahkonen Jukka (Tike)
Hi, So I guess that you have all the thousands of our Finnish lakes in your database and you have reprojected the native 3067 geometries into 4326 and 3857 as new columns? This is unnecessary work because Mapserver can reproject in-the-fly to other projections. All you need is to give the list

Re: [mapserver-users] Why CRS bounding boxes do not suit?

2014-01-23 Thread Rahkonen Jukka (Tike)
covered be the grid shift file. It may also be a bad idea because Mapserver admin could think that the sparse grid shift file is OK and has some effect on transformations also beyond its extents. What do you think? -Jukka Rahkonen- Rahkonen Jukka (Tike) wrote: > > Hi, > > I

[mapserver-users] Why CRS bounding boxes do not suit?

2014-01-23 Thread Rahkonen Jukka (Tike)
Hi, I wonder what goes wrong with calculating the extra bounding boxes into WMS GetCapabilities. For example here I have set the wms_extent in the layer metadata as "wms_extent" "19970 6597278 749676 7785300" in EPSG:3067 units. Let's check the corresponding values in EPSG:2393 cs2cs +init=epsg

Re: [mapserver-users] TinyOWS insert feature not working

2014-01-22 Thread Rahkonen Jukka (Tike)
Hi, You can try if you can have success with my server http://hip.latuviitta.org/cgi-bin/tinyows Kosmo GIS which is an excellent open source GIS client for WFS creates the following request. Compare and see if you'll find something interesting. http://latuviitta.fi/"; xmlns:gml="http://www.ope

[mapserver-users] How to throttle msProjectPoint() errors?

2014-01-22 Thread Rahkonen Jukka (Tike)
Hi, I get quite a lot of errors into the error log probably because WMS users send requests which are partly or totally outside the area that is valid for the projection. From what I see the service is still usable. It would be OK to get one message line into the errorlog for each request but n

Re: [mapserver-users] How to use/offer multiple projections in mapfile for WMS

2014-01-22 Thread Rahkonen Jukka (Tike)
Hi, You must use the projection block also in each layer. You seem to tried that so take the comments out from there. Without telling in which projection the layer source data is Mapserver can't project it to other systems. By a quick look your mapfile should work. An empty map may mean that

Re: [mapserver-users] Mapserver WMS time support with Oracle

2014-01-21 Thread Rahkonen Jukka (Tike)
Hi, Perhaps you can select the time into a format that Mapserver likes in your DATA by using to_char? http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions180.htm -Jukka Rahkonen- D. Nappo wrote ...but unfortunately MapServer wms time support doesn't include that format: http://map

Re: [mapserver-users] Problem using WMS GetFeatureInfo in OpenLayers with different projections

2014-01-17 Thread Rahkonen Jukka (Tike)
Hi, Please show us the complete GetFeatureInfo requests for both cases. Server urls are not interesting but all the WMS parameters. Have you already tried to send them from browser? Testing with OpenLayers is waste of time because you can't control what really happens but with hand written requ

Re: [mapserver-users] Clickable label

2014-01-14 Thread Rahkonen Jukka (Tike)
Hi, Andrea Aime implemented a system like that into Geoserver a month ago http://sourceforge.net/mailarchive/forum.php?thread_name=etPan.52b0c830.643c9869.aef%40Liberi.local&forum_name=geoserver-devel Perhaps that can give some inspiration. -Jukka Rahkonen- Basques, Bob (CI-StPaul) wrote: > >

Re: [mapserver-users] MspServer Cluster Problem.

2014-01-09 Thread Rahkonen Jukka
Hi, Perhaps you use something like OpenLayers as a client and it makes 256 by 256 pixel sized GetMaps? Have you tried with some GIS client like OpenJUMP or QGIS, or set OpenLayers into single tile? -Jukka Rahkonen- LewInMadrid [lcl...@genasys.com] wrote

Re: [mapserver-users] Intersect and Union with mapserver

2014-01-06 Thread Rahkonen Jukka
saka royban wrote: > Finally, as Jukka talked about QGIS. This is a little confusing to me. In a > web mapping application which is implemented by MapServer, Can we rely on > QGIS capabilities and use the in our application? If so, how would be the > connection between MapServer and QGIS. I want

[mapserver-users] Automatic simplification based on resolution

2013-12-31 Thread Rahkonen Jukka
Hi, Mapnik has such a feature http://blog.cartodb.com/post/20163722809/speeding-up-tiles-rendering Andrea Aime is experimenting with it with Geoserver and is reaching a 50% speedup. http://osgeo-org.1560.x6.nabble.com/Some-interesting-optmizations-from-Jonathan-s-load-test-td5095839.html Can Map

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