[mapserver-users] Problems with Mapserver as WMS service (jpeg)

2011-10-28 Thread Chrishelring
Hi all,

I´m having a Mapserver (5.2.1) installation trying to output our ortophotos
as WMS. Trying to load the WMS into a GIS (Mapinfo & ArcGISr) just produces
"white" / nothing. I´ve tried with our technical map showing our buildings,
roads as vector (as PNG) and they show up nicely in our desktop GIS. Any
idea on where to start? I´ve looked everywhere with absolutly no luck. :( I
have an idea that the format is not parsed correctly because when I tried to
see the layer in the Geowebcache viewer, it returned
"msWMSLoadGetMapParams(): Image handling error. Unsupported output format
(text/html)"

/Christian 

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Problems-with-Mapserver-as-WMS-service-jpeg-tp6941932p6941932.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] tileindex shptree

2011-10-28 Thread Frank Warmerdam
Eric,

Do things fail consistently fora  given request?  I would be
willing to do some examination of this problem this evening
(pacific time) if you can provide a canned demonstration of
the issue (mapfile+tileindex+query).  I should be able to fake
the data referred to by the tileindex if necessary.

I don't feel that adding a spatial index (.qix) is the right
solution.   Something is either wrong with your tileindex
or with mapserver (IMHO).

Best regards,

On Fri, Oct 28, 2011 at 2:09 PM, Eric Weisbender  wrote:
> Hello,
>
> We are using a tileindex layer to draw multiple county parcel data layers.
> For some reason the query of these layers is either hit or miss.  Sometimes
> it returns a query.  Other times a query returns "Invalid field index 0"
> from the error file defined in the mapfile.  And the third query result I'm
> getting is "Internal Server Error" from I assume apache.  These results are
> all on the same data indexed by this one tileindex layer.  Would it help if
> I built a shptree qix file and do I just do that for the tileindex file or
> all file the tileindex file is pointing to.  I have wasted two day's on this
> and am completely open to any and all idea's.  Thanks in advance.
>
> EW
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>



-- 
---+--
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] tileindex shptree

2011-10-28 Thread Eric Weisbender
Hello,
 
We are using a tileindex layer to draw multiple county parcel data layers.  For 
some reason the query of these layers is either hit or miss.  Sometimes it 
returns a query.  Other times a query returns "Invalid field index 0" from the 
error file defined in the mapfile.  And the third query result I'm getting is 
"Internal Server Error" from I assume apache.  These results are all on the 
same data indexed by this one tileindex layer.  Would it help if I built a 
shptree qix file and do I just do that for the tileindex file or all file the 
tileindex file is pointing to.  I have wasted two day's on this and am 
completely open to any and all idea's.  Thanks in advance.
 
EW
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] parameter for size tags in SLD

2011-10-28 Thread Yewondwossen ASSEFA

Hi Yves,

 I opened a ticket [1] regarding the support of both Literal and non 
literal use for the size parameter. I have committed a fix in trunk. If  
possible please cc your self in that trac bug comments.


best regards,

Y Assefa

[1]: http://trac.osgeo.org/mapserver/ticket/4065

On 11-10-28 08:01 AM, Yves Jacolin wrote:

Hello,

I have a SLD with the following:


cross





12

...


If I change

12

to
12   
it is not working anymore. OGC standards gives some example with the former
structure.

Does MapServer support this structure?

Thanks,

Y.



--

Assefa Yewondwossen
Software Analyst

Email: ass...@dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Use of wms_style_default_legendurl_href parameter

2011-10-28 Thread Jörg Thomsen
Hello Yves,

perhaps because wms_style requires
wms_style__legendurl_width and you have mistyped this?
>wms_style_defaultDEFAULT_width "264"

And what says the capabilities-xml about the legend-url? Perhaps your
client ignores it uses the wrong url.

Jörg

