- 浏览: 274934 次
- 性别:
- 来自: 杭州
-
最新评论
-
chenshi011:
无意中,看到LZ博客感觉多门语言都精通啊,尤其还做GIS啊,敢 ...
WorldWind学习笔记[一] -
supperman:
不能用~!
windows下Nginx启动、关闭、重启bat工具 -
join_lin:
攒。。
spket.config.xml -
awaterway:
可以用,多谢
IntelliJ IDEA 9.0 注册机/注册码/keygen/破解版 -
qq3553174:
你好,我刚刚接触仿真地图。请问如果要将世界风嵌入AIR程序中如 ...
WorldWind学习笔记[一]
文章列表
// 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_ ...
geowebcache.xml完整列表
- 博客分类:
- gis
对地图的切片来讲,使用过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 ...
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中多边形内多个标签问题
- 博客分类:
- gis
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的安装
- 博客分类:
- Server
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错误
- 博客分类:
- java
在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"/>
< ...