| KML Placemarks aren't correctly located when KMSCORE=0 and mode=refresh for SDE EPSG:3005 polygon data. Request and response header and bodies are below. The ground overlay returned is correct, but the KML placemarks don't look like the coordinates have been converted from the native SRS of EPSG:3005. GET http://delivery.openmaps.gov.bc.ca/geo/pub/wms?service=wms&request=GetMap&version=1.1.1&format=application/vnd.google-earth.kml+xml&layers=pub:WHSE_ADMIN_BOUNDARIES.ADM_NR_DISTRICTS_SPG&styles=NaturalResourceDistrictsGeneralized&height=2048&width=2048&transparent=false&srs=EPSG:4326&format_options=AUTOFIT:true;KMATTR:true;KMPLACEMARK:true;KMSCORE:0;MODE:refresh;SUPEROVERLAY:false&BBOX=-131.856215974592,49.11433580187077,-112.7617382734907,56.42011155576946 HTTP/1.1 Host: delivery.openmaps.gov.bc.ca Connection: keep-alive Accept: application/vnd.google-earth.kml+xml, application/vnd.google-earth.kmz, image/, */ User-Agent: GoogleEarth/7.1.5.1557(Windows;Microsoft Windows (6.1.7601.1);en;kml:2.2;client:Free;type:default) Accept-Encoding: gzip,deflate Accept-Language: en-us,en,* Accept-Charset: iso-8859-1,*,utf-8 Cookie: GS_FLOW_CONTROL="GS_CFLOW_-3078aa88:15222b5e5f6:-7f15" HTTP/1.1 200 OK Date: Sun, 10 Jan 2016 02:20:55 GMT Server: Apache-Coyote/1.1 X-Control-flow-delay-ms: 0 Content-Disposition: attachment; filename=pub-WHSE_ADMIN_BOUNDARIES.ADM_NR_DISTRICTS_SPG.kml Content-Type: application/vnd.google-earth.kml+xml Set-Cookie: GS_FLOW_CONTROL="GS_CFLOW_-3078aa88:15222b5e5f6:-7f15"; Version=1 Access-Control-Allow-Methods: OPTIONS,GET,POST Access-Control-Allow-Headers: X-Requested-With, Referer, Origin, Content-Type Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Length: 51739 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:ns2="http://www.google.com/kml/ext/2.2" xmlns:ns3="http://www.w3.org/2005/Atom" xmlns:ns4="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0"> <Document> <LookAt> <longitude>-123.1184757657314</longitude> <latitude>53.14872329846972</latitude> <altitude>1867026.3229800372</altitude> <heading>0.0</heading> <tilt>0.0</tilt> <range>1508655.1976170298</range> <altitudeMode>clampToGround</altitudeMode> </LookAt> <Folder> <name>pub:WHSE_ADMIN_BOUNDARIES.ADM_NR_DISTRICTS_SPG</name> <LookAt> <longitude>-114.80358157237526</longitude> <latitude>45.40233389539659</latitude> <altitude>1.0372488476100594E7</altitude> <heading>0.0</heading> <tilt>0.0</tilt> <range>8381514.74303516</range> <altitudeMode>clampToGround</altitudeMode> </LookAt> <GroundOverlay> <name>pub:WHSE_ADMIN_BOUNDARIES.ADM_NR_DISTRICTS_SPG</name> <drawOrder>0</drawOrder> <Icon> <href>http://delivery.openmaps.gov.bc.ca/geo/pub/wms?service=wms&request=GetMap&version=1.1.1&format=image%2Fpng&layers=pub%3AWHSE_ADMIN_BOUNDARIES.ADM_NR_DISTRICTS_SPG&styles=NaturalResourceDistrictsGeneralized&height=784&width=2048&transparent=true&bbox=-131.856215974592%2C49.11433580187077%2C-112.7617382734907%2C56.42011155576946&srs=EPSG%3A4326&format_options=AUTOFIT%3Atrue%3BKMATTR%3Atrue%3BKMPLACEMARK%3Atrue%3BKMSCORE%3A0%3BMODE%3Arefresh%3BSUPEROVERLAY%3Afalse</href> <refreshInterval>0.0</refreshInterval> <viewRefreshMode>never</viewRefreshMode> <viewRefreshTime>0.0</viewRefreshTime> <viewBoundScale>0.75</viewBoundScale> </Icon> <altitude>0.0</altitude> <LatLonBox> <north>56.42011155576946</north> <south>49.11433580187077</south> <east>-131.856215974592</east> <west>-112.7617382734907</west> <rotation>0.0</rotation> </LatLonBox> </GroundOverlay> <Placemark id="WHSE_ADMIN_BOUNDARIES.ADM_NR_DISTRICTS_SPG.1"> <name>Natural Resource Districts Generalized - Colour Themed</name> <description><ul> <li><b>District Name</b>: North Island - Central Coast Natural Resource District</li> <li><b>Org Unit</b>: DNI</li> <li><b>Org Unit Name</b>: North Island - Central Coast Natural Resource District</li> <li><b>Region Org Unit</b>: RWC</li> <li><b>Region Org Unit Name</b>: West Coast Natural Resource Region</li> <li><b>Feature Code</b>: FM90000020</li> <li><b>Feature Name</b>: Natural Resource District</li> <li><b>Area Square Meters</b>: 7.49996972498015E10</li> <li><b>Length Meters</b>: 1933321.1904</li> </ul> </description> <LookAt> <longitude>84.97408885837622</longitude> <latitude>68.87518962642825</latitude> <altitude>0.0</altitude> <heading>0.0</heading> <tilt>0.0</tilt> <range>0.0</range> <altitudeMode>clampToGround</altitudeMode> </LookAt> <Style> <LabelStyle> <color>00ffffff</color> <scale>0.0</scale> </LabelStyle> <LineStyle> <color>ff6e6e6e</color> <width>0.4</width> </LineStyle> <PolyStyle> <color>ff5cf5f7</color> <outline>1</outline> </PolyStyle> </Style> <Point> <coordinates>905124.9740888583,737348.8751896265</coordinates> </Point> </Placemark> ……………….. </Folder> </Document> </kml> |