Re: [mapserver-users] wfs data conversion with ogr2ogr?

2008-12-16 Thread Rahkonen Jukka
Hi, Are you sure there are data within that bounding box? -Jukka Rahkonen- > -Alkuperäinen viesti- > Lähettäjä: mapserver-users-boun...@lists.osgeo.org > [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta > Knut Behrends > Lähetetty: 16. joulukuuta 2008 11:31 > Vastaanottaja: m

Re: [mapserver-users] What is required to be able to query pointlayers?

2008-12-25 Thread Rahkonen Jukka
Hi, Document http://mapserver.gis.umn.edu/docs/howto/wms_server tells: > Configuring for GetFeatureInfo Requests: > You must set the layer TEMPLATE parameter for the layer to be queryable > by GetFeatureInfo > requests. For requests of type "text/html" you should also set the layer

Re: [mapserver-users] MapServer on Intel Atom?

2009-01-13 Thread Rahkonen Jukka
Hi, You say that your raster layer is slower than vector layers, but do you feel it is too slow? Your image should be served pretty fast by Mapserver. The key is that tiff file is tiled (for zoom-in situation) and that it has overviews (for zoom-out case). Could you send the gdalinfo report a

Re: [mapserver-users] Show WFS layer

2009-01-13 Thread Rahkonen Jukka
Hi, I am not sure how strict uDig is with the getCapabilities response, but if uDig is trying to utilise the information it is reading from the document then I suppose it will fail. Your server is advertising the following as getMap onlineResource: ... http://localhost/cgi-bin/mapserv.exe?map

Re: [mapserver-users] MapServer on Intel Atom?

2009-01-14 Thread Rahkonen Jukka
ee with where Jukka is going... Raster layers > > are usually pretty fast so long as they are tuned correctly. > > > > > > > > > - Original Message > > > > > >> From: Rahkonen Jukka > > > > >> To: kreshna_icehe...

Re: [mapserver-users] wms and maplab application error

2009-01-18 Thread Rahkonen Jukka
Hi, Maplab project is no more active. Latest Maplab works only with Mapserver 4.2 or 4.1 and with some older php version. If you are just learning Mapserver and applications built on it and you don't have any special interest towards Maplab I would recommend you to forget it and start learni

Re: [mapserver-users] Need Help with Custom (Raster) Data as Input

2009-01-20 Thread Rahkonen Jukka
Hi, First of all your jpeg files need to be georeferenced. Jpeg files are most often georeferenced with world files which are named as .jgw. Sometimes they are named as .tfw, even that name is actually reserved for tiff files. And Mapserver understands also world files named as .wld. If you

Re: [mapserver-users] Need Help with Custom (Raster) Data as Input

2009-01-20 Thread Rahkonen Jukka
image but at least you can see that the system works. -Jukka Rahkonen- Lähettäjä: Muizudeen Kusimo [mailto:devbo...@gmail.com] Lähetetty: 20. tammikuuta 2009 13:43 Vastaanottaja: Rahkonen Jukka; vtammin...@roulacglobal.com; mapserver-users@lists.osgeo.org Aih

Re: [mapserver-users] RE: mapserver-users Digest, Vol 12, Issue 73

2009-01-20 Thread Rahkonen Jukka
Have you specified the projection also inside LAYER? There are two places for giving projections, in MAP section to give the set of available output projections, and in LAYER section to tell Mapserver which projection the layer data are in. -Jukka Rahkonen- > -Alkuperäinen viesti- >

Re: [mapserver-users] Dynamin SQL with mapserver CGI?

2009-01-24 Thread Rahkonen Jukka
Hi, Run-time substitution of DATA should work with DATAPATTERN, see http://mapserver.org/cgi/runsub.html -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org puolesta: Saka Royban Lähetetty: la 24.1.2009 12:18 Vastaanottaja: MapServer Aihe: [mapserv

Re: [mapserver-users] mapfile: displaying a feature from a shapefile.

2009-01-25 Thread Rahkonen Jukka
Hi, Looks like there is no LABELITEM set on layer descriptions. Document "An introduction to MapServer" (http://www.mapserver.org/introduction.html) does mention LABELITEM but that part of text is messy. Perhaps it should be reviewed. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäj

Re: [mapserver-users] Dynamin SQL with mapserver CGI?

2009-01-26 Thread Rahkonen Jukka
Hi, Not any great hazard, I believe, if it means that user can normally get all the features, but only a subset when filter is set. It is different case if DATA clause is manipulated, and therefore that must be connected to DATAPATTERN. -Jukka Rahkonen-

Re: [mapserver-users] shapefile location

2009-01-27 Thread Rahkonen Jukka
Hi, I cannot start Apache as Windows service if I add network shares. However, it does start as executable program. Is there some simple way to get both the network shares and Apache running as a service? -Jukka Rahkonen- > -Alkuperäinen viesti- > Lähettäjä: mapserver-users-boun...@l

[mapserver-users] Multiple bounding boxes for WMS layers

2009-02-04 Thread Rahkonen Jukka
Hi, There is a closed ticket http://trac.osgeo.org/mapserver/ticket/1905 We need to deliver most of our WMS layers in 3-5 different projections. It would good to get bounding boxes for all the projections that are advertised with "wms_srs". Ticket comment: "Do we really want/need this?" My comme

[mapserver-users] Re: bounding boxes for different SRS in WMS

2009-02-04 Thread Rahkonen Jukka
tephen M. Richard [mailto:steve.rich...@azgs.az.gov] > Lähetetty: 4. helmikuuta 2009 17:41 > Vastaanottaja: Rahkonen Jukka > Aihe: bounding boxes for different SRS in WMS > > Jukka-- I think the DeeGree WMS configuration allows > specification of bounding boxes for differe

Re: [mapserver-users] Map File for Open Street Map symbology

2009-02-07 Thread Rahkonen Jukka
Lars Lingner wrote: > I see that you also had to rename the column "natural". As this is an > reserved name by postgres, is there an way to use such a name in an > mapserver expression? > Although renaming the column did work for me I just want to know how to > quote correctly. Natural is reserv

Re: [mapserver-users] Multiple bounding boxes for WMS layers

2009-02-12 Thread Rahkonen Jukka
Hi, Hiding layers issue? Ticket #1905 does not really have much do do with it, even it may be hard to find the layer if bounding box is missing. Are you sure you were looking at the same ticket number? -Jukka- -Alkuperäinen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org pu

Re: [mapserver-users] Changing the "EXTENT" for a layer

2009-02-25 Thread Rahkonen Jukka
Hi, Mapserver works without any knowledge about projection with one dataset if only the extents suit the data coordinates. That's the case with your ESRI layer. But you have two datasets which obviously are using different projections. To show them together either (or both) of them needs to b

Re: [mapserver-users] Changing the "EXTENT" for a layer

2009-02-25 Thread Rahkonen Jukka
. -Jukka- Lähettäjä: Adrian Popa [mailto:adrian_gh.p...@romtelecom.ro] Lähetetty: 25. helmikuuta 2009 14:53 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] Changing the "EXTENT" for a layer Yup,

Re: [mapserver-users] Is using ECW format allowed or not?

2009-02-25 Thread Rahkonen Jukka
Hi, One comment about gdal JP2ECW driver. It has some bug and gives out a lossy image from a lossless original, at least if the original has been compressed with Kakadu. Difference in image quality is not great and the bug is not serious in normal browsing but it is worth knowing if planning

Re: [mapserver-users] Layer must have an EPSG or AUTO projection code

2009-02-26 Thread Rahkonen Jukka
Hi, Just for clarification, are you trying to connect to some external WMS service and cascade it through Mapserver? And the WMS layers that fail look something like this: LAYER NAME "prov_bound" TYPE RASTER STATUS ON CONNECTION "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?"; CONNECT

Re: [mapserver-users] setenv MS_MAPFILE not working

2009-02-26 Thread Rahkonen Jukka
Hi, This is not an error. You do not ask Mapserver to do anything for you, therefore it answers "QUERY_STRING is set, but empty." Add something reasonable to the query and you may start seeing something. You can start by addind ?mode=map&layers=all and sending the query from browser. -Jukka R

Re: [mapserver-users] setenv MS_MAPFILE not working

2009-02-26 Thread Rahkonen Jukka
s=all > I then get this error: > loadMap(): Web application error. CGI variable "map" is not set. > so it seems it could be my path is not set correctly in my > mapserv.conf (http). Is the pathe in SETENVIF local or from > the webroot for apache or webroot for the domain? &g

VS: [mapserver-users] WMS problem

2009-02-27 Thread Rahkonen Jukka
Hi, It is for sure possible to fix your problem, but because MapLab is no more supported or developed in any way I would suggest you to select some other application to play with. I could guess that there is nothing wrong with your Mapserver configuration because you do see the image in the b

[mapserver-users] Mapserver WMS seem not to read +towgs84 parameters

2009-03-03 Thread Rahkonen Jukka
Hi, I am using Mapserver version 5.2.0 from MS4W delivery through WMS 1.1.1. and I was now trying to add the missing +towgs84 parameters for the Finnish epsg:2393 projection. I located the epsg file from MS4W\proj\nad directory and edited it from this: # KKJ / Finland Uniform Coordinate System

[mapserver-users] Re: Mapserver WMS seem not to read +towgs84 parameters

2009-03-03 Thread Rahkonen Jukka
I forget to mention that I am using epsg:3067 in my WMS requests while image data is in epsg:2393 so Mapserver for sure is reprojecting. -Jukka- Lähettäjä: Rahkonen Jukka Lähetetty: 3. maaliskuuta 2009 14:59 Vastaanottaja: mapserver-users@lists.osgeo.org

Re: [mapserver-users] Re: Mapserver WMS seem not to read +towgs84 parameters

2009-03-04 Thread Rahkonen Jukka
warmer...@pobox.com] > Lähetetty: 3. maaliskuuta 2009 21:44 > Vastaanottaja: Rahkonen Jukka > Kopio: mapserver-users@lists.osgeo.org > Aihe: Re: [mapserver-users] Re: Mapserver WMS seem not to > read +towgs84 parameters > > Rahkonen Jukka wrote: > > I forget to mention th

