This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import urllib2 | |
import base64 | |
baseURL = "https://domain.example:8080/geoserver/gwc/rest/seed/" | |
descURL = "https://domain.example:8080/geoserver/gwc/rest/layers/" | |
un = 'username' | |
pw = 'biglongtrickypassword' | |
def truncateLayer(layer): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width"> | |
<title>Example Leaflet</title> | |
<link rel="stylesheet" href="https://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css"> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<Capabilities xmlns="http://www.opengis.net/wmts/1.0" | |
xmlns:ows="http://www.opengis.net/ows/1.1" | |
xmlns:xlink="http://www.w3.org/1999/xlink" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:gml="http://www.opengis.net/gml" | |
xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd" | |
version="1.0.0"> | |
<!-- Service Identification --> <ows:ServiceIdentification> | |
<ows:Title>Basemaps_Orthophoto</ows:Title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import urllib2 | |
import base64 | |
un='username' | |
pw='password' | |
baseURL = "https://URL/geoserver/gwc/rest/seed/" | |
descURL = "https://URL/geoserver/gwc/rest/layers/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!Note, only use the bits in between these '---' in a .reg file. Need to be run from local machine as Admin. | |
Note2: For MapInfo, install the SQL Server Native Client driver, it allows MI to handle dates. You'll need to install it anyway to use these scripts. http://msdn.microsoft.com/en-us/sqlserver/aa937733.aspx | |
Default (works for 32 bit software on 32 bit machine, and 64 bit software on 64 bit machine). | |
--- | |
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map.on('click', function(e) { | |
var popLocation= e.latlng; | |
var popup = L.popup() | |
.setLatLng(popLocation) | |
.setContent('<p>Hello world!<br />This is a nice popup.</p>') | |
.openOn(map); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge"> | |
<html> | |
<head> | |
<title>test</title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width"> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css" /> | |
<!--[if lte IE 8]> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css" /> |
NewerOlder