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

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.


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 ...


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 ...


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

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

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

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: // ...


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

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 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

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

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

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.


1

Your quickest answer, is create a DIV on your page; set it to runas server, then hide it. So when you start your function go through and turn that div on, then when finished turn the div off. I don't have any code I can quickly post for you; but I have done this all over the place in my COTS apps and the workflow is pretty solid.


1

I would suggest creating a Model in ArcGIS Desktop which does a select by location with a buffer distance set. Then adding a Tool layer to the Map Service and publishing the geoprocessing model as a service. Then in the Web ADF you can just pick up the existing service. In saying this another way to go is to use this sample from the Esri Website to point ...



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