Re: [mapserver-users] Status on ticket 2582?

2009-03-13 Thread Rahkonen Jukka
Hi, Don't know about discussions, but it would be nice to be able to hide the scale depended members of a group (use case 2). -Jukka Rahkonen- > -Alkuperäinen viesti- > Lähettäjä: mapserver-users-boun...@lists.osgeo.org > [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta > Mar

[mapserver-users] Two questions about WMS and outputformats

2009-03-16 Thread Rahkonen Jukka
Hi, By default, without having any OUTPUTFORMAT sections in the mapfile, Mapserver is advertising following imageformats in WMS GetCapabilities document: image/gif image/png image/png; mode=24bit image/jpeg image/vnd.wap.wbmp image/tiff image/svg+xml

Re: [mapserver-users] apache warning TIFFReadDirectory

2009-03-16 Thread Rahkonen Jukka
Hi, I means only what is says. There is some non-GeoTIFF tag in the image and that is not recognised, but if everything works there is no need to worry. -Jukka Rahkonen- Sven Schroeter wrote: > [mapserver-users] apache warning TIFFReadDirectory > > Hi, > I'm working with MapServer version 5.

Re: [mapserver-users] mapserver-users Digest, Vol 14, Issue 35

2009-03-16 Thread Rahkonen Jukka
Hi, Most valuable part of MapLab was that it was able to create an interactive internet map application for total newbies. Mapfile creation was more like a side effect. I think there is no other such easy to use application builder than MapLab, but you can have a look at http://maptools.org/ms

