Tag Info

New answers tagged

0

Given that I am still in 10.1, if you reconcile and post, but there is a lock on the feature class, the dates and editors will not be posted to the business table. If you need to see the data immediately for reporting purposes or other pressing reason(s), you can see the editor tracking information in the Adds table (a table) for that particular feature ...


0

Came across this looking for the same answer. The best way I found is to add a \n, in the attribute text, where you want your break. Billy Joes \n Dry Cleaners LLC = Billy Joes Dry Cleaners LLC


0

What kind of analysis do you want to do? You could use the LAS to Multipoint GP tool which creates a multipoint feature class and then create a subset from there. Alternatively, you could create a mosaic dataset that points to the LAS data (files or dataset) and this will rasterize the points. The mosaic dataset is designed to perform well with large amounts ...


0

You could try the split tool. You will need to create a grid over your point dataset and use this grid to split your point dataset into multiple smaller datasets with the split tool.


1

I had the same issue and was able to solve it. If You have large number of layers or domains with many values then service may reach "Maximum Number of Coded Domains" parameter maximum value. Go to "ArcGIS server manager" "Edit service" (the one with missing domains) Open "Parameters" settings "Properties" table find the "Maximum Number of Coded Domains" ...


0

So, I solved my problem in the way that I actually converted my Raster data into Polygon, draw Buffer around it with the Buffer tool and then converted it back into Raster.


3

In order to solve your problem: Create a FileGeodatabase In the FileGeodatabase create a FeatureDataset Import the shape in the FeatureDataset In the FeatureDataset create a Topology In the wizard choose next and in the Rules page click Add Rule Select "Must Not Overlap" or "Must Not Have Gaps", check "Show Errors" and click OK. Complete the wizard and ...


4

You can use the Select (Analysis) tool to select a subset of features based on a SQL expression and export the selected results to a new feature class. In this case, I used the following expression: SHAPE_Area > 100 Alternatively, you can perform the same action directly on the attributes using the following workflow: Open attribute table > Select ...


1

Add the new values with the Add Values button, not the Add ALL Values button. The add ALL values button will override the existing symbology and re-add all unique values whereas the Add Values button allows you to preserve the existing symbology and add new unique values not present in the Symbol list. EDIT: Also, confirm that after importing symbology ...


0

This works with a standard ArcGIS license: desc = arcpy.Describe(fcl) shapefieldname = desc.ShapeFieldName gebieden = arcpy.UpdateCursor(fcl) for gebied in gebieden: polygoon = gebied.getValue(shapefieldname) for punten in polygoon: for punt in punten: print punt.X, punt.Y


1

Not sure by your question if you want the map spatial reference or a layer. For a map you may use the IMap.SpatialReference Property.


5

Assuming you have a reference to the feature class pFC: ERSI.ArcGIS.Geometry.ISpatialReference pSP = ((ESRI.ArcGIS.GeoDatabase.IGeoDataset)pFC).SpatialReference; coord=pSP.FactoryCode coord now contains the code for the coordinate system. Note that not all projected coordinate systems are defined in esriSRProjCSType, there are more constants ...


1

You would do something like this: dataset = "c:/data/landbase.gdb/Wetlands" spatial_ref = arcpy.Describe(dataset).spatialReference as per the ESRI help page here


1

You can set the scale on the fly using ArcPy's mapping module: from arcpy import mapping mxd = mapping.MapDocument(r"Some Path") df = mxd.activeDataFrame # you can also get access to all data frames through listdataframes() scales = [1500,3000,...,50000] for scale in scales: df.scale = scale # do stuff with map Hope this helps. Andrew


1

If you are using Data Driven Pages from ArcMap there is an option to round the best fit scale to nearest value of your choice (see below) To use this in ArcPy I would have a look at this question and answer: How to automatically generate useful scales for data driven pages in ArcGIS desktop


0

You might be happy to know that with version 10.3, you can assign an immutable ID to your mxd layers and table views. Reordering them will not be necessary anymore. Extract from this What's new in 10.3 document: In ArcGIS 10.2.2 for Server and earlier, the layer and table IDs of a map and feature services were not preserved after altering the source ...


2

It is really quite straightforward to obtain a Pearson's correlation coefficient. Given a population assumption: xBar = mean(x) yBar = mean(y) xyBar = mean( (x * y) ) covariance = xyBar - xBar * yBar correlation = covariance / ( sd(x) * sd(y) ) Unless your points represent a true sample (e.g., field data), there is no need to subsample. This equation ...


