Thomas,

I attached a copy of the get capabilities document when I use 
http://10.0.8.116/mapcache/?service=WMS&request=GetCapabilities
If I try http://10.0.8.116/mapcache/?request=GetCapabilities&; I get an error 
message "received wms request with no service param"


Update:  I did try my county coordinate layer again.  That worked as a WMST 
layer within QGIS.





Mark Volz
GIS Specialist

-----Original Message-----
From: thomas bonfort [mailto:thomas.bonf...@gmail.com] 
Sent: Friday, May 11, 2012 1:48 AM
To: Mark Volz
Cc: mapserver-users@lists.osgeo.org
Subject: Re: mapcache - working with different grids

Mark,
can you send me the generated capabilities document ?

--
thomas

On Thu, May 10, 2012 at 3:57 PM, Mark Volz <markv...@co.lyon.mn.us> wrote:
> Thomas,
>
> *note I noticed that ArcCatalog reports the LatLongBoundingBox as 0, 0, 0,0.  
> This is probably important...
>
>
>
> I realize that mapcahce does not project.  For testing I completely removed 
> my grid, source, and tileset that is in county coordinates.  My other cache 
> is in UTM 15, The only grid I have advertised is UTM15 such as:
>
>      <!--<grid>WGS84</grid>-->
>      <!--<grid>g</grid>-->
>      <grid>UTM15</grid>
>
> So here is what I have:
>
> Demo: The demo site works fine.  Here is an example request that works
> http://10.0.8.116/mapcache/?LAYERS=MNSOUTH11&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fjpeg&SRS=EPSG%3A26915&BBOX=438394.0589,4887031.0797,471162.0589,4919799.0797&WIDTH=256&HEIGHT=256
>
> WMS in ArcCatalog:  Doesn’t work
> The lat long bounding box is 0,0,0,0.  Furthermore ArcCatalog advertises 
> EPSG: 26915 (which is correct) , EPSG: 900913, EPSG 26915 again?, EPSG: 3857. 
>  How can I remove the other projections.  I only want to serve 26915.
> * I did try to change the coordinate system that ArcCatalog / ArcMap requests 
> to UTM 15. Mapcahce still did not work
>
> WMS in QGIS:  Doesn’t work.
> In the properties for the service (root layer) I noticed the WGS 84 Bounding 
> Box is empty.  However, the layer MNSOUTH11 does have a valid bounding box
>
> WMTS in QGIS:  Works.
> When adding the WMS layer in QGIS, I noticed I could switch between layers 
> (wms) and Tilesets (WMTS?).  The tilesets work in QGIS.
>
> ********************************************************
>
> When I did have the County Map service configured, nothing worked.  Not even 
> the demo.  I didn't even get any pink tiles in the demo, and firebug reported 
> that it was not even trying to request anything.
>
>
> Let me know if you have any thoughts as to why the WMS service isn’t working.
>
> Thanks for all your help
>
>
> Mark Volz
> GIS Specialist
> Lyon County, MN
>
> -----Original Message-----
> From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
> Sent: Thursday, May 10, 2012 6:02 AM
> To: Mark Volz
> Cc: mapserver-users@lists.osgeo.org
> Subject: Re: [mapserver-users] mapcache - working with different grids
>
> Hi,
>
>
> On Wed, May 9, 2012 at 9:45 PM, Mark Volz <markv...@co.lyon.mn.us> wrote:
>> Hello,
>>
>> I started working with Mapcache.  I added a tileset that is in UTM 15
>> (26915) and it is working fine on the demo page
>> http://localhost/mapcache/demo/wms.  However when I add the layer to
>> ArcView, I get a warning about inconsistent extents.   I noticed the
>> service is advertising several extents:  EPSG:900913, EPSG:103749,
>> EPSG:26915, EPSG:4326, EPSG:3857.  So I made sure ArcGIS was
>> requesting the correct coordinate system via layer>change coordinate
>> system.  Even after switching the coordinate system, I still did not
>> see anything  (even when zoomed into the appropriate area)
>
> I've never tried the wms service in arcgis...
>
> what I do know is that mapcache advertises all known grids in the wms root 
> layer, however only the actually cached grids are advertised for each 
> individual layer (that's what the spec requires, although it does not fit 
> very well with cached layers). I wouldn't be very surprised arcgis chokes on 
> that.
> Check your server logs for the requests actually being sent out by arcgis, 
> that will at least tell you if the correct grid is being used.
>
>>
>> I also am trying to get another layer cached, which is in county
>> coordinates.  I did add a grid for the county coordinates.
>> Unfortunately I cannot get that service working in either the demo
>> page or the ArcMap.  I can get the source of that service (before it
>> is cached in MapCache) to work in ArcMap.
>
> need more info... mapcache itself does no projection handling, the grid srs 
> is only used as a key to lookup which tiles to return, and is forwarded to 
> the wms server as is. Right clicking on a pink tile in the demo page and 
> opening the image in a new window might give you more info to help debugging.
>
> --
> thomas
>
>>
>>
>> Questions:
>>
>>
>> Is this the right mailing list, or does mapcache have a separate list?
>> How can I limit the grids / spatial references that Mapcache advertises?
>> What am I missing that Mapcache works fine in the demo pages, but not
>> in ArcMap?  - note I set  <full_wms>assemble</full_wms> and <service 
>> type="wms"
>> enabled="true">
>> Is there anything I need to know about custom spatial references?  I
>> am guessing that Mapserver itself only needs the grid set.
>>
>>
>>
>> Thanks for all the help!
>>
>>
>> Mark Volz
>> GIS Specialist
>>
>>
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE WMT_MS_Capabilities SYSTEM "http://schemas.opengis.net/wms/1.1.0/capabilities_1_1_0.dtd"; [ <!ELEMENT VendorSpecificCapabilities EMPTY>]>
<WMT_MS_Capabilities version="1.1.1"><Service><Name>OGC:WMS</Name><Title>Lyon County Mapcache Service</Title><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"; xlink:href="http://10.0.8.116/mapcache/?"/></Service><Capability><Request><GetCapabilities><Format>application/vnd.ogc.wms_xml</Format><DCPType><HTTP><Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"; xlink:href="http://10.0.8.116/mapcache/?"/></Get></HTTP></DCPType></GetCapabilities><GetMap><Format>image/png</Format><Format>image/jpeg</Format><DCPType><HTTP><Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"; xlink:href="http://10.0.8.116/mapcache/?"/></Get></HTTP></DCPType></GetMap><GetFeatureInfo><Format>text/plain</Format><Format>application/vnd.ogc.gml</Format><DCPType><HTTP><Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"; xlink:href="http://10.0.8.116/mapcache/?"/></Get></HTTP></DCPType></GetFeatureInfo></Request><Exceptions><Format>text/plain</Format></Exceptions><VendorSpecificCapabilities><TileSet><SRS>EPSG:26915</SRS><BoundingBox SRS="EPSG:26915" minx="176250.058900" miny="1577463.079700" maxx="823749.941100" maxy="9106037.169000"/><Resolutions>4891.96875000000000000000 2445.98437500000000000000 1000.00000000000000000000 550.00000000000000000000 270.00000000000000000000 128.00000000000000000000 64.00000000000000000000 32.00000000000000000000 24.00000000000000000000 16.00000000000000000000 8.00000000000000000000 4.00000000000000000000 1.00000000000000000000 0.50000000000000000000 </Resolutions><Width>256</Width><Height>256</Height><Format>image/jpeg</Format><Layers>MNSOUTH11</Layers><Styles/></TileSet><TileSet><SRS>EPSG:103749</SRS><BoundingBox SRS="EPSG:103749" minx="435394.542210" miny="98257.256878" maxx="568566.237060" maxy="262047.654059"/><Resolutions>217.01388900000000603541 108.50694400000000428008 55.55555600000000282535 27.77777800000000141267 20.83333299999999965735 13.88888900000000070634 6.94444399999999983919 3.47222199999999991959 1.73611100000000000421 0.86805599999999998317 0.50000000000000000000 0.25000000000000000000 </Resolutions><Width>512</Width><Height>512</Height><Format>image/jpeg</Format><Layers>LyonAirPhotos</Layers><Styles/></TileSet><TileSet><SRS>EPSG:103749</SRS><BoundingBox SRS="EPSG:103749" minx="435394.542210" miny="98257.256878" maxx="568566.237060" maxy="262047.654059"/><Resolutions>217.01388900000000603541 108.50694400000000428008 55.55555600000000282535 27.77777800000000141267 20.83333299999999965735 13.88888900000000070634 6.94444399999999983919 3.47222199999999991959 1.73611100000000000421 0.86805599999999998317 0.50000000000000000000 0.25000000000000000000 </Resolutions><Width>512</Width><Height>512</Height><Format>image/png</Format><Layers>LyonBaseMap</Layers><Styles/></TileSet><TileSet><SRS>EPSG:26915</SRS><BoundingBox SRS="EPSG:26915" minx="176250.058900" miny="1577463.079700" maxx="823749.941100" maxy="9106037.169000"/><Resolutions>4891.96875000000000000000 2445.98437500000000000000 1000.00000000000000000000 550.00000000000000000000 270.00000000000000000000 128.00000000000000000000 64.00000000000000000000 32.00000000000000000000 24.00000000000000000000 16.00000000000000000000 8.00000000000000000000 4.00000000000000000000 1.00000000000000000000 0.50000000000000000000 </Resolutions><Width>256</Width><Height>256</Height><Format>image/jpeg</Format><Layers>FSA2010</Layers><Styles/></TileSet></VendorSpecificCapabilities><Layer><Name>rootlayer</Name><Title>Lyon County Mapcache Service</Title><SRS>EPSG:900913</SRS><SRS>EPSG:103749</SRS><SRS>EPSG:26915</SRS><SRS>EPSG:4326</SRS><SRS>EPSG:3857</SRS><Layer cascaded="1" queryable="0"><Name>MNSOUTH11</Name><Title>MN SOUTH CACHE</Title><Abstract>blabla</Abstract><BoundingBox SRS="EPSG:26915" minx="176250.058900" miny="1577463.079700" maxx="823749.941100" maxy="9106037.169000"/><SRS>EPSG:26915</SRS></Layer><Layer cascaded="1" queryable="0"><Name>LyonAirPhotos</Name><Title>Lyon CACHE</Title><Abstract>blabla</Abstract><BoundingBox SRS="EPSG:103749" minx="435394.542210" miny="98257.256878" maxx="568566.237060" maxy="262047.654059"/><SRS>EPSG:103749</SRS></Layer><Layer cascaded="1" queryable="0"><Name>LyonBaseMap</Name><Title>Lyon BaseMap</Title><Abstract>blabla</Abstract><BoundingBox SRS="EPSG:103749" minx="435394.542210" miny="98257.256878" maxx="568566.237060" maxy="262047.654059"/><SRS>EPSG:103749</SRS></Layer><Layer cascaded="1" queryable="0"><Name>FSA2010</Name><Title>FSA 2010 CACHE</Title><Abstract>blabla</Abstract><BoundingBox SRS="EPSG:26915" minx="176250.058900" miny="1577463.079700" maxx="823749.941100" maxy="9106037.169000"/><SRS>EPSG:26915</SRS></Layer></Layer></Capability></WMT_MS_Capabilities>
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to