`
cjx186
  • 浏览: 274934 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论
文章列表
// While you can edit this file, it’s best to put your changes in // “User/Preferences.sublime-settings”, which overrides the settings in here. // // Settings may also be placed in file type specific options files, for // example, in Packages/Python/Python.sublime-settings for python files. ...
可以在ST2里面新建一个Building System(Tools–>Building System–>New Building System),在弹出的文本框里面输入以下内容:{ "cmd": ["javac -J-Duser.country=US", "$file_name", "&&", "java", "$file_base_name"], "working_dir": "${project_ ...
对地图的切片来讲,使用过tilecache,很短小精干,但是对于Geoserver自带的geowebcache(之前geowebcache是独立项目,后来成为了Geoserver的一部分),这个完整的体系中也是重要的一段。下面就开始整理吧! 发布Geoserver之后,在WEB-INF/cl ...
@Entity//标识这个pojo是一个jpa实体 @Table(name = "users") //指定表名为users public class Users implements Serializable { @Id//设置主键 private String userId; //设置字段类型通过@Column注解设置,包含的设置如下 //name:字段名 //unique:是否唯一 //nullable:是否可以为空 //inserttable:是否可以插入 //updateable:是否可以更新 //columnDefinitio ...

Java泛型接口

    博客分类:
  • java
package me.cjx.example; interface Demo<T> { public void print(T param); } // 实现泛型接口一 class Imple1<T> implements Demo<T> { public void print(T param) { System.out.println("param = " + param); } } // 实现泛型接口二 class Imple2 implements Demo<Impl ...
1、直接在Java代码内部Access数据库package me.cjx.example; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.Statement; import java.util.Properties; public class ReadMDB { public static void main(String[] args) { ...
  在开发hibernate的程序时,需要进行SessionFactory的配置,简单地说,也就是建立与数据库之间连接的配置,在hibernate中一般使用xml文件来进行配置,但是在该文件的配置中需要设置dialect方言属性值,对于不同的数据库,方言的值dialect是不同的,那么下面就列出在不同的数据库中如何设置该dialect值(参见下表):  RDBMS方言DB2org.hibernate.dialect.DB2DialectDB2 AS/400org.hibernate.dialect.DB2400DialectDB2 OS390org.hibernate.dialect.DB23 ...
Polygon: <?xml version="1.0" encoding="ISO-8859-1"?> <StyledLayerDescriptor version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" xmlns="http://www.opengis.net/sld" xmlns:ogc="http://w ...
GeoServer在生成多边形切片时会产生重复标签 这个问题可以使用过滤器的质心功能,中心位置。 NameArgumentsDescriptioncentroidgeometry:GeometryReturns the centroid of the geometry. Can be often used as a label point for polygons, though there is no guarantee it will actually lie inside the geometry <Rule> <TextSymbolizer> ...
http://localhost:8080/geoserver/wms? REQUEST=GetMap &SERVICE=WMS &VERSION=1.1.1 &LAYERS=masmap &STYLES= &FORMAT=image/png &BGCOLOR=0xD6EAB3 &TRANSPARENT=FALSE &SRS=EPSG:4326 &BBOX=101.53219,3.00787,101.54219,3.01787 &WIDTH=600 &HEIGHT=60 ...
原文链接:pseudo-3D buildings in Geoserver Pseudo-3D or 2.5D or 3/4 perspective can be done in Geoserver using isometric function. <FeatureTypeStyle> <Rule> <PolygonSymbolizer> <Geometry> <ogc:Function name="isometric"> <ogc:P ...

CentOS 下 7z的安装

yum install p7zip[root@hostname ~]# wget http://sourceforge.net/projects/p7zip/files/p7zip/9.13/p7zip_9.13_src_all.tar.bz2/download [root@hostname ~]# tar jxvf p7zip_9.13_src_all.tar.bz2 [root@hostname ~]# cd p7zip_9.13 [root@hostname ~]# make [root@hostname ~]# make install /usr/local/bin /usr/ ...
windows下Nginx启动、关闭、重启bat工具引用cls @ECHO OFF SET NGINX_PATH=F: SET NGINX_DIR=F:\web\nginx-1.0.11\ color 0a TITLE Nginx 管理程序 Power By ChenJianxiang GOTO MENU :MENU CLS ECHO. ECHO. * * * *  Nginx 管理程序 Power By ChenJianxiang  * * *  ECHO. * * ECHO. * 1 启动Nginx * ECHO. * * ECHO. * 2 关闭Nginx * E ...
在Maven使用时会发生tools.jar这个包错误,查看Build Path发指指向的不是jdk1.6的,而是指向了1.5的。引用12-7-26 下午05时01分20秒: Build errors for show; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project show: Could not resolve dependencies for project com.test:show:war:0.0.1-SNAPSHOT: Could not find art ...
以Apache Tomcat/7.0.28例:(每个版本的地址和配置会不一样) 查看http://127.0.0.1/manager/html 在弹出的对话框中点取消就会出现401错误, 这里会例出这个版本的哪些角色,有什么权限,manager-gui图形管理 manager-script文本接口等。 1.先更改tomcat-users.xml文件 <?xml version='1.0' encoding='utf-8'?> <tomcat-users> <role rolename="manager-gui"/> < ...
Global site tag (gtag.js) - Google Analytics