Re: [mapserver-users] MapServer WMS don't work pretty well with arcgis desktop

2012-12-15 Thread Andrea Aime
On Sat, Dec 15, 2012 at 1:04 PM, Andrea Peri aperi2...@gmail.com wrote:

 Hi,

 I'm having more user to report that the WMS MapServer is not shpwed on
 arcgis desktop.

 After a check I see that the issue i due to the fact that arcgis
 desktop when see a sublayer of a layer think that the layer is a
 folder (not a layer) and so
 it refuse to call it.

 Is this a knowed incompatibility between mapserver wms and arcgis ?


Don't know if it's relevant, but I've been reading the portion of the WMS
spec concerning
nested layers just a few days ago.
When nesting layers there are two cases:
- the parent layer has a Title, but not a Name. This is known as
containing category,
  it helps categorizing the layers but cannot be called directly
- the parent layer has a Name, in such case it is callable and when
requested
  it should build a map with all the children

So, by my understanding of the spec, if your parent Layer does not have a
Name
ArcGis is right in not calling it, but if it has a Name, then it's a bug in
ArcGis.

Hope this helps

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

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


Re: [mapserver-users] MapServer WMS don't work pretty well with arcgis desktop

2012-12-15 Thread Andrea Peri
Hi Andrea.

Is exactly as you say.

Arcgis refuse to call

The fact is exactly this.

Wrong to understand a Layer with Name.

If a layer has some sublayer , arcgis call the sublayers but skip the
layer himself
This happened both case with name and without name.
So arcgis think that a layer is always a containing category always
if it has some sublayers.

 So, by my understanding of the spec, if your parent Layer does not have a
 Name
 ArcGis is right in not calling it, but if it has a Name, then it's a bug in
 ArcGis.

Ok, so this is an arcgis bug.

But I'm not sure that the esri think this is a bug . :)

Because arcgis 9.3 is a old release and their service pack never resolve this.
Instead esri release a specific version of arcgis named arcgis for inspire

Now I try to find a work-around for this bug. In the MapServer configuration,
i don't like to lost all the arcgis 9.3 users.

Andrea.

2012/12/15 Andrea Aime andrea.a...@geo-solutions.it:
 On Sat, Dec 15, 2012 at 1:04 PM, Andrea Peri aperi2...@gmail.com wrote:

 Hi,

 I'm having more user to report that the WMS MapServer is not shpwed on
 arcgis desktop.

 After a check I see that the issue i due to the fact that arcgis
 desktop when see a sublayer of a layer think that the layer is a
 folder (not a layer) and so
 it refuse to call it.

 Is this a knowed incompatibility between mapserver wms and arcgis ?


 Don't know if it's relevant, but I've been reading the portion of the WMS
 spec concerning
 nested layers just a few days ago.
 When nesting layers there are two cases:
 - the parent layer has a Title, but not a Name. This is known as containing
 category,
   it helps categorizing the layers but cannot be called directly
 - the parent layer has a Name, in such case it is callable and when
 requested
   it should build a map with all the children

 So, by my understanding of the spec, if your parent Layer does not have a
 Name
 ArcGis is right in not calling it, but if it has a Name, then it's a bug in
 ArcGis.

 Hope this helps

 Cheers
 Andrea


 --
 ==
 Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
 information.
 ==

 Ing. Andrea Aime
 @geowolf
 Technical Lead

 GeoSolutions S.A.S.
 Via Poggio alle Viti 1187
 55054  Massarosa (LU)
 Italy
 phone: +39 0584 962313
 fax: +39 0584 1660272
 mob: +39  339 8844549

 http://www.geo-solutions.it
 http://twitter.com/geosolutions_it

 ---




-- 
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users