How do I dropdown?
This is how you dropdown.
<details> <summary>How do I dropdown?</summary> <br> This is how you dropdown.
// modified from http://codepen.io/gisminister/pen/Hdorv | |
// Create a marker | |
var myMarker = L.divIcon({ | |
className: 'map-marker marker-color-gray a-class', | |
iconSize: [28,28], | |
html:'<i class="fa fa-fw fa-2x fa-question"></i>' // FontAwesome.io | |
}); | |
// Style with css |
from owslib.fes import * | |
from owslib.etree import etree | |
from owslib.wfs import WebFeatureService | |
wfs11 = WebFeatureService(url='http://example.com:8080/geoserver/wfs/', version='1.1.0') | |
f = open('download.sh', 'wb') | |
f.write('#!/bin/bash'+'\n') | |
f.write(''+'\n') | |
import requests | |
class GeoWebCacheService(object): | |
"""Class to communicate with the geowebcache api. | |
Api doco here: http://geowebcache.org/docs/current/rest/seed.html | |
""" | |
_url = None | |
_username = None | |
_password = None |
-- Get Max ID from table | |
SELECT MAX(id) FROM table; | |
-- Get Next ID from table | |
SELECT nextval('table_id_seq'); | |
-- Set Next ID Value to MAX ID | |
SELECT setval('table_id_seq', (SELECT MAX(id) FROM table)); |
set filepath="C:\some path\having spaces.txt" | |
for /F "delims=" %%i in (%filepath%) do set dirname="%%~dpi" | |
for /F "delims=" %%i in (%filepath%) do set filename="%%~nxi" | |
for /F "delims=" %%i in (%filepath%) do set basename="%%~ni" | |
echo %dirname% | |
echo %filename% | |
echo %basename% |
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz |
# export mysql database into shapefile | |
ogr2ogr out_shapes MYSQL:gis,user=root,password=password | |
# import shapefile into mysql | |
ogr2ogr -f MySQL MySQL:database_name,user=root,password=password my_shapefile.shp -nln table_name -a_srs EPSG:4326 -update -overwrite -lco engine=MYISAM | |
# reproject spatial reference from WGS 84 UTM 48S to Geographic Lattitide/Longitude Coordinate System | |
ogr2ogr -f "ESRI Shapefile" target_file.shp source_file.shp -s_srs EPSG:32748 -t_srs EPSG:4326 |
// check version | |
node -v || node --version | |
// list locally installed versions of node | |
nvm ls | |
// list remove available versions of node | |
nvm ls-remote | |
// install specific version of node |
<details> <summary>How do I dropdown?</summary> <br> This is how you dropdown.