Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [asp.net]

A Microsoft-created programming framework built on top of the common language runtime (CLR) that can be used on a Windows server to create Web applications in a variety of programming languages.

2
votes
1answer
101 views

Integrating Leaflet with ASP .NET MVC?

I am trying to use Leaflet (https://leafletjs.com/) javascript library in a project built on ASP .NET MVC5. For the sake of simplicity, let's just say I am trying to run the following code (provided ...
1
vote
0answers
65 views

UploadServiceDefinition_server to ArcGIS Server not working on IIS

I want to write a web using MVC that uploads a .sd file to my ArcGIS Server using Python (arcpy). In my controller I have: public string upload_sd() { ProcessStartInfo start = ...
1
vote
3answers
530 views

Downloading a huge GeoJSON file for features

I working on an ASP MVC web app that calls a web service to get the polygons (as GeoJSON files) to display on the client side in OpenLayers. These polygons contain in total 47191 points !! Which makes ...
0
votes
1answer
221 views

ArcObjects .NET - Initializing License?

I'm brand new to ArcObjects. I've got it installed, and now I want to try using it in a .NET MVC application. In the controller, I think I need to initialize the license before I can do anything with ...
2
votes
1answer
331 views

Generate ArcGIS Token without Username/Password Each Time

I have an ASP.NET C# web application that authenticates a user via their username and password. Once the user is authenticated, the app generates an ArcGIS token using Esri's Generate Token operation ...
1
vote
0answers
154 views

how can I bind layers from database or add new layer(s) to existing layer?

First of all, I have to say that I'm new to the OpenLayers. I was used OpenLayers 4 in this project. We have a map with group layers that can visible or invisible any of them. var map = new ol.Map({ ...
1
vote
0answers
134 views

Google Map- Polygons

I construct three polygons in the google map using the help polygons in google Map API for developers site. They are look like one polygon inside an another polygon .When my page is loaded all three ...
0
votes
0answers
975 views

Developing a GIS web application using Asp.net, geoserver, postgresql and postgis

I have been trying to develop a gis web application using asp.net, geoserver, postgresql and postgis. Till now I have been able to import my shapefiles to a spatial database in postgresql with the ...
1
vote
0answers
92 views

Connect to ArcGIS Server 10.1 through ArcObjects

I want to connect to ArcGIS Server with ArcObjects. I am using the IGISServerConnection interface. and I use ASP.NET impersonation. The Esri documentation says : To succesfully connect to the ...
1
vote
0answers
256 views

ASP .NET and ArcGIS API for Javascript : FeatureTable won't show up

I"m a newbie with the ASP .NET, a have an issue. I want to show up a feature table in a viewer but I don"t get any results. I think I"m missing something? Here is example that I took from the ...
1
vote
0answers
50 views

How to capture feature selection event using FeatureSelectedEventHandler in MapXtreme?

I am trying to implement functionality, where I need to run a piece of code when selection of a feature(point feature selection with mouse click) happens. I am using PointSelectionCommand (i.e., ...
0
votes
0answers
14 views

How to highlight point and line features with color by mouse click selection [duplicate]

I am developing a GIS web application in Asp.net using MapXtreme SDK. I have a requirement of highlighting mouse click selected map features with different colors.
0
votes
1answer
70 views

How to give custom color to selected map feature using PointSelection command in MapXtreme SDK

I am developing a GIS web application in Asp.Net using MapXtreme(V8.0)SDK. I have a requirement of highlighting selected feature with cursor. I am able to do that with below code <cc1:...
3
votes
0answers
103 views

How update location field (geometry) in Oracle Spatial using asp.net web application?

I want to update a geometry column in Oracle Spatial database via Asp.net web application, I couldn't find samples for update query or datatypes that can hold geometry data in asp.net. I use C# for ...
0
votes
1answer
410 views

ESRI JavaScript - Generate Color Ramps for Heat Map Rendering

I have a drop down list that allows a user to choose what heat map they would like displayed on the map.The drop down contains check boxes whos values determine select statements that build all ...
1
vote
1answer
2k views

How to get Geometry points using Geo API

I have a EPSG:4326 WGS 84 Shapefile and I've converted it into Sql Spatial Data I'm able to render the map using that with sharpmap 1.1(Previously was using Sharpmap 0.9). What I'm trying to achieve ...
2
votes
0answers
243 views

Use SharpMap with WebGL Earth

I'm trying to display a layer on top of a WebGL Earth view inside an Asp.Net 5, MVC 6 website. I have no problem to do this in a desktop application, but I am totally unable to do it on the website. ...
1
vote
0answers
438 views

500 Internal Server Error:System.InvalidOperationException: Missing parameter: settlementlocationcode

Here I'm trying to bind the data from database to table for selected features within the user entered buffer distance. This is working for simple query, but it doesn't work for query using PostGIS ...
-1
votes
1answer
767 views

How to plot latitude and longitude stored in database on ArcGIS map

I am new to ArcGIS and I have tried basic things like I created a csv file with latitude,longitude and place as data in it. I imported that file as a layer when I created a web map in ArcGIS. This ...
2
votes
0answers
434 views

Single button click to bind three javascript functions

I have created cascading dropdownlist for district taluk and villages when i click search button it must zoomed to all the three layers.but i assigned the filter value for village so that it will zoom ...
4
votes
1answer
741 views

How to return GeoJson from a SQL Server Query using GeoJson.Net in ASP.NET MVC

I have a spatial table in SQL Server, which I want to map using either OpenLayers or Leaflet. My problem is I can't figure out how to convert the returned results from my query to geojson. My Linq ...
2
votes
1answer
2k views

OpenLayers 3 dynamically add layer from folder contents

I am new to OpenLayers and have searched far and wide trying to figure out how to programmatically add layers with a default set of parameters from a selected source path, but Google has not produced ...
1
vote
0answers
693 views

ESRI JavaScript API Web Application and SQL Queries in ASP.NET?

My workflow (and security restrictions) for a new html/javascript based web application is making me think that I could program an ASP.NET application, inside which I load the 'map' and the 'legends' ...
1
vote
1answer
198 views

Adding multiple addresses - ArcGIS Javascript

I am trying to use ArcGIS Javascript API to add all of the service orders that are open to a map. I can get this to work with a single address, but it is not working when I try to loop through a list ...
2
votes
1answer
253 views

Split polyline at specific distance

I am working on a project that uses SQL server for geometry datatype and ArcGIS Server and asp.net website and entity framework for data access and ArcGIS JavaScript API for map viewer. I want to ...
0
votes
2answers
1k views

How to show shapefiles with Bing map in asp.net

I want to display my shapefile data on bing map using ASP.NET. Its an web application. I don't want to use any third party tool for shapefile conversion.
1
vote
1answer
2k views

Example using sharpmap in mvc asp.net

I am wanting to open shapefile files in a ASP.NET MVC application, was researching and found sharpmap but have not found examples of how to implement the MVC. Does anyone have any examples to help me ...
1
vote
1answer
1k views

How to install MapServer on IIS 7.5 with windows 7 OS

I want to use the map server in my asp.net application. For that one, I need to install mapserver on IIS. I am using windows 7 with 64 bit os. I have IIS 7.5 installed on my PC. Can any one help me ...
0
votes
1answer
2k views

how to display the coordinates of a openlayers map with a jquery in my asp.net textbox?

this is my initmap.js OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, { defaultHandlerOptions: { }, initialize: function (options) { this.handlerOptions = OpenLayers.Util.extend(...
0
votes
2answers
722 views

How to get feature from PostGIS to OpenLayers with ASP.NET?

I need to show my feature from this table in PostGIS in my ASP.NET web page web. Has anyone done that?
0
votes
1answer
2k views

GeoServer with OpenLayers map showing problem

I have a GeoServer service running on 8888 port and the URL is http://localhost:8888/geoserver. I can browse any layer created by my custom data, like: http://localhost:8888/geoserver/jantrik/wms?...
2
votes
1answer
2k views

Calculate the values of range, sill, nugget in ordinary kriging? [closed]

I am working on temperature data, and I want to interpolate the data to any location that I specify. My programming language is asp.net4 C#. I don't know how can I determine the sill, range, nugget ...
1
vote
1answer
2k views

How to configure IIS site as application for ArcGIS Server 10.2?

I am having several errors displayed after installing the webadaptor onto my site. They all contain this error message "This error can be caused by a virtual directory not being configured as an ...
3
votes
0answers
981 views

Can I highlight a selected feature using the ArcGIS REST API only?

I have a .Net web application with embedded maps, using the Arcgis javascript API. For non-interactive maps, I thought I would just make calls using c# to the REST endpoints. This works fine for ...
2
votes
1answer
1k views

While developing stage, Is Proxy.cgi required to get Openlayers WMSGetFeatureInfo?

I have published the data in Geoserver (Tomcat and OS Ubuntu) and I am developing a map application in my local machine (OS windows xp) using asp.net. In my application, I can get WMS feature ...
1
vote
1answer
389 views

How to animate .olControlLayerSwitcher with Jquery?

Not know much about css but some how got strucked in setting css property. I am using Openlayers .olControlLayerSwitcher class. Here without using !important keyword, LayerSwitcher will not get move. ...
1
vote
0answers
966 views

How to stop refresh Google maps?

I am using Subgurim.Controles google maps in my project,i was updating every 40 with new marker to the Gmap. I just want to update position of marker every 40 seconds, not refresh entire Gmap. Here ...
1
vote
1answer
2k views

Running OpenLayers in .NET 4.5 breaks

So, I'm writing an web mapping application using OpenLayers in WebForms in .NET 4.5. It was working wonderfully until my browser upgraded to IE9. Now the JavaScript fails. After researching I found ...
4
votes
1answer
829 views

SQL Server UNion of geography feature returns FULLGLOBE result? [closed]

I have some trouble with sql server 2012. I store coordinates of french cities in my database as geography object (with ESRI 4326) and i want to make the UNION of some cities. I have in result (...
0
votes
1answer
8k views

GeoJSON Get Request MVC 4

I'm having trouble creating an OpenLayers Vector layer with GeoJSON data in an MVC 4 application. The GET request for my json file always comes back with a 404.3 error - page cannot be served ...
1
vote
1answer
4k views

Problem Access-Control-Allow-Origin.GeoServer ISS OpenLayers [duplicate]

I use OpenLyaers in order to show france Departements. My website is generated in ASP .NET MVC 4 (i use Visual studio 2012) ans i use GeoServer to store WFS files. I want to access to my WFS layer ...
1
vote
1answer
268 views

Does Web ADF 10 work with ASP.net 4?

I already have an ASP.net application using VS 2010 and .NET framework version 4 and ArcGis Server 10, and i need to add just a page, have map and toolbar. When I try to add map control and run the ...
1
vote
1answer
223 views

What is a good learning source for programmer who wants to understand the infrastrucre of map based web map?

I want to to write a simple web app with a map (tile cache because of high resolution raster) that once a user clicks the map he can do some queries on it (as in search in polygon, radius, nearest...) ...
-1
votes
1answer
1k views

How to display coordinates under cursor in web map?

I'd like to be able to display the X/Y coordinates of the user's current mouse cursor location such as with this web map. I'm using the .NET Web ADF, C# and ArcGIS Server. Can anyone suggest any ...
6
votes
1answer
1k views

I have a Web Application (ASP.NET) made ​​in ArcGIS Server Manager. How to create a button for the user to export his vision for PDF / Image?

I am using ArcGIS Server Manager to create Web Applications (ASP.NET). I would like the customer to access has an option to export your vision to PDF or Image, or both. I would like to generate the ...
2
votes
1answer
274 views

How to change the language of all Web Applications of the ArcGIS Server manager (for ASP.NET)?

ArcGIS Server manager (ASP.NET) comes by default the English language. I would like to configure it to Portuguese of Brazil. It is ok if the administrative tool is in English. But I'd really like is ...
3
votes
1answer
124 views

How to create pre-configured tags for new ASP.NET Web Applications?

I'm using the "ArcGIS Server Manager" to create "Web Applications" with my maps. In ASP.NET project has a "web.config". How do I get my "web.config" come with some "tags" standard? More specifically, ...
3
votes
1answer
300 views

i have an unhandled exception in asp.net

i am going to create a website and load a gis map to it. i am using arcgis 10 and i created a web application in arcgis server 10 i created a new WebSit in visual studio 2010 and add a map resource ...
2
votes
3answers
3k views

Simplest way to publish WFS from SQL Server under ASP.NET

My environment is ASP.NET, with data stored in SQL Server. Is there a way to serve Web Feature Services through C#, or will I need to install a mapping server?
0
votes
0answers
735 views

tutorial link to start with geoserver and Postgis for ASP.NET

I wanted a reference material for coding using C# in ASP.net with GeoServer and PostGIS. Any reference material for the same?