Re: [mapserver-users] Two questions about WMS and outputformats

2009-03-17 Thread Rahkonen Jukka
Frank Warmerdam wrote: > Aihe: Re: [mapserver-users] Two questions about WMS and outputformats > > Rahkonen Jukka wrote: > > Hi, > > > > By default, without having any OUTPUTFORMAT sections in the > mapfile, > > Mapserver is advertising following im

Re: [mapserver-users] Two questions about WMS and outputformats

2009-03-17 Thread Rahkonen Jukka
driver does not care but it just cretes a jpeg image for the client. For WMS users this is more convenient. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: Frank Warmerdam [mailto:warmer...@pobox.com] Lähetetty: ma 16.3.2009 18:08 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@li

Re: [mapserver-users] Set RASTER layer's black background to transparent

2009-03-23 Thread Rahkonen Jukka
Hi, You need to set OFFSITE into your raster layer definitions, for example if the background colour is black OFFSITE 0 0 0 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org puolesta: adsaero Lähetetty: ti 24.3.2009 0:46 Vastaanottaja: mapserver

[mapserver-users] Problems in making AGG outputformat for WMS

2009-03-25 Thread Rahkonen Jukka
Hi, This MapServer version is 5.2.1 from MS4W, and it tells me for examle: MapServer version 5.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG So it should support AGG rendering. Now I have created agg OUTPUTFORMAT about as a

Re: [mapserver-users] WMS and transparent

2009-03-25 Thread Rahkonen Jukka
Hi, Or perhaps OFFSITE will have difficulties because jpeg compression makes totally black to almost black. If it works the result could still be only partially transparent image with some non-transparent pixels here and there. -Jukka Rahkonen- Bart wrote: > Yeah maybe OFFSITE can do this f

Re: [mapserver-users] MapServer 5.2.2 GetFeatureInfo returns an error

2009-04-01 Thread Rahkonen Jukka
Hi, Perhaps due to security fixes announced some days ago: From: Steve Lime Date: 2009-03-27 02:40:02 GMT (5 days, 9 hours and 39 minutes ago) "MapServer 5.2.2 and 4.10.4 have been released. (Version 5.4 will contain all of these fixes at the start and a beta 4 release will be available in a d