Am 28.10.2011 14:17, schrieb Yves Jacolin:
> Hello,
> 
> I am trying to use wms_style_default_legendurl_href parameter (with his 
> little 
> friends wms_style, wms_style_default_legendurl_width and height).
> 
> The GetLegendGraphic request is not working (I get wrong legend), log doesn't 
> show anything event if I set up DEBUG 5 in mapfile.
> 
> The layer used is a vector layer with one class. The legend showed is the 
> legend of the class, not the one from the url of 
> wms_style_default_legendurl_href.
> 
> Some parts of the MapFile:
> /**
>   LEGEND
>   STATUS ON
>   KEYSIZE 18 12
>   LABEL
>   FONT Vera
>   TYPE truetype
>   SIZE 8
>   COLOR 0 0 89
>   END
>   END
> 
>   LAYER
> NAME departement
> TYPE POLYGON
> STATUS ON
> DATA geoFla
> TEMPLATE foo
> DUMP true
> DEBUG 5
> CLASS
>   NAME "Départements"
>   STYLE
> WIDTH 1
> OUTLINECOLOR  0 0 0
> COLOR   255 255 192
>   END
> END
> METADATA
>   "wms_title""Département"   ##required
>   "wms_srs" "EPSG:27572"
>wms_name "Departement"
>wms_server_version "1.1.1" #obligatoire
>wms_style "default"
>wms_style_default_legendurl_height "37"
>wms_style_defaultDEFAULT_width "264"
>wms_style_default_legendurl_format "image/png"
>wms_style_default_legendurl_href 
> "http://yjacolin.meije/ifremer/legende_chla.png";
> END
>   END
> ***/
> 
> Any idea?
> 
> Y.


-- 
~~~
Aufwind durch Wissen!

Qualifizierte Open Source Schulungen bei der
http://www.foss-akademie.de/
~~~

_

MapMedia
Kartographie und raumbezogene Informationssysteme

Gillweg 3, 14193 Berlin
fon: +49 30 89 06 82-70
fax: +49 30 89 09 53-21
mail: j...@mapmedia.de
net:  www.mapmedia.de
_



Geschäftsführer: G. v. Tschirnhaus, J. Thomsen, P. Stamm
Registergericht, Berlin - Amtsgericht Charlottenburg,
HRB 89625, Umsatzsteuer-Identnummer: DE 813794062
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Use of wms_style_default_legendurl_href parameter

2011-10-28 Thread Yves Jacolin
Hello,

I am trying to use wms_style_default_legendurl_href parameter (with his little 
friends wms_style, wms_style_default_legendurl_width and height).

The GetLegendGraphic request is not working (I get wrong legend), log doesn't 
show anything event if I set up DEBUG 5 in mapfile.

The layer used is a vector layer with one class. The legend showed is the 
legend of the class, not the one from the url of 
wms_style_default_legendurl_href.

Some parts of the MapFile:
/**
  LEGEND
  STATUS ON
  KEYSIZE 18 12
  LABEL
  FONT Vera
  TYPE truetype
  SIZE 8
  COLOR 0 0 89
  END
  END

  LAYER
NAME departement
TYPE POLYGON
STATUS ON
DATA geoFla
TEMPLATE foo
DUMP true
DEBUG 5
CLASS
  NAME "Départements"
  STYLE
WIDTH 1
OUTLINECOLOR  0 0 0
COLOR   255 255 192
  END
END
METADATA
  "wms_title""Département"   ##required
  "wms_srs" "EPSG:27572"
   wms_name "Departement"
   wms_server_version "1.1.1" #obligatoire
   wms_style "default"
   wms_style_default_legendurl_height "37"
   wms_style_defaultDEFAULT_width "264"
   wms_style_default_legendurl_format "image/png"
   wms_style_default_legendurl_href 
"http://yjacolin.meije/ifremer/legende_chla.png";
END
  END
***/

Any idea?

Y.
-- 
Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel (France) : +33 4 79 26 57 98
Tel (Suisse) : +41 21 619 1031
Mob. : +33 6 18 75 42 21
Fax : 04 79 70 15 81
Mail : yves.jaco...@camptocamp.com
http://www.camptocamp.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] parameter for size tags in SLD

2011-10-28 Thread Yves Jacolin
Hello,

I have a SLD with the following:


cross





12

...


If I change 

12

to
12   
it is not working anymore. OGC standards gives some example with the former 
structure.

Does MapServer support this structure?

Thanks,

Y.
-- 
Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel (France) : +33 4 79 26 57 98
Tel (Suisse) : +41 21 619 1031
Mob. : +33 6 18 75 42 21
Fax : 04 79 70 15 81
Mail : yves.jaco...@camptocamp.com
http://www.camptocamp.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users