awesomo
  • Member for 10 years
  • Last seen more than 2 years ago
Case sensitive query of shapefile in ArcMap 10
Accepted answer
9 votes

To be certain, use a database function to change to the same case... File geodatabases or shapefiles, UPPER Personal geodatabases(Access), UCASE UPPER("STRUCSTATE") = 'IL' UPPER("ENTITY") LIKE '%CITY%...

View answer
Is PhD in GIS useful in non-educational career path?
8 votes

If you like GIS and want to go through the effort of getting an advanced degree - get a degree in something halfway definable like biology, hydrology, geology, env. engineering, epidemiology, public ...

View answer
Overwriting shapefile using ArcPy?
8 votes

There is also the exists function instead of using os. Remember to import env. import arcpy from arcpy import env env.workspace = "d:/myfolder" fc = "roads.shp" #Delete feature class if it exists ...

View answer
Turn Popups On/Off in ArcGIS Online Webmap via Javascript API Web Application
Accepted answer
7 votes

Think you almost have it. It may be that you need to reset the handle on connect... clickHandle = dojo.connect(map, "onClick", clickListener); The following is working for me... var ...

View answer
How to publish shapefiles to web with no programming required?
6 votes

Given the constraints of: the ArcGIS family of products, No programming required, Simple and Direct, Little or No Cost -- I think best bet is ArcGIS Online for sharing maps and data on web. With a ...

View answer
ArcGIS Server 10.1 - Inconsistent Querying Errors
Accepted answer
6 votes

Absolutely, you've hit the annoying bug NIM086349 in 10.1 that when you issue the exact same GET request / QueryTask to ArcGIS Server, it fails on alternate requests. Looks like it is fixed for SP2. @...

View answer
Connecting Desktop to SQL Server 2012 SP1 via ArcGIS Server 10.1 very slow?
6 votes

Esri just released a patch addressing this exact problem. Identified as bug NIM082657 - When working with a SQL Server 2012 geodatabase and Geometry or Geography type data, ArcMap drawing performance ...

View answer
How to query all records (>1000) and export to csv?
5 votes

You could certainly increase the service record limit to 10k or more if you are dealing with points and couple attributes -- particularly if you are not generating graphics. You could make an ...

View answer
How to use the ESRI JS API to map SQL Server Spatial Types without ArcGIS Server
5 votes

Just to add more detail, when you create a service to return JSON from SQL Server, you would then use the feature collection object to create a new layer on the map. From javascript, you would take ...

View answer
Can you dynamically set print options using ArcGIS JS API?
Accepted answer
5 votes

Using this sample... http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/widget_print_esri_request.html Instead of calling the request for printInfo and then handlePrintInfo on startup. ...

View answer
Can arcserver be used to populate jquery autocomplete?
Accepted answer
5 votes

Essentially, you are just passing an array to the autocomplete widget. If the data is in a map or feature service, query for the data from the service. If you start with a table in your mxd/msd that ...

View answer
Clicking on feature to create particular new map using ArcGIS API for JavaScript?
Accepted answer
5 votes

You could do this in different ways, but the basics are connecting the map click event, finding what was clicked and then either zooming to the extent of the polygon (easiest) or creating a new map on ...

View answer
How do I remove username / password from an ArcGIS mxd?
4 votes

This has been partially answered in other posts: Remove username and password from saved arcgis layer (.lyr) files?, Changing workspace path of query layer using ArcPy? and Is it possible to set data ...

View answer
About proxy in javascript api
4 votes

When you are sending a geometry to query a feature service, say for an intersection, the geometry is going to be large for a polygon. It will usually exceed the 2000 character limit for a get request. ...

View answer
What should I start with Web GIS MapServer?
4 votes

The answer to your question is subjective (a matter of opinion) so it might be voted down (-1). Since your new to this site, I will go ahead and answer -- mapserver, open layers and postgis sql would ...

View answer
Create Friendly Labels for ArcGIS Print Service Options with JS API
4 votes