0

Pearson Correlation Coefficient in R go to file / change dir... and navigate to the folder with your csv data = read.csv("yourdata.csv") cor(data) pairs(data) ?cor ?pairs http://en.wikipedia.org/wiki/Pearson_product-moment_correlation_coefficient Spatial analysis in ArcMap Polygon data: ArcMap's Geographically Weighted Regression is good for ...


0

The IEditLayers interface will tell you. This interface is a coclass of IEditor. The link gives some code on how to use this interface but the guts of it is: //get editor extension UID editorUID = new UIDClass(); editorUID.Value = "esriEditor.Editor"; IEditor editor = m_application.FindExtensionByCLSID(editorUID) as IEditor; // works but is an old way // ...


0

Yes, this can be done with a single table depending on what exactly you want the result to look like. The graphs produced will be very simple and have no labels, so they basically just show relative amounts. For more detailed graphs then yes, you may need to separate the data because normal graphs look at selected values for all rows, not multiple values for ...


1

You can use Expand to buffer raster "zones" that represent specific values in the raster. Buffers value 10 by 3 cells Expand("landcover", 3, [10])


1

You can use the euclidean distance tool, see: http://resources.arcgis.com/en/help/main/10.2/index.html#//009z0000001p000000


0

There are likely many ways to solve this, but now that ESRI provides the Multidimensional Supplemental Tools that includes the NetCDF4-Python library, one way is to load subsets of local NetCDF files or remote OPeNDAP datasets into raster using scripts like this: https://github.com/rsignell-usgs/dap2arc/blob/master/src/dap2raster.py


8

You can use this command to replace all comas in the fields of your Species column with spaces: regexp_replace( "Species", ',', ' ' ) In this post answered by Nathan, the regex_replace function is described by : regexp_replace(string,regex,after) So in your case: 'string' is your column (species) 'regex' is the character you want changed (coma) ...


3

