mapserver

how to monitor a server (mapserver)

北城以北 提交于 2019-12-11 13:50:02
问题 ¿how can I know that things have happened rafters or on my server?, I've had a problem with a server in my care and that can not be causing these errors because they are not replaced an archives of any kind and no has done nothing wrong in applying for any suggestions http://obtra.univalle.edu.co/obtra/index.php?site=carto these are the errors: Warning: [MapServer Error]: msLoadSymbolSet(): First token must be SYMBOLSET, this doesn't look like a symbol file. in /var/www/obtra/vcauca.php on

Syntax error at or near “USING”

孤者浪人 提交于 2019-12-11 04:59:11
问题 I am trying to recreate the functionality of a query found inside of a mapfile on our mapserver into a plpgsql stored procedure. Here is the query: geom from (select g.gid, g.geom, g.basin, a.\"DATE\", a.\"VALUE\" from sarffg_basins_00_regional_3sec as g join \"%prod_table%\" as a on g.basin = a.\"BASIN\" where a.\"DATE\" = '%prod_date%') as subquery using unique gid using srid=4326 Within my stored procedure, I have: RETURN QUERY EXECUTE 'SELECT geom FROM ( SELECT g.gid, g.geom, g.basin, a

ArcGis中MapServer查询使用

为君一笑 提交于 2019-12-09 14:34:46
方式一、ArcMap 打开ArcMap,或者已经存在的mid格式文件。 双击图层信息 选择 - 定义查询 2.点击查询生成器 选择查询的图层要素的字段 选择一个逻辑判断符 查询出要素字段去重后的值 选中其中一个值 方式二、JS调用方式 进入到ArcGis的Rest请求地址(http://27.0.0.1:6080/arcgis/rest) 进入到对应的图层MapServer中 进入到Export Map操作界面中 ] 2. Layer Definitions意思差不多就是图层中的结果过滤 可以使用JSON格式,或者键值格式可参考文档中内容 ArcGISServer中的ExportMap使用方法 目的:为了得到某一范围的地图服务图片; 存在问题: 1、由于数据量比较大,利用动态图的方式获取,服务响应太慢; 2、由于数据经常更新,利用切片图的方式获取,存在随时需要重新切片; 3、解决问题的办法:利用ArcGISServer中的ExportMap方法; ExportMap中支持的参数: 1、F:返回类型,支持html | json | image | kmz四种格式,我们请求的是图片,选择f=image即可; 2、Bbox:地图的左下角坐标和右上角坐标,排列顺序是<xmin>, <ymin>, <xmax>, <ymax>。例如bbox=-104,35.6,-94.32,41; 3

Using Tiled Google Map With OpenLayers 3

只愿长相守 提交于 2019-12-06 09:33:44
问题 How can I use google map with OpenLayers 3? I want to migrate from OpenLayers 2 to 3. here is an example: google map integration with OpenLayers example but using this method needs to change the old HTML code (two element needs, 'gmap' and 'olmap' that mentioned in the example). Google Maps is officially not supported by ol3, but my question is: "How can I use Google Maps Tile Service in my project like a MapServer, without needing to add google API reference (for optimizing purposes) to the