Re: [mapserver-users] On a wms-request force the add of a layer when another layer is requested

2012-05-29 Thread Rahkonen Jukka
Hi, Layer2 should come always together with Layer1 If you put this line in Layer2 definitions REQUIRES "[Layer1]" Without testing I cannot guarantee that I remember it right. For me the logic of keyword "REQUIRES" feels reversed because my brain says that Layer2 is rather required by Layer1

Re: [mapserver-users] optimize raster for mapserver - gdal geoTIFF source

2012-05-29 Thread Rahkonen Jukka
Hi, 1) I am using average and our users have not complaint. But it is simple to test, you can create external overviews with -ro switch and try all the alternatives within on hour or faster. It will be nice to read about your experience. Take some timings too. 2) Jpeg in tiff suits pretty well

Re: [mapserver-users] On a wms-request force the add of a layer when another layer is requested

2012-05-29 Thread Rahkonen Jukka
layers=layer2 the result visible is: Layer1 + Layer2 Thx, Andrea. 2012/5/29 Rahkonen Jukka mailto:jukka.rahko...@mmmtike.fi>> Hi, Layer2 should come always together with Layer1 If you put this line in Layer2 definitions REQUIRES "[Layer1]" Without testing I cannot guaran

Re: [mapserver-users] Restricted WMS access

2012-05-30 Thread Rahkonen Jukka
Hi, For simple needs you can configure Apache to use http basic authentication and make it to require https. http://httpd.apache.org/docs/2.0/howto/auth.html Setting basic authentication is simple but it does not give any real security without configuring Apache to use https instead of http. B

Re: [mapserver-users] MapCache - A way to delete a whole zoom level ?

2012-06-04 Thread Rahkonen Jukka
Hi, Just guessing without knowing anything about Berkeley DB, but if it is like other databases it would probably need vacuuming after delete before it really frees any disk space. And if you do mass delete and Berkeley DB behaves even closely similarly than SQLite, vacuuming may be extremely s

Re: [mapserver-users] ecw problems

2012-06-05 Thread Rahkonen Jukka
Hi, First thing to try is to save what you believe is mapserv.exe on a disk and open it as a text file. Most probably it is some sort of error message. -Jukka Rahkonen- stefano parodi wrote: Hi all. I'm setting up a new mapserver application on Windows 2008 S

Re: [mapserver-users] File size of generated PNG

2012-06-09 Thread Rahkonen Jukka
Hi, Have you already tried quantize and compression options from http://www.mapserver.org/mapfile/outputformat.html? The "png8" example is a good starting point. How does your current png outputformat look? -Jukka Rahkonen- Jackey Cheung wrote: > Some backgrou

Re: [mapserver-users] Run-time substitution

2012-06-09 Thread Rahkonen Jukka
Hi, I fear that only ascii characters can be used for validation. For us who need to use also non-ascii characters validation can be set to "." which accepts everything, so no validation at all. -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@list

Re: [mapserver-users] Mapfile Variables

2012-06-19 Thread Rahkonen Jukka
Hi, My shortish answer is that have a try with INCLUDE. If you had STYLE WIDTH 10 OUTLINEWIDTH 1 OUTLINECOLOR "#24277A" END STYLE WIDTH 10 COLOR "#4F719D" END try changing it to STYLE WIDTH 10 OUTLINEWIDTH 1

Re: [mapserver-users] QGIS WEB Client / Qgis Server

2012-06-24 Thread Rahkonen Jukka
Hi, Ask from Qgis users mailing list about Ggis Mapserver, this MapServer is a different project. -Jukka Rahkonen- Kadu Machado wrote: > Hi folks > I have a little issue with Qgis WebClient over Windows > When I access the qgis web client, the layers a

Re: [mapserver-users] Grouping WFS Layers to Output One GML file

2012-06-25 Thread Rahkonen Jukka
Hi, Have you tried what happens if you give a list of layers as typename? This should send you some data from TinyOWS http://188.64.1.61/cgi-bin/tinyows?service=WFS&version=1.0.0&request=Getfeature&typename=lv:puolilehti_25t,lv:puolilehti_50t -Jukka Rahkonen- ___

Re: [mapserver-users] Grouping WFS Layers to Output One GML file

2012-06-26 Thread Rahkonen Jukka
nd deegree. -Jukka Rahkonen- Lähettäjä: Donald Kerr [donald.k...@dkerr.co.uk] Lähetetty: 26. kesäkuuta 2012 11:46 Vastaanottaja: Rahkonen Jukka; 'MAPSERVER USERS' Aihe: RE: [mapserver-users] Grouping WFS Layers to Output One GML file I need some fu

