Hi,
I am working on a local OSM WMS service (provided by mapserver). I want to cascade this & use it within other servers/maps. And advice appreciated. I have set up a simple mapfile to do this, but keep getting a "cannot calculate extent" error that I cannot explain or resolve. I think the error is from my service, and not the one being cascaded. The underlying services (in different styles) can be viewed in a browser at: http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-michelin.map and http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-bing.map<http://150.242.41.10/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-bing.map> and http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-google.map And can be accessed directly at http://maps.nzoss.org.nz/cgi-bin/mapserv?map=/opt/basemaps/osm-google.map<http://150.242.41.10/cgi-bin/mapserv?map=/opt/basemaps/osm-google.map> The mapfile to cascade this is below, could someone please let me know why this fails? MAP NAME "osmnz2" EXTENT 12863671 -7350771 21885121 -1422127 UNITS meters SIZE 1000 1000 IMAGETYPE PNG24 PROJECTION "init=epsg:3857" END WEB IMAGEPATH "/ms4w/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" METADATA "wms_enable_request" "*" "wms_title" "WMS testing" "wms_srs" "EPSG:3857" "ows_keywordlist" "osm nz" "ows_fees" "none" "ows_accessconstraints" "none" "ows_contactorganization" "none" "ows_contactperson" "for this demo service:none" "ows_contactposition" "none" "ows_contactvoicetelephone" "none" "ows_contactfacsimiletelephone" "none" "ows_address" "none" "ows_city" "none" "ows_country" "none" "ows_role" "none" "ows_contactinstructions" "none" "ows_hoursofservice" "whenever" "ows_contactelectronicmailaddress" "none" END END LAYER NAME "osmnz" EXTENT 12863671 -7350771 21885121 -1422127 PROJECTION "init=epsg:3857" END # end of object "projection" TYPE RASTER CONNECTION "http://150.242.41.10/cgi-bin/mapserv?map=/opt/basemaps/osm-google.map" CONNECTIONTYPE WMS STATUS ON DUMP FALSE METADATA "wms_name" "osmnz" "wms_format" "image/jpeg" "wms_server_version" "1.0.0" "wms_title" "osm_nz" "wms_srs" "epsg:3857" "wms_extent" "12863671 -7350771 21885121 -1422127" "wms_abstract" "NZ Open Streetmap service" "wms_version" "1.1.1" "queryable" "false" END # end of metadata object END # end of layer "osm_nz" END # map Brent Wood Brent Wood Principal Technician - GIS and Spatial Data Management Programme Leader - Environmental Information Delivery +64-4-386-0529 | 301 Evans Bay Parade, Greta Point, Wellington | www.niwa.co.nz<http://www.niwa.co.nz> [NIWA]<http://www.niwa.co.nz> To ensure compliance with legal requirements and to maintain cyber security standards, NIWA's IT systems are subject to ongoing monitoring, activity logging and auditing. This monitoring and auditing service may be provided by third parties. Such third parties can access information transmitted to, processed by and stored on NIWA's IT systems.
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users