Re: [mapserver-users] msQueryByFilter(): Search returned no results.

2011-09-05 Thread Michal Šrédl
Hi Steve, may be you are right, because when I replace epsg:102067 with epsg:3035 it works fine Cheers, Michal 2011/8/29 Steve Lime sdl...@gmail.com: Looking at the code the correct projection work is done. I wonder if there's something funky projecting the globe (-180 -90 180 90) to

[mapserver-users] template in class

2011-09-05 Thread jjwang
Hi all, In mapfile, under the class level, you can define a 'template'. What's this used for? And how to write the template? I'm assuming it's relevant to the getFeature request. I want the class info to be included in the response of the getFeature request. How can I do this? Best show me some

[mapserver-users] WMS/WFS Mapserver Projection Error

2011-09-05 Thread Lucho
Hi List, I have a problem with some data when I'm publishing a WMS and then, publish the same data in a WFS service. Everithing is ok speaking about attending requests, but when I get the data with some clients, it seems that WFS has a total different projection. The image attached explain

Re: [mapserver-users] template in class

2011-09-05 Thread JIAJIA WANG
Yes, I have. But I still don't understand why define a template under class level. I just wonder when it can be used if you defined a template under class level. The template defined under layer level will be used when request GetFeature service. But how about the one under class level. JJ On

VS: [mapserver-users] WMS/WFS Mapserver Projection Error

2011-09-05 Thread Rahkonen Jukka
Hi, Your failing client is most probably sending WFS 1.1.0 version GetFeature request and therefore Mapserver is sending the coordinates in Latitude-Longitude order. This is how the WFS 1.1.0 says it should be. According to the WFS 1.1.0 standard your client is doing it wrong. Lots of people

Re: [mapserver-users] How can I set the output format of WFS getfeature request to text/html?

2011-09-05 Thread Rahkonen Jukka
Hi, Probably the best I could do for you would be to encourage you do your own homeworks and read some basic documents about WFS and WMS, but ok, take these advice for free. Text/html is not WFS outputformat. It is WMS GetFeatureInfo outputformat. Default outputformat for WFS is GML but

Re: [mapserver-users] msQueryByFilter(): Search returned no results.

2011-09-05 Thread Steve Lime
You could try defining a smaller bbox in lat/lon,something tighter to your actual AOI. -Steve 2011/9/5 Michal Šrédl michal.sr...@gmail.com: Hi Steve, may be you are right, because when I replace epsg:102067 with epsg:3035 it works fine Cheers, Michal 2011/8/29 Steve Lime

RE: [mapserver-users] Re: Invalid SRS given: SRS must be valid fo r all requested layers. EPSG 23030

2011-09-05 Thread Fuchs Juan Carlos
Estimada Amalia: si no entiendo mal lo que Rahkonen Jukka está tratando de decirte es que el extend del mapa tiene número muy extraños si el sistema EPSG:23030 tiene unidades en metros algo tipo -82.65algo 29.43algo -82.05algo 29.94algo da muy chiquito tal vez son valores de un sistema en grados

Re: [mapserver-users] template in class

2011-09-05 Thread Steve Lime
A class template basically allows you to change the output presentation for one class versus another. For example I might want to display data for a forest landuse type totally different from a prairie type. Or I might want to make only one class queryable and not others. It's a lightly used

[mapserver-users] Mapscript and wms client

2011-09-05 Thread Chris Jackson
Hi I am trying to use a remote WMS service in my mapfile and am not having any luck. I resorted to the MapServer tutorial example and still had no luck: LAYER # MODIS WMS map from JPL NAME modis_jpl TYPE RASTER OFFSITE 0 0 0 STATUS On

[mapserver-users] Re: WMS/WFS Mapserver Projection Error

2011-09-05 Thread Lucho
Thanks, list... As Jukka said, the problem was in the way of how the WFS 1.1.0 standard works with the BBOX Envelope. I've changed the order of the variables in which the coordinate values were captured on my web client, using the order given by the GetFeature request on WFS 1.0.0, and that's

Re: [mapserver-users] Mapscript and wms client

2011-09-05 Thread Brent Fraser
Chris, I don't think NASA's JPL is serving data anymore (although it does return a GetCapapabilies XML). Best Regards, Brent Fraser On 9/5/2011 3:53 PM, Chris Jackson wrote: Hi I am trying to use a remote WMS service in my mapfile and am not having any luck. I resorted to the MapServer

Re: [mapserver-users] Mapscript and wms client

2011-09-05 Thread Armin Burger
Chris Is it just this specific WMS or any other as well? I think the NASA JPL is very often not working or responding (it currently returns HTTP error 403 for getCapalities). It's even more like I cannot remember anymore when it was working... Maybe the URL has just changed... Armin On

Re: [mapserver-users] Coloring vectordata by features/infos

2011-09-05 Thread Michael G.
Hmm, any hints for what I should search for? Am 04.09.2011 19:35, schrieb Michael G.: Hello, I am rendering vectordata from a PostGIS database which works like a charm. My layer definition looks like this: LAYER NAME vector METADATA wms_include_items all

Re: [mapserver-users] Coloring vectordata by features/infos

2011-09-05 Thread Robert Sanson
Hi Michael Take a look at CLASS and EXPRESSION: http://mapserver.org/mapfile/class.html Here is an example from one of my map files: LAYER NAME rivers GROUP Topos TYPE LINE STATUS ON DATA ../data/aus/rivers PROJECTION init=epsg:4283 END MAXSCALE 1000 MINSCALE 75000

Re: [mapserver-users] Mapscript and wms client

2011-09-05 Thread Chris Jackson
Hi Brent and Armin The GetCapapabilies bit threw me! Well the one I am trying to load is GEBCO which I think is up. Having said that I have just changed the wms_name and reloaded the map and it works (maybe it just needed some sleep)..! Out of interest how do you specify a given layer from the