Re: [mapserver-users] newbie just getting a blank page

2012-06-26 Thread Rahkonen Jukka
Hi, You do not ask for any layer. Add STATUS DEFAULT to your layer or add &layers=all into your request. Unfortunately, even your mapfile is short is has many other errors and outdated stuff. Where did you take an example when you wrote it? We should absolutely have some guaranteed correct ma

Re: [mapserver-users] Curved Lines

2012-06-27 Thread Rahkonen Jukka
Hi, The question, if I understand is correctly, is relevant. In EPSG:4326 shortest distance between two points is better expressed as a curve than as a straight linestring. However, Mapserver does not support curves of any kind. You may find some workaround from GDAL. Ogr2ogr is having a "segme

Re: [mapserver-users] slow access to PostGIS layer

2012-06-28 Thread Rahkonen Jukka
Hi, Is the spatial index OK? There is the && bounding box query happening too, not just "select geometry from my_table". -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] käyttäjän G. Allegri [gioha.

Re: [mapserver-users] Remote map server - data tweaking

2012-07-05 Thread Rahkonen Jukka
Hi, Check this TinyOWS example http://mapserver.org/trunk/tinyows/openlayershowtotransactional.html However, from what I know Qgis does not load all the features but only those which intersect the map window. "Open attribute table" seems to read the attributes from the whole table but for edit

Re: [mapserver-users] MS4W mapcache

2012-07-05 Thread Rahkonen Jukka
Hi, Have you tried MS4W 6.1-dev? It should come with Mapcache. http://www.maptools.org/ms4w/index.phtml?page=downloads.html -Jukka Rahkonen- scott159 wrote: > Hi, > I would like to use mapcache with package MS4W. Where I could find dll to use > it ? t

Re: [mapserver-users] offset line more of a scribble then a line

2012-07-21 Thread Rahkonen Jukka
Hi, I know why it happens but I do not know a general solution for making it look better. The coast line is splitted in short linestrings (max 2000 nodes it it is OpenStreetMap data) and offset is calculated individually for each line by using a perpendicular displacement for each vertex. If th

Re: [mapserver-users] ArcInfo Grid with MapServer

2012-07-23 Thread Rahkonen Jukka
Hi, STATUS OFF means that the layer is turned off. DEFAULT sets it to be allways ON and "STATUS ON" means it can be on or off depending from your request. Byt the way, how does your request look like? -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@l

Re: [mapserver-users] ArcInfo Grid with MapServer

2012-07-23 Thread Rahkonen Jukka
Next guess: perhaps values in the DEM file are so close to zero that the WMS image just looks all black. Study the histograms with some suitable program. If values are very low you will need to scale the image before rendering. You have sure checked that original images are in EPSG:4326 and that

Re: [mapserver-users] Re-Projections

2012-07-30 Thread Rahkonen Jukka
Hi, Of course it works and you should be able to make configurations by following this document http://mapserver.org/ogc/wms_server.html#setting-up-a-wms-server-using-mapserver -Jukka Rahkonen- Sowmya Tiramdasu wrote: > Hi All, > I have a scenario for

Re: [mapserver-users] Using spatialite with mapserver

2012-08-02 Thread Rahkonen Jukka
Hi, The SELECT alternative works fine for me but I do not have multiple geometries. I made a very fast test on Spatialite side and it seems to be possible to run "Recover geometry column" and "Create spatial index" for multiple geometries but I did not test the result with Mapserver. I would r

Re: [mapserver-users] Using spatialite with mapserver

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

Re: [mapserver-users] Using spatialite with mapserver

2012-08-02 Thread Rahkonen Jukka
Rahkonen Jukka [jukka.rahko...@mmmtike.fi] puolesta Lähetetty: 3. elokuuta 2012 0:46 Vastaanottaja: Andrea Peri; mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] Using spatialite with mapserver Hi again, Tried what ogrinfo sees in case of two geometries. It does not look good. FID Column

Re: [mapserver-users] Using spatialite with mapserver

2012-08-03 Thread Rahkonen Jukka
ements retrieval. The strange is that with this second sql MapServer don't do nothing. Simply it end its work without generate no map. No error log report is write. Perhaps there is a setting to say how much memory mapserver (or ogr) must use for resultset from DB ? Thx. 2012/8/2 Rahkonen J

Re: [mapserver-users] Spatialite tables with multiple geometry columns

2012-08-04 Thread Rahkonen Jukka
Hi, I can't test myself right now because I cannot access gisinternals.com for getting a fresh Windows build. However, I for using geom2 of a multigeom table would try with DATA 'SELECT geom2,attr1,attr2 FROM table' You can also create a spatial view which selects geom2 on the Spatialite s

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