The raster calculator syntax for you third raster is the following Con( ("raster1" < "raster2".maximum) & ("raster1" > "raster2".minimum) , 1, 0) there is no built in method to get the percentiles, so you should compute them based on the histogram of you image and manually enter the values in the raster calculator. But you can approximate (if ...


0

It sounds like what you want to do is use Zonal Statistics. If you have the Spatial Analyst Extension, you can perform Zonal Statistics or Zonal Statistics as Table. Your input raster would be your NDVI. Your polygon layer would be your districts or census tract parcels. With Zonal Statistics, you can get the average NDVI, the maximum, minimum, etc. ...


1

After running your Union, open the resultant Attribute Table and I think you will see that all polygons of overlap have IDs from both input feature classes that are >= 1 whereas where there is no overlap one or other ID will be 0. Use the Select (Analysis) tool to select the polygons with both IDs >= 1 out into a new feature class and you should have the ...


0

as a workaround, you could creat small buffers around your points, erase those buffers from the lines, then rebuild the connections based on "extend lines" (or integrate with a small value, your buffers can be really small)


1

I would try it this way: Open a new Blank Map, switch to Layout View and set its desired page size. Open each of your other 22 maps (which you will not alter) in turn. Right-click on any data frames in the Table of Contents of each map that you want to appear on your large page and copy them to the clipboard. Right-click on the layout of your large ...


5

You can add the 22 data frames in one single map document (copy and paste) or you can export all as images/vector files and combine in Illustrator/Photoshop.


1

There are many ways to accomplish this. Data driven pages is one, if you know what you are doing - copying the data frame of each mxd into one mxd is another. The most straight forward way is to produce high quality output of each mxd and put together the poster in your favorite software. i.e. photoshop, illustrator, paint, poster artist etc.


0

I had the same problem and was able to solve it using the nodata parameter in TileMill. When adding the geotiff as a layer, in the Advanced box I entered nodata="255" to make a white background transparent. The only CartoCSS I used was this: #geotifflayer { raster-opacity:1; raster-scaling: bilinear; } The mapnik documentation on the nodata parameter ...


0

Just encountered the same problem, this time wanting to duplicate layers, but not being able to use the geoprocessing tool and a temporary LYR file because this route does not preserve all the elements of the layer (in my case the display format settings for fields in the attribute table). My conclusion is that you have to use an extension of the code ...


-1

Web Services... SOA - Service Oriented Architecture http://en.wikipedia.org/wiki/Service-oriented_architecture


1

Your code looked ok to me. I did simplify it a bit so I could run it to as an add-in Button and it worked fine in 10.2.2. You will be able to run this on two layers, The first layer in the Map will need to have a field called ID, and the Second layer needs a feature with OID 5 as written. What line is the code failing on? public class Button1 : ...


3

Rasters do not have attribute tables which can store independant attribute values. Only one numeric is stored by default, coming from the field that you select. A workaround in your case is to add one field in your line feature class where you make a copy of your FID field (unique values). You can convert your lines to raster using this new field, build a ...


1

Yes, you may do this by joining it based on a common ID column between excel and dbf or geodatabase feature class table. Import/convert excel table to geodatabase and remove all fields except for joining field Open up ArcMap and add geodatabase table to map Right click on table in TOC>Properties>Joins and Relates>Joins and join table to excel table Open ...


4

To select from the map using the current selection environment (you can turn off selectability and visibility of layers then this wont pick them up. Firstly you need to be creating a tool: using ESRI.ArcGIS.Carto; using ESRI.ArcGIS.ArcMapUI; using ESRI.ArcGIS.Geometry; using ESRI.ArcGIS.Framework; using ESRI.ArcGIS.esriSystem; using ESRI.ArcGIS.Display; ...


4

Check out X-Ray, a nice set of tools for looking at structures (and differences) of MXDs and geodatabases. See links below. The tools were developed by the ESRI Local Government Data model group for working with the large municipal basemap datasets and mxds they work with but have been released for general use, and looks like is very useful add-in when ...


1

There's also a downloadable tool called Curves and Lines, originally developed for preparing data for the parcel fabric, that might do what you want. Takes some time to figure out what tolerances to set the parametes to, so try it on a copy of your data first. This is designed to clean up existing features, not add new ones.


2

If you want to draw features like the one you posted you should use the Arc tool. It is available on the Editing toolbar from the dropdown menu which usually displays Trace. There are a couple of different Arc functions, check them out here. You can also make Bezier curves, which are easier to reshape.


1

This tool should do what you are asking for Smooth Line (Cartography) without having to click and drag.


0

Ok, the solution is Create a 2D point shapefile from current 3D point shapefile and remove duplicate points (Delete Identical) Right click in the TOC and select Join A window like below will open and set a. "Join data from another layer based on spatial location" b. "1. Choose the layer ... " > your 3D point shapefile c. "Each point ... " > Select ...


3

I'd try Summary Statistics from the Analysis toolbox. Set the neighbourhood attribute as the case field and the water consumption attribute as the statistics field with MEAN aggregation mode (or another appropriate one). This way, you get a data table. If you have a polygon layer covering the entire area (without gaps), you can just use Dissolve to obtain a ...


0

These are the steps I would take. 1) If you don't have an attribute table for you raster already I would use the tool, Build Raster Attribute Table. 2) Open the attribute table for your raster and click to select the class you want to export. You could also probably do this by using the tool, Select By Attributes. 3) Then I would use the Raster to Polygon ...


0

To my knowledge you cannot do that with a raster, you need to convert your raster back into a polygon Feature Class if you want a hollow effect. This tool will do it.


0

I think I may have solved it myself.. I was opening a template mxd, saving it as a new mxd, doing some changes then exporting to a tiff from the new mxd. Each time the loop run it was using the same template mxd, It is possible that at some point the reference to the mxd variable became locked (and did not update) so arc could not export the data from the ...


0

You can create .xsd schema file by rewriting your GML with ogr2ogr. Writing schema into .xsd file is the default in GML driver http://www.gdal.org/drv_gml.html so you can simply use this command: ogr2ogr -f GML output.gml input.gml You do not need the output.gml file for anything so you can delete it and use the .xsd. If your source GML is big you can ...


0

My previous account is somehow not reachable anymore, because I used the same emailadres for this account. But on topic: The XML contains metadata for the GML, so there is extra information in the XML. We need the XSD for the ETL, is a self build ETL tool. The XSD makes the conditions for the acceptation of the data in the ETL.


0

Edit: completely rewrote answer since i cut and pasted together c# and VB.NET code by mistake. This is how a onCreate typically looks like: public override void OnCreate(object hook) { if (hook == null) return; m_application = hook as IApplication; if (m_application == null) return; UID uID = new UID(); ...



Top 50 recent answers are included