Tag Info

Hot answers tagged

6

Depending on how good are the relative topologies of street and parcels you might want to: buffer the selected street and find out which parcels instersect, if the topology is not reliable; perform a spatial join (intersect would work I think) between the two feature classes if the topology is reliable. Both these operations can be encapsulated in a ...


4

As good as ArcGIS is, you don't need to use it. A lot of the MVC3 crowd (Myself included) are using the following 3 Open source projects off Codeplex these days: Dot Spatial : http://dotspatial.codeplex.com/ Sharp Map : http://sharpmap.codeplex.com/ and Bru Tile : http://brutile.codeplex.com/ all three of them are capable of interfacing to everything ...


4

After installing my web adaptor, iis is configured like this: The apppool is configured like this: In my web.config I have the two lines mentioned but I do not receive any error. I suggest you reinstall the webadaptor.


3

First of all, OpenLayers 3 doesn't have a LayerSwitcher control. In OpenLayers 2 however, there is a .olControlLayerSwitcher style which can be animated by JQuery without any further styling options. You can use JQuery's animate function for this task: $(".olControlLayerSwitcher").animate({top: "55px"}); There is no need for the 30px animation, except if ...


3

Web ADF for .Net runs on 3.5 framework and the latest VS2010 is on 4.0 framework. When you open the website it asks for the conversion of framework. Click on no and then project gets uploaded and once executed the map will be showen.


3

You need to create the ArcObject instances (GeometryBagClass at the beginning and PolygonClass near the end of your code snippet) on the ArcGIS Server SOC by using IServerContext.CreateObject. Your current code creates these objects on the web server (or wherever your ADF app is running), which requires a lot of marshalling which in many cases seems to never ...


3

copy your project in inetpub => wwwroot folder.wwwroot folder usually located in (C:\Inetpub\WWWRoot) .then build project


3

You will need a mapping server unless you want to implement the entire WFS protocol which is highly not recommended.


2

You can use WFS GetFeature, either encoding the filter in CQL or Filter. Something like: http://host:port/geoserver/wfs?service=WFS&version=1.0&request=GetFeature&typeName=myLayer&CQL_FILTER=INTERSECT(the_geom, POLYGON((...)))&propertyName=data1,data2,data3


2

Try enabling Fusion logging and inspect it with Fuslogvw to at least determine the reason for the assembly load failure: http://blogs.msdn.com/b/suzcook/archive/2003/05/29/57120.aspx


2

The Common Custom JavaScript sample in the Web ADF 10 SDK Help has an example of updating the browser status bar with the current mouse cursor coordinates. See Default.aspx for the JavaScript implementation. In the initialize() function: // Show map coordinates in status bar based on cursor location map.add_mouseMove(mouseMove); A bit further down: // ...


2

So, apparently BING sends its "your key is expired" error message under status 200. OpenLayers, quite reasonably, assumed that status 200 meant "O.K." when BING meant "we're too lazy to do this correctly." Naturally, Chrome Developer Tools, FireBug, and Visual Studio did the same thing and reported no problem and until the script tried to run. So note to the ...


2

Draw to the GraphicsLayer http://edndoc.esri.com/arcobjects/9.2/NET_Server_Doc/developer/ADF/graphics.htm


2

Here is a very simple demo of this concept: https://dotnetfiddle.net/KhMIxV What you are going to want to do is make it so that your array in the controller can be translated to an array in javascript. This process is facilitated through serialization. The most common way (and one which should be available to your controller inherently) is through JSON.Net, ...


1

I would rather take the problem from the other point of view. Your experimental variogram should be used to fit a model (e.g. a spherical model), and then you can precisely derive the range and the sill. from the definition, the range is the distance where the model levels out. At this distance, the model therefore reach its maximum. However, you will ...


1

It is a little more complicated than just adding proxy.cgi to your web server. From your post I assume you are developing you application on your local windows machine and connecting to Geoserver that is hosted on a separate web server somewhere. The initial issue you are running into is the different domain issue. If a web applications javascript attempts ...


1

Solved! I managed to bring my Web.config file with my default tags, when I create a new Web Application. I changed the file: C:\inetpub\wwwroot\ArcGIS\Manager\Modules\Applications\Templates\mv_cs\web.config Hint: make a backup before, and put in the same directory. Thank you! :)


1

You simply won't be able to do that with the desktop product. To serve and operate on maps via web you need to develop accordingly using one of the various frameworks available. The basic GIS/web architecture consists in using a database with spatial support (e.g PostGIS), a webmap server (as QGIS server, MapServer, GeoServer, etc.) and client API that will ...


1

Turns out that MSXML 4.0 SP2 is required to be installed even if you have a later version of it already installed


1

I recommend the site: http://help.arcgis.com/en/sdk/10.0/serveradf_net/conceptualhelp/index.html With Visual Studio 2010 (VS10) you can create a project ArcGIS (you need to install a package from ESRI to use this). You can also create a project via ArcGIS Server Manager. Then you can open it in VS10 and play with it to understand the structure. You can ...


1

The best bet is to have GeoServer behind your web server. This way your requests are received by web server (IIS) first where you authenticate user and then allow features based on roles. While there are GeoServer Authentication options and GeoPrisma, I think for 90% of apps could use this proxy approach and retain all Geo/Map data securely behind a ...


1

You might also try setting the application pool in which your website is running to the 32-bit mode. The setting is called "Enable 32-bit applications" and you can find it under application pool's advanced setting in the IIS administration dashboard.


1

Aggregate the points collection to a polygon


1

The .NET framework exposes GDI+ to you which in my opinion is a super easy way to do some simple drawing. The newer versions of .NET (3+) has some more features in the System.Windows.Media namespace. If your problem leans more towards needing GIS capabilities to parse the data there are some projects you can use such as SharpMap.


1

It seems your question is independent of GIS specifically, so StackOverflow might be a better place to look for some guidance. One particular question there discusses best practices with ASP.NET Session: http://stackoverflow.com/questions/133236/asp-net-session If all else fails, try posting this (or a variation) there.


1

This problem may be caused by several reasons. My advice is that you can delete the you code about rendering line by line to figure out the bug. Meanwhile, you can save the featured layer to a .lyr file and check it in ArcMap to see where the problem is. Following is the code for layer saving. 'saveFileName is the file name you choose to save, ending with ...


1

Did you remember to add the layer, refresh the map and update the contents? e.g. (VB.NET in native Arc10) pMxDoc.FocusMap.AddLayer pFLayer pMxDoc.ActiveView.Refresh pMxDoc.UpdateContents


1

I hope this helps: http://www.paolocorti.net/2006/09/20/mapserver-tutorial-for-c-mapscript-asp-net/


1

Since you're using ASP.NET, I assume you're using the ADF. We use MVC and the JavaScript API, but we create a class on the server to manage each query type (vehicles, garages, etc.). You could create a page method to set up each query and pass it the results of the previous query. When the user makes a selection, call the page method with the selected ...


1

In the following link you have an example how to do exactly what you want but in the client side (including the CSS to set the div centered and grayed) http://cs.asteryx.com/forums/p/40/55.aspx Just do the same but instead of the ajax javascript , run the code to set it visibility on the server side.



Only top voted, non community-wiki answers of a minimum length are eligible