2012-08-10 Thread Rahkonen Jukka
Hi, Would it work as you hope if the creation option "XSISCHEMAURI" could be set as described in the OGR GML driver page http://gdal.org/ogr/drv_gml.html? "XSISCHEMAURI: If provided, this URI will be inserted as the schema location. Note that the schema file isn't actually accessed by OGR, so i

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

2012-08-10 Thread Rahkonen Jukka
request on the WFS section will produce automatically an xsd of the GML it return using the DescribeFeatureType request. I hope to find a solution to have this automatically produce also on the GetFeatureInfo. 2012/8/10 Rahkonen Jukka mailto:jukka.rahko...@mmmtike.fi>> Hi, Would it wor

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

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

[mapserver-users] Are WMS GetFeatureInfo results ordered by distance?

2012-08-17 Thread Rahkonen Jukka
Hi, What results will be selected if GetFeatureInfo finds more features within the tolerance than used as FEATURE_COUNT parameter? Are they selected by distance are they just the first hits? If they were ordered by distance then GetFeatureInfo could be used for finding N nearest features whic

Re: [mapserver-users] Export map into pdf

2012-08-22 Thread Rahkonen Jukka
Hi, Define pdf as one of the outputformats. http://www.mapserver.org/mapfile/outputformat.html I am not sure how to make nice prints with legends and logos and such, but the map itself is easy to push into pdf with no extra work at all. Note that it can be geospatial pdf with coordinates http:/

Re: [mapserver-users] Tile Index Issues

2012-08-22 Thread Rahkonen Jukka
Hi, I have a feeling that I had problems with vector tile index and native Mapserver connection. For some reason I have changed our mapfiles to connect with OGR. Anyway, now when I had a try, both are working. Perhaps I had some issues with GetFeatureInfo and not with GetMaps. I have created my

Re: [mapserver-users] still have problem when add postgis layer on mapserver mapfile

2012-08-26 Thread Rahkonen Jukka
Hi, - This may be a typo: NAME "places1" DATA "geometry from osm_new_mainroads using unique osm_id using srid 3785" TYPE POINT Or do you really have your places are in osm_new_mainroads table. - Then it is a good habit to have PROJECTION block in both the MAP block and for each LAYER. - It is

Re: [mapserver-users] Mapserver doesn't work as WMS-Client. Debian version 6.0.1-3.1 (Debian wheezy).

2012-08-27 Thread Rahkonen Jukka
Hi, Works for me with MS4W and Mapserver 6.2 beta2 after changing "wms_server_version" "1.3.0" into "wms_server_version" "1.1.1" I could not manage to get the invalid layers error and the too high version error was on plain understandable text. It would be easier to read the logs and re

Re: [mapserver-users] Mapserver doesn't work as WMS-Client. Debian version 6.0.1-3.1 (Debian wheezy).

2012-08-27 Thread Rahkonen Jukka
e layer and read the logs. I checked that cascading that remote WMS works for me also with Mapserver 6.0.0 on Windows with WMS 1.1.1. -Jukka Rahkonen- Pablo Diaz wrote: Thank you Rahkonen, but I tryed two options and It doesn't run well. The "pnoa" server runs well, beca

[mapserver-users] [TinyOWS] OtherSRS configuration element missing

2012-08-28 Thread Rahkonen Jukka
Hi, TinyOWS supports using all the same projection codes than PostGIS as srsName parameter in GetFeature requests. However, it is advertising only the DefaultSRS in the GetCapabilities and I cannot find a configuration element for adding extra projections in a standard WFS 1.1.0 way as "OtherSR

[mapserver-users] [TinyOWS] DefaultMaxFeatures missing from WFS 1.1.0 GetCapabilities

2012-08-29 Thread Rahkonen Jukka
Hi, It is possible to set WFS maxFeatures on server side with ... ... However, this setting is not announced in the WFS 1.1.0 GetCapabilities According to standard it belongs to Operations metadata (table 7b, page 86 in WFS 1.1.0 standard somehow like this .. 1 -Jukka Rahko

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

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

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

2012-09-04 Thread Rahkonen Jukka
el geometry. > > Steve > > -Original Message- > From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users- > boun...@lists.osgeo.org] On Behalf Of Rahkonen Jukka > Sent: Tuesday, September 04, 2012 9:17 AM > To: 'Mapserver-Users (mapserver-users@lists.osgeo

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