Example uses the sample print service from arcgisonline. Note the find and replace on the layoutTemplate[0].choiceList; I added the dimensions of the templates from wikipedia, in particular for A4 / ...

View answer
Editing without clicking on a map - ESRI JS API
Accepted answer
4 votes

Basically, set up your own textboxes, select boxes, etc. Put an onclick event handler on the submit button (dojo.connect()). Get the values from the entry boxes. Then use the long/lat and other ...

View answer
Spatial query in ArcGIS Javascript Api 3.1
Accepted answer
4 votes

Adapted from some code I have -- untested here -- the key is using the dojo DeferredList so that you know when all the queries to the seperate layers have returned. When building the table I would ...

View answer
ArcGISDynamicMapServiceLayer change layer hierarchy
Accepted answer
4 votes

With 10.1 you can now reorder the layers. There is an option when creating the service that you will need to check to enable the dynamic ordering. http://help.arcgis.com/en/webapi/javascript/arcgis/...

View answer
ESRI Javascript Web Application Hosted on Amazon Web Services
4 votes

I've been experimenting with AWS lately. S3 doesn't support server-side scripting -- see below. I think you want beanstalk or just a regular EC2 server. I'm running a micro linux EC2 server ...

View answer
Calculating distance between two points with esri.geometry in ArcGIS API for JavaScript?
Accepted answer
4 votes

Web Mercator Auxiliary Sphere is WKID 102100 http://resources.arcgis.com/en/help/arcgisonline-content/index.html#//011q00000002000000 var polyline = { "paths":[[[3997030.6690969253, 7444299....

View answer
Calculating projected distance using ArcObjects?
4 votes

So if you have your "objects" with coordinates in a list. You can easily bring them into ArcMap as a point feature class from csv, xls, mdb. Remember longitude = xcoord, latitude = ycoord. If you know ...

View answer
How to count point features in polygon using ArcGIS API for JavaScript?
Accepted answer
4 votes

Check out this post I just wrote on selecting a polygon and highlighting it. Once you have the polygon that was clicked on, you simply do a query with intersection. Clicking on feature to create ...

View answer
Looking for web service to get State, County, and Place FIPS codes from an address
Accepted answer
3 votes

It may be a two step process. Geocode the address, get the xy from the geocode result and then send the xy to a county web service with FIPS. You will want to intersect the point. http://tigerweb....

View answer
How to correct the "Windows Activation Period has Expired" message on an Esri Amazon AMI?
3 votes

You could try this: http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/Windows-Server-Diagnostics.html "The AWS Diagnostics for Microsoft Windows Server tool is available free of charge and can ...

View answer
Connecting to PostGIS database from ArcMap for display and query without ArcSDE?
3 votes

If you have ArcEditor or ArcInfo desktop level, you have the ability to use SQL Server Express. Even though only one user can edit at a time, the locking and unlocking may be better -- you might try ...

View answer
Need help in Print task in ArcGIS JSAPI 3.2/3.3
Accepted answer
3 votes

You're running into a bug in the printTask. Check this esri forum post http://forums.arcgis.com/threads/61448-Problen-with-the-Print-Task?p=254619#post254619 For labeling, I worked around this by ...

View answer
How to Hide InfoWindow/Popup when "no information available" or when buffering?
3 votes

Look at this post for a good example JS API Toggle Pop-Up On & Off. When you add connect to the onclick event to the map or featurelayer etc, you need to save the reference to the clickHandle. ...

View answer
ESRI Javascript API Export to Shapefile and CSV
Accepted answer
3 votes

1) If you want to create a shapefile for download, you should be able to publish an async geoprocess that will return a link to the location of the generated shapefile on your ArcGIS Server. You call ...

View answer
ArcGIS Server Setting proxy.ashx with ArcGIS API for JavaScript gives Error 403?
3 votes

Have you created an application, in IIS manager, using the folder that the proxy is located? If the folder is say agsproxy then you would have http://localhost/agsproxy/proxy.ashx? In the ...

View answer