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 (evt) { | |
var viewResolution = (map.getView().getResolution()); | |
var url = pwLayer.getSource().getGetFeatureInfoUrl( | |
evt.coordinate, | |
viewResolution, | |
'EPSG:4326', | |
{'INFO_FORMAT': 'text/javascript'}); | |
$.ajax({ | |
url: url, | |
data: "", |
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
--http://gis.stackexchange.com/questions/103760/tif-tfw-to-geotiff | |
--http://stackoverflow.com/questions/32324726/how-to-get-projectionespg-number-from-fif-or-tfw-file | |
INSERT INTO USER_SDO_GEOM_METADATA (TABLE_NAME, COLUMN_NAME, DIMINFO, SRID) | |
VALUES ('V_POWER_CUT_NET_DFG_CABLE', 'SHAPE', |
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
package org.wowtools.dao; | |
import java.sql.SQLException; | |
import java.util.function.IntConsumer; | |
/** | |
* @author liuyu | |
* @date 2017/3/20 | |
*/ | |
public class T44 { |
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
package switchtest; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
import java.util.Stack; | |
/** | |
* 寻找图中两个点间所有可达路径 | |
*/ | |
public class RouteSearch { |
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
package switchtest; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
import java.util.Stack; | |
/** | |
* 寻找图中两个点间所有可达路径 | |
*/ | |
public class RouteSearch { |
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"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.wowtools.lean-opencv</groupId> | |
<artifactId>opencvcookbook</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<dependencies> |
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="Content-Type" content="text/html; charset=utf-8"/> | |
<title>Title</title> | |
</head> | |
<script src="http://apps.bdimg.com/libs/jquery/1.6.4/jquery.min.js"></script> | |
<body> | |
<span id="ruler"></span><-- add ' style="visibility: hidden;" ' to hidden it<br/> |
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> | |
<head> | |
<title>Custom Animation</title> | |
<link rel="stylesheet" href="https://openlayers.org/en/v3.20.1/css/ol.css" type="text/css"> | |
<!-- The line below is only needed for old environments like Internet Explorer and Android 4.x --> | |
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script> | |
<script src="https://openlayers.org/en/v3.20.1/build/ol.js"></script> | |
</head> | |
<body> |
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
1、编写脚本restart.sh | |
/usr/local/tomcat/bin/catalina.sh stop | |
sleep 1m | |
/usr/local/tomcat/bin/catalina.sh start | |
2、上传脚本到服务器,修改权限 | |
执行测试 /usr/local/tomcat/bin/restart.sh | |
如果sleep出错,运行 | |
dos2unix restart.sh | |
可能要安装 dos2unix |
NewerOlder