01 2022 档案
Geotools之StreamingRenderer&ReferencedEnvelope
摘要:渲染出图出错 参考:https://vimsky.com/examples/detail/java-class-org.geotools.renderer.lite.StreamingRenderer.html 参考:https://vimsky.com/zh-tw/examples/detail/
阅读全文
idea:no artifacts marked for deployment
摘要:启动web服务时,选择run/debug configurations, 显然,我们现在不应该选择Application,应该选择新建->Tomcat Server 此时,出现提示:No artifacts marked for deployment 参考:https://blog.csdn.net
阅读全文
jts教程:Geometry包
摘要:JTS拓扑结构程序组是一个通过使用明确的精度模型和健壮的几何算法来执行空间数据操作的Java应用编程孔。JTS是用来对可以支持空间数据集的确认、处理、综合及质疑的应用程序进行改善。这篇文献就是对在JTS拓扑程序组中执行的类、方法与算法进行说明。JTS试图尽可能精确地执行开放式地理信息系统GIS中的简
阅读全文
idea:no main class specified
摘要:指定src目录。。sources >>Error:java: Compilation failed: internal java compiler error:https://blog.csdn.net/wo541075754/article/details/82119860 Java特性改为5.0
阅读全文
An Open Source Software Suite for Multi-Dimensional Meteorological Data Computation and Visualisation用于多维气象数据计算和可视化的开源软件套件
摘要:作者:王亚强 摘要 MeteoInfo Java software tools were developed for multi-dimensional meteorological data analysis and visualisation by integrating a Geographi
阅读全文
tracingBorders
摘要:边界追踪。。 /** * Tracing contour borders of the grid data with undefined data. Grid data * are from left to right and from bottom to top. Grid data array:
阅读全文
GeoTools连接PostGIS的一些坑
摘要:一月 25, 2022 2:23:06 下午 org.postgresql.Driver connect严重: Connection error: org.postgresql.util.PSQLException: 致命错误: 用户 "Geotools" Password 认证失败 (pgjdbc
阅读全文
java之DriverManager
摘要:DriverManager在java.sql这个包里面,管理一组 JDBC 驱动程序的基本服务 参考:https://blog.csdn.net/huangwenyi1010/article/details/51317544/
阅读全文
SimpleFeatureTypeBuilder
摘要:setCRS失败。。 org.postgresql.util.PSQLException: 致命错误: 用户 "Geotools" Password 认证失败 (pgjdbc: autodetected server-encoding to be GB2312, if the message is
阅读全文
geotools发展史
摘要:Recently, we have been on boarding some new staff at Astun (where I work) and one of the questions that seems to keep coming up is “how does open sour
阅读全文
geotools user guide
摘要:User Guide The GeoTools User Guide provides tutorials introducing spatial concepts, project background, and a reference section covering each module,
阅读全文
geotools 21.2
摘要:GeoTools 21.2 Thank you for downloading GeoTools 21.2. This release was created on June 27 2019. This release contains only a subset of the current Ge
阅读全文
java之Method.invoke
摘要:也是反射的原理,来执行函数操作 参考:https://blog.csdn.net/wenyuan65/article/details/81145900 参考2:https://www.cnblogs.com/qingchen521/p/8575761.html
阅读全文
java之getMethods和getDeclaredMethods & Geoserver之ClassProperties
摘要:java的反射(link1)(link2) getMethods(),该方法是获取本类以及父类或者父接口中所有的公共方法(public修饰符修饰的) getDeclaredMethods(),该方法是获取本类中的所有方法,包括私有的(private、protected、默认以及public)的方法。
阅读全文
SpringMVC之Controller(控制器)
摘要:SpringMVC一共分为三个部分:第一个部分是urlmapping,第二个部分是适配器,其实就是将url对应到Controller控制器,第三个部分就是将controller返回的数据放到view。 实际上这里面绝大部分工作都是不用我们做的,springmvc已经帮我们做好了,而我们只需要配置就可
阅读全文
Testing Big Spatial Data Software(Hadoop + HBase + GeoWave + GeoServer)without dying in the attempt :-)测试地理大数据软件(Hadoop+HBase+GeoWave+GeoServer)
摘要:参考:https://www.linkedin.com/pulse/testing-big-spatial-data-software-hadoop-hbase-geowave-alvaro-huarte/ 参考2:https://www.giserdqy.com/gis/opengis/geose
阅读全文
springmvc之SimpleUrlHandlerMapping非注解的方式实现url映射
摘要:我们都习惯了通过RequestMapping注解来处理url映射,但是我们不应该忘记还可以使用原始的非注解的方式来配置url。。 参考:https://blog.csdn.net/zsbgood/article/details/79504717 在geoserver中,可以看到没有使用注解。。而是使
阅读全文
GeoServer之controller和handler的区别
摘要:在geoserver中并没有使用RequestMapping来处理url。。而是使用SimpleUrlHandlerMapping...... springMvc四种处理器映射器之二:SimpleUrlHandlerMapping:https://blog.csdn.net/qq_32649889/
阅读全文
GeoServer之DispatchFilter
摘要:核心拦截器DispatchFilter实现:https://blog.csdn.net/Evan_Leung/article/details/53237115 要实现的目标:如何根据用户请求找到对应的处理类和处理方法 FilterDispatcher原理以及使用:https://www.iteye.
阅读全文
HttpServletRequestWrapper
摘要:HttpServletRequestWrapper类的使用:https://www.cnblogs.com/xuhewei/p/11474389.html 使用HttpServletRequestWrapper重写Request请求参数:https://www.cnblogs.com/cach/p/
阅读全文
interceptor和filter的区别和执行顺序
摘要:lnterceptor主要作用:拦截用户请求,进行处理,比如判断用户登录情况、权限验证,只要针对Controller请求进行处理,是通过Handlerlnterceptor。 Filter主要作用:过滤字符编码、做一些业务逻辑判断,主要用于对用户请求进行预处理,同时也可进行逻辑判断。 springm
阅读全文
springmvc之DispatcherServlet配置
摘要:DispatcherServlet是前置控制器,配置在web.xml文件中的。拦截匹配的请求,Servlet拦截匹配规则要自己定义,把拦截下来的请求,依据相应的规则分发到目标Controller来处理,是配置spring MVC的第一步。 参考:https://baike.baidu.com/ite
阅读全文
狂神说SpringMVC笔记
摘要:1. 回顾servlet:https://www.bilibili.com/video/BV1xY411b7hv/ https://mp.weixin.qq.com/s/yuQqZzAsCefk9Jv_kbh_eA 创建HelloServlet标签,它负责拦截/user下的请求 所以,请求类似于ht
阅读全文
java之ThreadLocal<>线程
摘要:ThreadLocal<Request>:利用线程保存用户请求。 https://blog.csdn.net/buyaoshuohua1/article/details/77972038 Java中的ThreadLocal详解:https://www.cnblogs.com/fsmly/p/1102
阅读全文
java获取当前路径&文件读写
摘要:this.getClass().getResource(): 参考:https://blog.csdn.net/haoxiaoyong1014/article/details/107452595 >>文件操作: File file = File.createTempFile("geoserver",
阅读全文
Spring Bean 初始化阶段(Initialization)
摘要:当ApplicationContext加载xxx.xml时,并不会实例化bean。。 只有当调用它时才会初始化。 1. Spring Bean初始化initializeBean: Aware接口回调阶段 2. Spring Bean初始化前阶段 3. Spring Bean初始化阶段(Initial
阅读全文
URL:getPath
摘要:request.getContextPath() request.getRequestURI() request.getPath() 参考:https://blog.csdn.net/itWMdevoloping/article/details/80924212
阅读全文
GeoServer之Dispatcher类(Controller控制器)
摘要:Dispatches an http request to an open web service (OWS). 向OWS开放网络服务转发(派发)http网络请求 An OWS request contains three bits of information: 一个OWS请求包含三点信息: Th
阅读全文
GeoServer服务扩展
摘要:方法一:OWS转发方式https://blog.csdn.net/weixin_38670190/article/details/116695489 方法二:手动方式https://www.cnblogs.com/sillyemperor/archive/2011/01/11/1929420.htm
阅读全文
GeoServer之kvpParser解析器&KvpRequestReader
摘要:参考1:https://blog.csdn.net/eternity_xyf/article/details/78531834 /** * Parses a key-value pair into a key-object pair. * * <p>This class is intended to
阅读全文
Spring之getBeanNamesForType
摘要:示例:获取 Spring 容器中所有 Date 类的 JavaBean 的名称 public static void main(String[] args){ ApplicationContext context = new ClassPathXmlApplicationContext( "appC
阅读全文
easyMock之expect和replay方法
摘要:expect是期望。。期望得到结果, replay是激活期望。。 参考1:https://www.thinbug.com/q/5987149 参考2:https://stackoverflow.com/questions/5987149/what-is-easymock-replay-used-fo
阅读全文
java SPI和API的区别?(GeoTools SPI&GeoServer中的ExtensionFilter接口)
摘要:Java SPI详解:https://www.cnblogs.com/jy107600/p/11464985.html 一般API都是接口的意思,是用于类的实现规范和约束。一旦基于该接口实现了不同的类。那么彼此类之间不一定通用。。 但是SPI接口则不同。 参考:https://www.jianshu
阅读全文
ApplicationContextAware是什么?
摘要:在我们的web程序中,用spring来管理各个实例(bean), 有时在程序中为了使用已被实例化的bean, 通常会用到这样的代码: ApplicationContext appContext = new ClassPathXmlApplicationContext("applicationCont
阅读全文
geoserver之GeoServerEnvironment&GeoServerExtensions&GeoServerResourceLoader类
摘要:简介: Utility class uses to process GeoServer configuration workflow through external environment variables. This class must be used everytime we need t
阅读全文
geoserver之过滤器filter
摘要:Java Web之过滤器(Filter):https://blog.csdn.net/yuzhiqiang_1993/article/details/81288912 A servlet filter that allows for advanced dispatching. servlet过滤器:
阅读全文
GP服务的调用
摘要:GP服务从生成到发布成功之后,仅仅完成了一半。。 如何调用GP服务也是重中之重。 参考1:https://blog.csdn.net/qq_36213352/article/details/81297545(Leaflet调用GP服务) 参考2:用图层服务作为GP服务参数。GP服务之参数GPFeat
阅读全文
资环环境地理信息GIS
摘要:第八章 环境污染模拟与预测GIS环境污染模拟与预测GIS环境下模型空间离散技术大气污染扩散模拟GIS水体污染扩散模拟GIS https://www.doc88.com/p-606277628054.html?r=1 https://wenku.baidu.com/view/0f1311e2360cb
阅读全文
空间数据库管理
摘要:基于PostgreSQL与PostGIS的空间数据库设计及应用研究:https://max.book118.com/html/2019/0214/6031120111002010.shtm 基于postgresql的省级像控点数据库设计与建设: 基于开源PostgreSQL&SharpMap的高放废
阅读全文
servlet的生命周期
摘要:客户端发送请求至服务器; 服务器启动并调用 Servlet,Servlet 根据客户端请求生成响应内容并将其传给服务器; 服务器将响应返回客户端。 controller类与servlet的关系:https://zhuanlan.zhihu.com/p/66934627
阅读全文
GeoServer与Spring MVC
摘要:之前以为只有在2017年REST API从RESTlet改用SpringMVC库之后才采用SpringMVC,其实不是的。。在很早很早就开始用SpringMVC了。 参见:https://www.cnblogs.com/left-brain/archive/2012/08/07/2743357.ht
阅读全文
geoserver:Migrate from Restlet to Spring-MVC
摘要:GeoServer的RESTAPI很流行,但维护的不好,收集了大量未解决的bug。其中许多人抱怨功能和缺乏文档。大量的bug(API调用正确但产生了错误)可能会产生更多的文档请求(开发人员认为他们调用错误,并通过一个有效的示例要求改进文档)。 在内部,RESTAPI是使用早期名为“restlet”的
阅读全文
springboot打包出错,没有主清单
摘要:使用Spring Boot微服务搭建框架,在eclipse和ldea下能正常运行,但是在打成jar包部署或者直接使用java -jar命令的时候,提示了xxXxxx.jar中没有主清单属性︰ 通过maven打jar包: mvn install,或者在IDE中右击选择Run as -> maven i
阅读全文
Spring-demo&GeoServer扩展:文件上传
摘要:1. 创建bean(类),2.通过applicationcontext.xml给bean配置参数,3.通过Test调用 参考:https://www.cnblogs.com/chenjfblog/p/10164826.html https://www.bilibili.com/video/BV1C3
阅读全文
GeoServer二次开发1 - hello Geoserver
摘要:1.一开始遇到的问题是打包的jar包特别大,把依赖包都打包进去了。。 2.第二个问题是geoserver仓库的问题,旧的过期了,新的仓库在:参见我上一篇博客。 3.打包之后的jar里没有applicationcontext.xml,这个文件特别重要。千万不能丢,否则spring无法识别 4. 使用m
阅读全文
The Boundless open source project has been archived and is no longer maintained.
摘要:repo.boundlessgeo.com is unavailable?:https://support.planet.com/hc/en-us/community/posts/360009782998-repo-boundlessgeo-com-is-unavailable- Answer: T
阅读全文
mongodb脚本是使用什么语言编写的?mongodb怎么执行脚本?脚本怎么保存
摘要:mongo shell即相当于SQL语句在关系型数据库中的作用,MongoDB使用JavaScript作为shell操作命令,这里我们就来整理MongoDB的mongo shell常用操作方法及操作脚本笔记 mongodb shell 运行js脚本的四种方式:https://blog.csdn.ne
阅读全文
mongodb geometry地理空间数据库存储和索引
摘要:一直以为mongodb不会在地理数据库上有太多作为,但是不是的。。mongodb是可以存储地理数据的,而且还有设计专门的函数来处理geojson数据,如$geometry:https://docs.mongodb.com/manual/reference/operator/query/geometr
阅读全文
GIS数据库设计
摘要:空间数据库设计的原则与标准 空间数据设计的基础知识 GIS数据库概念设计 编码体系设计 空间数据库功能设计 空间数据库安全设计 空间数据库设计实例(武汉排水管理信息系统数据库设计方案) 一、空间数据库设计的原则与标准 二、空间数据设计的基础知识 三、GIS数据库概念设计1、GIS数据库概念模型它是数
阅读全文
ArcGIS GP选项设置
摘要:参考1:http://bbs.3s001.com/forum.php?mod=viewthread&tid=278729&page=1 参考2:http://zhihu.geoscene.cn/article/101 https://zhuanlan.zhihu.com/p/190232779 Mo
阅读全文
ArcGIS 10.2.2 补丁
摘要:[ArcGIS必打补丁]ArcGIS 10.2.2 for (Desktop, Engine, Server) Geodatabase and Feature Service Sync Optimiz https://blog.csdn.net/linghe301/article/details/4
阅读全文
ModelBuilder
摘要:>>搜索ModelBuilder:https://zzk.cnblogs.com/my/s/blogpost-p?Keywords=ModelBuilder >>搜索gp服务:怎么编写GP服务,怎么利用ModelBuilder快速发布一个GP服务 ModelBuilder可视化建模简介:https:
阅读全文