Reputation
14,559
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
19 81 177
Impact
~1.0m people reached

Nov
14
comment GeoTIFFs made in GDAL don't have min/max range when loaded in Arc/QGIS
Hi Cyrus, welcome to GIS.se :) While correct your answer is unlikely to attract votes for two reasons. The arcpy calculate statistics tool puts the stats in an external .aux file and the poster asked for "into the geotiff directly". Secondly, although Arcgis is mentioned in the title, the body of the question and it's tags indicate the poster is really more interested in a gdal/qgis solution. In any case, thanks for contributing and please keep it up. It's a bit of learning curve to get started but I think you'll find over time that the effort repays itself.
Nov
10
comment Tools/processes that avoid the need for raster to vector converstion?
As whuber notes the general thrust of the post is interesting and bears exploring. It's a quest though, which is distinct from a question. I think you need to break it down into a series of questions to get answers which are truly useful.
Nov
9
comment Why does PDF fail to print in ArcGIS10?
I consider PDF creation very much in scope. It's the standard for exchanging print files, and cartography is all about printing (yes even in this web map world). Cartography is a superb litmus test for the quality of the data model. If you can draw international, national, state, provincial and territorial boundaries, each individually symbolised, from a single feature class you have a good, rich data model that also supports multiple types of analysis. If not, well, there's some work to do. ;-)
Nov
9
comment How can I export raster data from Arcmap to an R *.grd file format?
Thanks @whuber. It helps to be reminded to look at the text of what's actually presented, and contrast it with the meaning I've built up in my head over time. There's been some continental drift!
Nov
9
comment Want to use GDAL in Arc10 toolbox via subprocess call
Rich, which of the two methods outlined worked for you? (just curious)
Nov
9
comment How can I export raster data from Arcmap to an R *.grd file format?
people, please don't downvote without explaining why unless it's bleeding obvious what's wrong. In this case, I don't get it. ((Hi Damon, welcome to GIS.se. It gets better, honest. ;-))
Nov
8
comment ArcGIS incredibly slow when opening any toolbox tool
more info on Opportunistic Locking from Microsoft: Your system stops responding, you experience slow file server performance, or delays occur when you work with files that are located on a file server, and configuring opportunistic locking in windows. It bears emphasizing that disabling oplocks will only make a difference if the toolboxes and/or data are on network drives (and that that is also the source of the symptoms described).
Nov
8
comment Is there equivalent to feature datasets supported by PostGIS?
Hi megadrofan, welcome to GIS.SE, and thanks for contributing. :) This answer would be improved by elaborating on or linking to examples of using db schemas for grouping. Generally speaking we try to avoid one liners, in an effort to build a knowledge base that will be useful in the long haul.
Nov
8
comment How to access both IIS and Geoserver at port 80 from outside the production environment?
Hi Dhananjay, welcome to GIS.se and thank you for contributing! Who is "we"? (please edit answer and link to or define who you are speaking for. It will help people looking for more information.)
Nov
6
comment Python module to delete SHP features (without Desktop GIS installed)
@RyanDalton in the Q you said "the shapefile", which led us, well me anyway, to think of and devise a singular solution. I'm not complaining, just pointing out that more information about the use case up front might have led to answers more immediately applicable more quickly.
Nov
3
comment Python module to delete SHP features (without Desktop GIS installed)
I get ERROR 1: The DeleteFeature() operation is not permitted on a read-only shapefile
Nov
3
comment Python module to delete SHP features (without Desktop GIS installed)
here's a one line batch file for that: for %%a in (sample.shp) do (ogr2ogr %temp%\xxx.shp %%a -where "FID < 0" && copy %temp%\xxx.* %%~na.*). Pablo's answer is more extensible though.
Nov
3
comment Arcmap: save all layers in Table of Contents to layer files
that works, thank you! Two caveats: env.workspace is ignored, the layer files are saved in the same folder as the .mxd, and group layers are ignored (though their contents are still saved, individually)
Nov
2
comment field calculator syntax error
to apply code formatting while editing, select the text in question and slap [ctrl]-[K].
Nov
2
comment ArcGIS Server 10 - Feature Editing Services - Best Practices
@Justin,ah yes, but how are readers to know since your question doesn't indicate what you've already read/done to resolve the issue?
Nov
2
comment How to list feature classes in multiple geodatabases in a folder?
@PattyJula You're welcome Patty. Also it's generally better to avoid generic words like 'item' as it could apply to anything and in larger scripts gets confusing. It's easier to keep in mind singular->plural distinction -- though you do need train yourself to watch for the trailing s. I use abbreviations to help with the latter. For example for wspace in workspaces: and for fc in featureclasses:.
Nov
2
comment How to list feature classes in multiple geodatabases in a folder?
+1 for comments and integrating FDs. I personally wouldn't use 'temp' as a variable name because of it's assocated meanings of "throw away" and "free to delete". The variable is discardable, but it's contents, the databases, are likely not. In any event, in this case it's unnecessary, just use arcpy.env.workspace = gdb as ListWorkspaces returns full path. ;-)
Nov
2
comment Converting state name abbreviations to full names using ArcGIS Field Calculator?
Nice concise answer, thanks for contributing. I suggest editing the answer and inserting the comment re: using a new field for reversibility. Doing so gives more visibility and builds an integrated, more complete, answer.
Nov
2
comment How to batch a model created with “model builder” in arcmap 10?
Try saving the model as a python script. Inspecting that might reveal where/why a variable in the model is not being updated on subsequent iterations. If you don't know enough python to do that, put the script online somewhere like pastebin.com and we'll take a look at it.
Nov
2
comment How to release the lock on a gdb?
From gis.stackexchange.com/questions/6230/…, it appears you may have run into a bug. If none of the answers below apply, I'd follow up with Esri tech support.