I'm sure there are more effective ways of doing this...
This file contains hidden or 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
PS C:\Python27\ArcGIS10.2\Lib\site-packages> python get-pip.py | |
Traceback (most recent call last): | |
File "get-pip.py", line 20204, in <module> | |
main() | |
File "get-pip.py", line 152, in main | |
bootstrap(tmpdir=tmpdir) | |
File "get-pip.py", line 82, in bootstrap | |
import pip | |
File "c:\users\ryanco~1\appdata\local\temp\tmpbwqs3j\pip.zip\pip\__init__.py", line 13, in <module> | |
File "c:\users\ryanco~1\appdata\local\temp\tmpbwqs3j\pip.zip\pip\utils\__init__.py", line 22, in <module> |
This file contains hidden or 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
[user] | |
name = maptastik | |
email = [email protected] | |
[core] | |
autocrlf = input | |
safecrlf = false | |
[filter "lfs"] | |
clean = git lfs clean %f | |
smudge = git lfs smudge %f | |
required = true |
This file contains hidden or 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
// Mapbox access token. You'll want to use your own | |
L.mapbox.accessToken = 'pk.eyJ1IjoibWFwdGFzdGlrIiwiYSI6IjNPMkREV1kifQ.2KGPFZD0QaGfvYzXYotTXQ'; | |
// Initialize the map, set the minimum and maximum zoom, and specify starting zoom and center | |
var map = L.map('map', { | |
minZoom: 11, | |
maxZoom: 16 | |
}).setView([38.046441, -84.497019], 11); | |
// Add Stamen Toner basemap |
This file contains hidden or 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> | |
<head> | |
<title>500-502 E 3rd Street Collapse - Juxtaposition</title> | |
</head> | |
<body> | |
<!-- Begin JuxtaposeJS div --> | |
<div class="juxtapose" data-startingposition="50" data-showlabels="true" data-showcredits="true" data-animate="true"> | |
<!-- Left image --> |
First things first, you'll need to make sure your data are in a folder within your Google Drive rather than the root directory. Once you've added your data file to that folder, make sure that folder and the file are shareable.
These steps assume you're working through Google Drive in your browser:
- Navigate to the folder in your Google Drive.
- Examine the URL of the folder. It should look something like
https://drive.google.com/drive/u/0/folders/<folder ID>
. The folder ID should be a string of numbers and letter rather than the name you gave the folder. - Generate the URL of your file. The URL consists of three (3) parts that you'll put together:
- https://googledrive.com/host/
- folder ID
- /your file
Example from Rich Donohue's maptimeLEX meetup on D3-based mapping.
- http://gis.lexingtonky.gov/lfucggis/rest/services/aerial2013/ImageServer
- Click
WMTS
- Under
<TileMatrixSetLink>
get the base URL template,http://gis.lexingtonky.gov/lfucggis/rest/services/aerial2013/ImageServer/WMTS/tile/1.0.0/aerial2013/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}
{Style}
= default,{TileMatrixSet}
= default028mm,{TileMatrix}
= a number 0-9 (likely 9 because it's the clearest zoomed in),{TileRow}
= {y},{TileCol}
= {x}
Other LFUCG REST services: http://gis.lexingtonky.gov/lfucggis/rest/services
This file contains hidden or 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> | |
<head> | |
<meta charset=utf-8 /> | |
<title>Commonwealth Stadium - Alternative Configuration, 1973</title> | |
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> | |
<script src='https://api.mapbox.com/mapbox.js/v2.2.2/mapbox.js'></script> | |
<link href='https://api.mapbox.com/mapbox.js/v2.2.2/mapbox.css' rel='stylesheet' /> | |
<style> | |
body { margin:0; padding:0; } |
- Go to a REST service page and pick a layer
- For example: Georgetown city limits (http://gis.gscplanning.com/arcgis/rest/services/CityLimits/MapServer/0/)
- Copy the URI
- In QGIS, click Add Vector Layer
- In the dialog box, select the Protocol option.
- Paste the service URI into the URI field
- To the end of the the URI paste
query?where=objectid+%3D+objectid&outfields=*&f=json
- Click Open
This method works best for services with <1000 features.