2012-09-04 Thread Rahkonen Jukka
- From: > mapserver-users-boun...@lists.osgeo.org > [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of > Rahkonen Jukka Sent: Tuesday, September 04, 2012 9:48 AM To: > 'Mapserver-Users (mapserver-users@lists.osgeo.org)' Subject: Re: > [mapserver-users] Stil

Re: [mapserver-users] Fw: mapserver binary for CentOS?

2012-09-06 Thread Rahkonen Jukka
The easy way to install Mapserver on Windows is not the IISy way :) Use MS4W with included Apache instead http://maptools.org/ms4w/index.phtml -Jukka Rahkonen- Saka Royban wrote: So, if i want not install anything on the server, i have to switch to a windows sever, i.e. IIS. In IIS, i think t

Re: [mapserver-users] TinyOWS 0.9 Problem in windows 7

2012-09-06 Thread Rahkonen Jukka
Hi, Do not use OpenLayers for testing, use something that you can control. What do you get back if you send these basic WFS requests with a browser: http://127.0.0.1/cgi-bin/tinyows.exe?service=WFS&version=1.0.0&request=GetCapabilities http://127.0.0.1/cgi-bin/tinyows.exe?service=WFS&version=1.

Re: [mapserver-users] TinyOWS 0.9 Problem in windows 7

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

Re: [mapserver-users] TinyOWS 0.9 Problem in windows 7

2012-09-06 Thread Rahkonen Jukka
Hi, I can see that WFS-T did not work for me in May and I cannot see any more fresh TinyOWS versions for Windows since then so I fear it may not work. http://lists.maptools.org/pipermail/ms4w-users/2012-May/002001.html Instead of OpenLayers try editing with Quantum GIS first. If edits fail with

Re: [mapserver-users] [TinyOWS] Broken config using a MAPFILE?

2012-09-19 Thread Rahkonen Jukka
Hi, At least you will have some troubles with your extents which do not match with your output projection EXTENT -180 -90 180 90 UNITS DD This may or may not be the reason for the failure but correct it anyway to use meters and the extents of your data. I can also see that your Box is no

Re: [mapserver-users] [TinyOWS] Broken config using a MAPFILE?

2012-09-19 Thread Rahkonen Jukka
Hi, I wonder why OpenLayers is sending request for wfs:Query typeName="feature:areas" while I suppose that the typeName is actually mtl:areas. However, it looks like TinyOWS does not care about featuretype namespace at all. This request works as it should http://188.64.1.61/cgi-bin/tinyows?s

Re: [mapserver-users] [TinyOWS] Broken config using a MAPFILE?

2012-09-19 Thread Rahkonen Jukka
Olivier Courtin wrote: > On Wed, Sep 19, 2012 at 4:47 PM, Rahkonen Jukka > mailto:jukka.rahko...@mmmtike.fi>> wrote: > Hi Jukka I wonder why OpenLayers is sending request for wfs:Query typeName="feature:areas" while I suppose that the typeName is actually mtl:ar

Re: [mapserver-users] [WFS-client] geometry name

2012-09-20 Thread Rahkonen Jukka
Hi, That's very limiting. I think that none of the more than 80 feature types on my server is using name "Geometry". suggest you to file a ticket about making this configurable. -Jukka Rahkonen- Yves Jacolin wrote: Hello, Ok I find the answer: Geometry column name is hardcoded in https://g

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

2012-09-21 Thread Rahkonen Jukka
Hi, So you have tried to define variables %SEX% and %BOD_ID%, used them inside your DATA and then fired WMS GetMaps by adding &SEX=your_value&BOD_ID=your_id? Does in not work or why it is not powerful enough? -Jukka Rahkonen- Julien Cigar wrote: > Hello, > > I'm using Mapserver 6.0.1 with

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

2012-09-21 Thread Rahkonen Jukka
, setting the join condition to a non matching value > when you don't want the join, etc. SQL is more powerful than any template > language. > > Mike > > > > On 9/21/12 7:07 AM, "Julien Cigar" wrote: > > >On 09/21/2012 12:50, Rahkonen Jukka wrote: >

[mapserver-users] GetFeatureInfo text/plain example in the WMS server document

2012-09-24 Thread Rahkonen Jukka
Hi, I believe that the text/plain GetFeatureInfo example is supposed to return the same information as text/html and gml examples. However, it does not return the city name and popolation Document page http://mapserver.org/ogc/wms_server.html text/plain http://demo.mapserver.org/cgi-bin/wms?SE

Re: [mapserver-users] [gdal-dev] Gdaltindex with -t_srs and Mapserver

2012-09-27 Thread Rahkonen Jukka
inator value? -Jukka Rahkonen- > -Alkuperäinen viesti- > Lähettäjä: Etienne Tourigny [mailto:etourigny@gmail.com] > Lähetetty: 27. syyskuuta 2012 15:27 > Vastaanottaja: Rahkonen Jukka > Kopio: gdal-...@lists.osgeo.org > Aihe: Re: [gdal-dev] Gdaltindex with -t_srs and Mapserver

