arcgis

Esri proxy for Angular 7 project to screenshot

蹲街弑〆低调 提交于 2019-12-11 03:51:18
问题 My team is currently working on a web application with angular 7 front end and .net core 2.1 back-end. One of tasks i need to do is to grab a screenshot and attach it to an email. The web application has an esri-map. For the purposes of capturing the screenshot i am using html2canvas package. It works as expected except for the part that it doesn't capture the esri map content. It captures everything else except the esri-map. For the html2canvas function call, i set the allowTaint property

Issues with wmode=“opaque” and issues with wmmode=“window”

孤者浪人 提交于 2019-12-10 23:57:04
问题 Ok so first I was having 2 issues with default wmode of "window". My web page navigation menus would go under my flex/flash app. The other issue was when scrolling in the flash app the whole page would scroll. I changed wmode to "opaque" and this fixed the issue with the navigation menus and so now they show up above the flash app. Thats great but now I dont have scrolling at all in the flash app. I realize this is a big issue out there but I can't seem to find any solutions for solving both

System.TypeLoadException referencing .NET 1.0 assemblies after .NET 4.0 migration

房东的猫 提交于 2019-12-10 19:19:28
问题 There's a project which was migrated from .NET 3.5 to .NET 4.0. The project has some references to .NET 1.0 assemblies, which are wrappers around COM objects. These .NET 1.0 assemblies and COM objects are product of an external company. The project compiles, but during runtime the first point when the software references an object defined in those 1.0 assemblies throws an exception: System.TypeLoadException: Could not load the structure 'ESRI.MapObjects2.Core.ShapeTypeConstants' from assembly

How to makeIdentify Task in ArcGIS API for android work with a standard WMS

笑着哭i 提交于 2019-12-10 19:19:27
问题 I want to use Identify Task in ARCGIS API for android.I used this example and it works fine but when I try to change the URL to get data from another WMS it shows error here is my another wms I get error in folowing line for (int index = 0; index < results.length; index++) { result_1 = results[index]; String displayFieldName = result_1.getDisplayFieldName(); Map<String, Object> attr = result_1.getAttributes(); for (String key : attr.keySet()) { if (key.equalsIgnoreCase(displayFieldName)) {

How can I call a javascript function from inside a method?

社会主义新天地 提交于 2019-12-10 17:50:54
问题 I am inside of... public class bgchange : IMapServerDropDownBoxAction { void IServerAction.ServerAction(ToolbarItemInfo info) { Some code... and after "some code" I want to trigger [WebMethod] public static void DoSome() { } Which triggers some javascript. Is this possible? Ok, switch methods here. I was able to call dosome(); which fired but did not trigger the javascript. I have tried to use the registerstartupscript method but don't fully understand how to implement it. Here's what I tried

Load ArcGIS digitized image

泪湿孤枕 提交于 2019-12-10 11:57:09
问题 I am New to GIS platform. In my project (A windows application) I'm trying to load an image in PictureBox(A drone image of an area) is in GeoTIFF format about 950+ MB's. This image digitized(mark boundries of every house and labelled with house no) and data imported in Shapefile. I extracted XY coordinate data using following code. I reduced the original image size to about 40-45 MB's and converted in JPG format. Now I have to plot that XY coordinate data in my windows application on the new

ArcGis Engine, how to select objects?

北城余情 提交于 2019-12-10 11:49:08
问题 I'm trying to create a standalone application, which loads a ArcGis map, selects a few objects in one layer and zooms to them. Loading and displaying the map does work, using something like this: AxMapControl _mapControl; // in constructor: _mapControl = new AxMapControl(); // in loading _mapControl.LoadMxFile(@"C:\Users\me\Documents\TestProject.mxd"); This does work nicely and does display the map as full extent (of course the AxMapControl is embedded into a WindowsFormsHost, but this

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

Interpolate coordinates at unrecorded timestamps

左心房为你撑大大i 提交于 2019-12-09 13:20:50
问题 I have a gps units that records coordinates at rather random intervals (sometimes every 12 sec sometimes every 6 sec). There's another instrument that measures particulate matter at every second. I'm looking for a way to interpolate the coordinates at unrecorded timestamps for every second based on the existing coordinates and the speed of the movement, so that I can merge the gps data with the particulate matter dataset. To make things a bit easier, I can assume that the route between two

ArcGIS AddIN编译旧版本项目问题

梦想与她 提交于 2019-12-09 13:15:46
ArcGIS 的 Addin 项目,后来 ArcGIS 版本升级为高版本 AddIN 项目想做一些细节调整,结果出生成时没有生成 esriaddin 文件, ArcMap 中 AddIn Manager 中也没有该插件。 后来发现问题是由于 ESRI 对不同版本的 VS 中 SDK 命名不一致造成的。 解决方法是: 用记事本打开 .csproj 项目文件,将其中的路径更改为正确的路径即可, 如 <Import Project="$(MSBuildExtensionsPath)\ESRI\ESRI.ArcGIS.AddIns.targets" Condition="Exists('$(MSBuildExtensionsPath)\ESRI\ESRI.ArcGIS.AddIns.targets')" /> 更改为: <Import Project="$(MSBuildExtensionsPath)\ESRI\ESRI.ArcGIS.AddIns.11.targets" Condition="Exists('$(MSBuildExtensionsPath)\ESRI\ESRI.ArcGIS.AddIns.11.targets')" /> <Warning Text="Unable to create .esriAddin; missing ESRI ArcGIS Add-in SDK