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

[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

[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

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=

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

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

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

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

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

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

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

[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

[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

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

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] 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, 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] 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] 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] 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] 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] 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] 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] 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] invalid location of WFS-transaaction.xsd

2014-08-03 Thread Rahkonen Jukka (Tike)
Hi, I would read http://mapserver.org/tinyows/configfile.html and then try to edit the tinyows.xml file from http://127.0.0.1/cgi-bin/tinyows"; schema_dir="/usr/local/tinyows/schema/"> -Jukka Rahkonen- Jachym Cepicky wrote: > Hi, > having a

Re: [mapserver-users] creating new feature via tinyows and WFS-T

2014-08-03 Thread Rahkonen Jukka (Tike)
I wonder if it is OK to have two "feature" elements nested in Insert. -Jukka Rahkonen- Lähettäjä: Jachym Cepicky Lähetetty: ‎3.‎8.‎2014 16:24 Vastaanottaja: mapserver-users@lists.osgeo.org Ai

Re: [mapserver-users] creating new feature via tinyows and WFS-T

2014-08-03 Thread Rahkonen Jukka (Tike)
&NAMESPACE=xmlns(lv=http://latuviitta.fi/) http://latuviitta.fi/";>http://latuviitta.fi/";>http://www.opengis.net/gml"; srsName="EPSG:3067"> 247061.006,7090329.492 -Jukka Rahkonen- ____ Lähettäjä: Jachym Cepicky [jachym.cep

Re: [mapserver-users] MapServer for Windows

2014-08-05 Thread Rahkonen Jukka (Tike)
Hi, The ”relevant binaries” means copying into the cgi-bin directory of MS4W all the .dll files from \release-1600-gdal-mapserver.zip\bin\ as well as mapserv.exe from \release-1600-gdal-mapserver.zip\bin\ms\apps\. I believe that 32-bit binaries must be used. I made a short test with my old MS

Re: [mapserver-users] MapServer reference/demo mapfile and data

2014-08-06 Thread Rahkonen Jukka (Tike)
Hi, Great idea. How about trying to show that the “OSGeo umbrella” could mean something real? Geoserver has a set of vectors and rasters in the “data_dir” directory of the standard delivery and I believe that the IP rights of those have been checked. Deegree has also four demo workspaces and do

[mapserver-users] GetFeatureInfo error with native vector tileindex

2014-08-11 Thread Rahkonen Jukka (Tike)
Hi, I have something like 1 shapefiles which I have combined to one layer with a tileindex shapefile which is created with ogrtindex utility. I can make WMS to render the layer fine both with the native Mapserver tileindex connection and by reading the tileindex with OGR by using CONNECTION

Re: [mapserver-users] GetFeatureInfo error with native vector tileindex

2014-08-12 Thread Rahkonen Jukka (Tike)
Even Rouault wrote: > Le lundi 11 août 2014 15:13:47, Rahkonen Jukka (Tike) a écrit : > > Hi, > > > > I have something like 1 shapefiles which I have combined to one > > layer with a tileindex shapefile which is created with ogrtindex > > utility. I can make

Re: [mapserver-users] MapServer reference/demo mapfile and data

2014-08-13 Thread Rahkonen Jukka (Tike)
with simple examples the data are not so important in most cases. Maybe we start a mapserver.demo repo on github? Steve From: mapserver-users-boun...@lists.osgeo.org<mailto:mapserver-users-boun...@lists.osgeo.org> [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Rahkonen

Re: [mapserver-users] Multiline string error

2014-08-13 Thread Rahkonen Jukka (Tike)
Hi, I would put this into MAP level CONFIG "CPL_DEBUG" "ON" and then at layer level DEBUG 5 -Jukka Rahkonen- Ian Walberg wrote: > Steve, > > We will add some debug to the OGR read later today or tomorrow. > > How do I turn on the maximum debug? > > Thanks > > Ian > > -Original Messag

Re: [mapserver-users] Multiline string error

2014-08-14 Thread Rahkonen Jukka (Tike)
Hi, This was fun, I had never tried anything like this before. Works for me on Windows with a week old Mapserver build from gisinternals. Big thanks for Tamas for the builds by the way. -Jukka- > -Alkuperäinen viesti- > Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mailto:mapserv

Re: [mapserver-users] Postgis Tile Index

2014-08-20 Thread Rahkonen Jukka (Tike)
Perhaps it is something like this (from http://trac.osgeo.org/gdal/wiki/frmts_wtkraster.html) “Reading raster data from the database If you want to use the GDAL WKT Raster driver, you must provide a connection string as Dataset's name. The syntax of this connection string is (the quotes may be

Re: [mapserver-users] Postgis Raster Layer

2014-08-20 Thread Rahkonen Jukka (Tike)
I bet that 0 0 0 is interpreted as nodata for some reason. -Jukka Rahkonen- Lähettäjä: Dave Barter Lähetetty: ‎20.‎8.‎2014 19:01 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [mapser

Re: [mapserver-users] [mapserver-dev] FW: WMS request fails when spaces are encoded as plus symbol in query part of URL

2014-08-21 Thread Rahkonen Jukka (Tike)
the new, or both, or neither. Should ther be a RFC2396/RFC3986 switch for selecting the URL-encoding method to use? Or is RFC2396 deprecated and ESRI is doing the right thing by supporting only RFC3986 and Mapserver should do the same? -Jukka Rahkonen- Rahkonen Jukka wrote: > > H

Re: [mapserver-users] [mapserver-dev] FW: WMS request fails when spaces are encoded as plus symbol in query part of URL

2014-08-21 Thread Rahkonen Jukka (Tike)
t; compact URLs. MapServer CGI processing handles %20 or +... > > Adding a switch to toggle + vs %20 encoding would be painful. > > Steve > > -Original Message- > From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users- > boun...@lists.osgeo.org] On Beh

Re: [mapserver-users] [mapserver-dev] FW: WMS request fails when spaces are encoded as plus symbol in query part of URL

2014-08-21 Thread Rahkonen Jukka (Tike)
ade layers and the reason is probably the same. Does anybody know where the ESRI bug tracker is? I would like to file a ticket. -Jukka- Rahkonen Jukka wrote: > > Hi, > > What if I have mapfiles in directories "my mapfiles" and in "my+mapfiles" > (made >

Re: [mapserver-users] [mapserver-dev] FW: WMS request fails when spaces are encoded as plus symbol in query part of URL

2014-08-26 Thread Rahkonen Jukka (Tike)
ybody know where the ESRI bug tracker is? I would like to file a ticket. -Jukka- Rahkonen Jukka wrote: > > Hi, > > What if I have mapfiles in directories "my mapfiles" and in "my+mapfiles" > (made > a test and they seem to be OK for Windows) and I use WMS u

Re: [mapserver-users] NoData Gap between rasters - Tileindex Layer

2014-08-29 Thread Rahkonen Jukka (Tike)
Hi, Run gdalwarp with -tr and -tap http://www.gdal.org/gdalwarp.html. Usually it helps. -Jukka Rahkonen- Bartlomiej Burkot wrote: Dear MS Users I have a set of rasters which I warped to epsg:3857 projection using gdalwarp. During the reprojecting the new raster had been rotated by small angle

Re: [mapserver-users] Raster projection troubles - empty image by projection epsg:31255

2014-09-02 Thread Rahkonen Jukka (Tike)
Hi, Your system seems to have Northing-Easting axis order http://epsg-registry.org/report.htm?type=selection&entity=urn:ogc:def:crs:EPSG::31255&reportDetail=short&style=urn:uuid:report-style:default-with-code&style_name=OGP%20Default%20With%20Code&title=EPSG:31255 Check if your BBOX has north co

Re: [mapserver-users] Oracle layer partially drawn

2014-09-03 Thread Rahkonen Jukka (Tike)
Hi, Could you have arcs in the linestrings in Oracle? I think that Mapserver supports only " Line string whose vertices are connected by straight line segments." http://docs.oracle.com/cd/B28359_01/appdev.111/b28400/sdo_objrelschema.htm#SPATL494 I am not sure, though, and our documents, which

Re: [mapserver-users] Oracle layer partially drawn

2014-09-03 Thread Rahkonen Jukka (Tike)
Hi, Things to try: - Check by other means that your Oracle table really has all the data,. - Keep DEBUG 5 on. - Try if OGR connection gives the same result. - Debug OGR connection more by adding CONFIG "CPL_DEBUG" "ON". - Remove min/maxscaledenoms (even they do not cause the trouble, otherwise y

Re: [mapserver-users] Oracle layer partially drawn

2014-09-03 Thread Rahkonen Jukka (Tike)
Hi, For minimizing the possibility that it is some projection error, could you do the import again by adding -lco SRID=4326 into the ogr2ogr command? Drop the old table first and delete the corresponding row from ALL_SDO_GEOM_METADATA. -Jukka- > -Alkuperäinen viesti- > Lähettäjä: mapse

Re: [mapserver-users] Oracle layer partially drawn

2014-09-09 Thread Rahkonen Jukka (Tike)
Hi, Perhaps good news is that I could reproduce the issue with your data and mapfile on out Oracle 11g and with some old MS4W version. Connection with Oracle works but at small scales only part of points are rendered. Rendered points are inside rectangular boxes and there can be 1-3 boxes on th

Re: [mapserver-users] Clickable label

2014-09-09 Thread Rahkonen Jukka (Tike)
Hi, Geoserver 2.5 came with improved GetFeatureInfo http://blog.geoserver.org/2014/05/21/geoserver-2-5-1-released/ "New implementation of GetFeatureInfo that takes into account symbol shapes, offsets, and dynamic line widths into account" Just a couple of weeks ago I published a biggish vector

Re: [mapserver-users] WMS & MSSQL Question

2014-09-09 Thread Rahkonen Jukka (Tike)
Hi, Probably your layers have not STATUS DEFAULT http://mapserver.org/de/faq.html#what-does-status-mean-in-a-layer. Change the status to DEFAULT or add &layers=all into your request. -Jukka Rahkonen- Tim Nasman wrote: Hello, So I have been slowly learning th

Re: [mapserver-users] NoData Gap between rasters - Tileindex Layer

2014-09-10 Thread Rahkonen Jukka (Tike)
Hi, The image "two_separate_files.png" reveals the reason. If you look at the seam between the images the left side image and right side images do not share the same common canvas (pixels are not placed into same common grid). The area that you have marked as "000 nodata" has not received any i

[mapserver-users] Add the easy way to get GeoJSON from WFS into documentation

2014-09-15 Thread Rahkonen Jukka (Tike)
Hi, I suggest to add most parts of the mail from Michael Smith http://lists.osgeo.org/pipermail/mapserver-users/2013-November/075559.html into Mapserver WFS server document http://mapserver.org/ogc/wfs_server.html. It is about an easy way for making Mapserver to serve GeoJSON from WFS. Actually

Re: [mapserver-users] Label wrapping question

2014-09-24 Thread Rahkonen Jukka (Tike)
Hi, Send us some screen captures of wrapped labels before and after your change. I feel that your change would make sense. -Jukka Rahkonen- Dejan Gambin wrote: > In the meantime, I have slightly changed msWrapText() function in maplabel.c > to > get what I wanted. If someone is interested I

[mapserver-users] LAYER example for kernerdensity wanted

2014-09-27 Thread Rahkonen Jukka (Tike)
Hi, I am running MapServer version 6.5-dev on Windows and I suppose it has the support for kerneldensity layers. Could someone show the LAYER part that works with the Natural Earth populated places dataset http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_1

Re: [mapserver-users] LAYER example for kernerdensity wanted

2014-09-28 Thread Rahkonen Jukka (Tike)
=00FB5E60) succeeds as MEM.\r -Jukka- Rahkonen, Jukka wrote: > > Hi, > > I am running MapServer version 6.5-dev on Windows and I suppose it has the > support for kerneldensity layers. Could someone show the LAYER part that > works with the Natural Earth populated pla

Re: [mapserver-users] LAYER example for kernerdensity wanted

2014-09-29 Thread Rahkonen Jukka (Tike)
on Windows please? does it works with Apache and PHP (PHP MapScript) ? Thanks, Thomas Le 27/09/2014 21:51, Rahkonen Jukka (Tike) a écrit : Hi, I am running MapServer version 6.5-dev on Windows and I suppose it has the support for kerneldensity layers. Could someone show the LAYER part that

Re: [mapserver-users] LAYER example for kernerdensity wanted

2014-09-29 Thread Rahkonen Jukka (Tike)
- thomas bonfort wrote: Jukka, The msautotest suite has some heatmap examples you can work from: https://github.com/mapserver/msautotest/blob/master/gdal/heat.map -- thomas On 29 September 2014 10:17, Rahkonen Jukka (Tike) mailto:jukka.rahko...@mmmtike.fi>> wrote: Hi Thomas, I have the newest M

Re: [mapserver-users] WFS DescribeFeatureType returns string for all attributes

2014-10-10 Thread Rahkonen Jukka (Tike)
Hi, TinyOWS publish the schema automatically right and it belongs to the Mapserver family. Perhaps you could have a try with it? Live test server here http://hip.latuviitta.org/cgi-bin/tinyows?service=wfs&version=1.0.0&request=GetCapabilities -Jukka Rahkonen- S

Re: [mapserver-users] STYLEITEM AUTO and LABEL ENCODING can't exist simultaneously??

2014-10-12 Thread Rahkonen Jukka (Tike)
Hi, It seems that you have done a good work by studying the situation yourself and it looks like combination “styleitem auto” and “encoding GB18030” does not work in your environment. However, it is unlikely that you will get any better answer that this one I am writing because you are using ve

Re: [mapserver-users] [mapserver-dev] - Tile index

2014-10-17 Thread Rahkonen Jukka (Tike)
Hi, I would say that a question like this belongs to mapserver-users list. If discussion leads to conclusion that there is a bug in Mapserver the next step would be to create a ticket to github or continue discussion about how to fix it best on mapserver-dev. My guess is that you do not use th

Re: [mapserver-users] WMS rendering

2014-10-17 Thread Rahkonen Jukka (Tike)
Hi, I tested your mapfile and I believe that you indeed have trouble with 0.0019 meters wide box symbol that does not show easily. If you leave out sizeunits or use the default unit "pixels" and size of around 10 the symbol should show at all scales. Of course you can use meters as well with s

Re: [mapserver-users] - Tile index

2014-10-20 Thread Rahkonen Jukka (Tike)
Hi Scott, I managed to get PostGIS tileindex work as follows with Mapserver 6.5-dev: CONNECTIONTYPE OGR CONNECTION "PG:dbname=xxx host=yyy port=5432 user='zzz' password='xyz'" DATA "select * from tindextest"

Re: [mapserver-users] LAYER example for kernerdensity wanted

2014-10-22 Thread Rahkonen Jukka (Tike)
Jeff McKenna wrote: Lähetetty: 20. lokakuuta 2014 20:43 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] LAYER example for kernerdensity wanted On 2014-10-20 2:15 PM, Jeff McKenna wrote: >> Hi Jukka, >> >> The good news/bad news is that I can reproduce this same issue on

Re: [mapserver-users] Square Edges Using labelpoly

2014-10-22 Thread Rahkonen Jukka (Tike)
Round edges also with Mapserver 6.5-dev from last night. -Jukka Rahkonen- Lime, Steve D wrote: > > It's an issue with 6.4, I don't have a 7.0 build handy. I'll try it and see. > Thomas > refactored a bunch of the labeling code in 7.0 so maybe it's not an issue. > > -Original Message- >

[mapserver-users] Is kerneldensity_attribute implemented?

2014-10-22 Thread Rahkonen Jukka (Tike)
Hi, I have tried to use attribute based weights in heatmaps as in RFC 108 example http://mapserver.org/development/rfc/ms-rfc-108.html processing "KERNELDENSITY_ATTRIBUTE=POP2010" However, this processing option does not seem to have any affect. It is not used in the MS autotest mapfile and I w

Re: [mapserver-users] Is kerneldensity_attribute implemented?

2014-10-23 Thread Rahkonen Jukka (Tike)
ERNELDENSITY_ATTRIBUTE is > an error is the RFC. To use an attribute use STYLE SIZE [attribute] END in > your > linked vector layer. > > -- > thomas > > On 23 October 2014 06:55, Rahkonen Jukka (Tike) > wrote: > > Hi, > > > > I have tried to use attri

Re: [mapserver-users] Is kerneldensity_attribute implemented?

2014-10-23 Thread Rahkonen Jukka (Tike)
ith some text and information (where? what?). > > More information you give, easier and better it is for us. > > Y. > On Thursday, October 23, 2014 8:21:03 Rahkonen Jukka wrote: > > Hi, > > > > Fine, I could make is work with this knowledge. Is it so that the only

Re: [mapserver-users] Problem with Colon in WFS Layer Name

2014-11-03 Thread Rahkonen Jukka (Tike)
Hi, Colons are absolutely denied in WFS feature type names and if you want to have a standard compliant WFS service you must remove the colon from the name. https://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg20012.html -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@li

Re: [mapserver-users] [mapserver-dev] Configuring TinyOWS with a standard Mapfile in OSGeo4W

2014-11-11 Thread Rahkonen Jukka (Tike)
Hi, Please send your LAYER. Just to make sure that there are no typos etc. Check also that user you use for making a connection have INSERT/UPDATE/DELETE rights. How does QGIS behave? Which QGIS version? Can you switch the layer to edit mode? Is just saving the changes that fails? -Jukka Ra

Re: [mapserver-users] Interface between QGIS2.4 and MapServer

2014-12-10 Thread Rahkonen Jukka (Tike)
Hi, I believe you can install the plugin still from the experimental QGIS plugins. At least I seem to have it installed on QGIS 2.0.1. I warn you that the plugin creates mapfiles which are about 80% correct. For fixing them to work properly you should know relatively well how to write good m

Re: [mapserver-users] Postgres SQL oddity . . .

2014-12-15 Thread Rahkonen Jukka (Tike)
Hi, If vname is unique in your table, why do you need to do "select distinct" on it? I would make a blind guess with an alias name select distinct on (vname) vname_distinct Usually it is not as easy, though -Jukka Rahkonen- Basques, Bob wrote: > I'm try

<    6   7   8   9   10   11   12   13   14   15   >