Re: [mapserver-users] MapServer and shapefile

2012-10-02 Thread Rahkonen Jukka
Hi, Because you talk about base layer I think that you are perhaps going to show your map in OpenLayers. If that is the case then the answer is yes and this OpenLayers example shows how it can be done. http://dev.openlayers.org/releases/OpenLayers-2.12/examples/wms-untiled.html On the Mapserver

Re: [mapserver-users] MapServer and shapefile

2012-10-02 Thread Rahkonen Jukka
ructure and consider and use it as OpenLayers.Layer.WMS? Fabio ________ Da: Rahkonen Jukka A: "mapserver-users@lists.osgeo.org" Inviato: Martedì 2 Ottobre 2012 9:05 Oggetto: Re: [mapserver-users] MapServer and shapefile Hi, Because you talk about base layer I think tha

Re: [mapserver-users] Cairo SVG & PDF output

2012-10-03 Thread Rahkonen Jukka
Hi, It feels like it could be useful to have for example something like FORMATOPTION "DPI=xxx" that could be used when defining PDF outputformat http://www.mapserver.org/mapfile/outputformat.html#outputformat I am not sure what GDAL configuration option GDAL_PDF_DPI is doing but perhaps it is

Re: [mapserver-users] Map file keyword dictionary

2012-10-03 Thread Rahkonen Jukka
Hi, Perhaps this XML mapfile schema is up-to-date http://trac.osgeo.org/mapserver/attachment/ticket/2872/mapfile-schema-0.0.6.xsd -Jukka Rahkonen- Mike Saunt wrote: > Hi All > Can anyone point me to a list of ALL keywords used within a mapfile? Looking > at us

Re: [mapserver-users] text size from field but with an expression

2012-10-07 Thread Rahkonen Jukka
Hi, This works for sure for me: DATA "select geometry,osm_id,amenity,aeroway, name from osm_polygon where amenity is not null or aeroway='apron'" Perhaps you do not need anything else than DATA "select id,the_geom,field1+10 as field1, field2 from mytable" -Jukka Rahkonen- ___

[mapserver-users] [TinyOWS] Problem with attribute names with dots

2012-10-08 Thread Rahkonen Jukka
Hi, I made a test layer with dots in feature type name and in an attribute name. The following request leads to an error. POST http://188.64.1.61/cgi-bin/tinyows HTTP/1.1 Content-Type: text/xml User-Agent: Jakarta Commons-HttpClient/3.0-beta1 Host: 188.64.1.61 Connection: Keep-Alive Content-Leng

[mapserver-users] WFS fails if table name includes a dot character

2012-10-09 Thread Rahkonen Jukka
Hi, It may be an odd idea to use dots in table/feature type names, but because I made such a test and faced a problem so I report it here. Source table is in PostGIS and its name is "dot.test". WFS DescribeFeatureType leads to following error [Tue Oct 9 10:56:02 2012].214191 msPostGISLayerGet

Re: [mapserver-users] WFS fails if table name includes a dot character

2012-10-10 Thread Rahkonen Jukka
Puneet Kishor wrote: > On Oct 9, 2012, at 7:51 AM, Rahkonen Jukka wrote: >> Hi, >> >> It may be an odd idea to use dots in table/feature type names, but because I >> made such a test and faced a problem so I report it here. >> Source table is in PostGIS

Re: [mapserver-users] postgis - geomfromtext problem

2012-10-15 Thread Rahkonen Jukka
Hi, Perhaps running legacy.sql in your new database will be enough. http://www.postgis.org/docs/PostGIS_FAQ.html#legacy_faq -Jukka Rahkonen- Ahmet Temiz wrote: > hello > > I upgraded my postgis to 2.1.0. > > But this version of postgis doesn't accept "geomfromtext" (instead > "ST_GeomFromT

Re: [mapserver-users] MapCache - received wms request with no service param

2012-10-15 Thread Rahkonen Jukka
Hi, Service is not a compulsory parameter for GetMaps. See an old issue at https://github.com/mapserver/mapserver/issues/2737 -Jukka Rahkonen- Mark Volz wrote: TC Haddad and others, I tried manually modifying the URL within ArcMap to include SERVICE=WMS so I can use MapCache within ArcMap.

Re: [mapserver-users] Style paramter of WMS request

2012-10-23 Thread Rahkonen Jukka
Hi, I have never cascaded any WMS service that supports styles but according to Mapserver WMS client documentation you have done it right. You must first capture the requests that Mapserver is really sending to the remote server. That is easy, just add line DEBUG 5 into your layer definitions a

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