32

Vector data can have properties stored at two levels. File level or Layer level. For feature class (a type of vector data), file level information is stored in a geodatabase. This consists of properties like feature class geometry, attribute table, assigned subtypes and domains, a coordinate system, etc:. All these file level properties make up the actual ...


17

We may get more technical distinctions offered as answers, and I welcome them, but the way I think about this distinction is: an in_memory workspace involves temporarily storing a spatial dataset (akin to a file geodatabase but not quite the same - see Why are z-values replaced with zero after in_memory use in Python?) in memory. This speeds up ...


13

These terms specifically relate to the ESRI software and data schemas. A feature class is a set of common geographic features, for example roads, or parcels, or land use, as they are stored in a geodatabase or shapefile, or other storage format. Here is the help file on Feature Class Basics. A feature layer is the representation of a feature class after ...


9

In simple terms ... I try to think of a feature class being a spatial dataset, i.e. not much more than x,y coords and attributes on disk, while a layer applies symbology (and many other lesser known properties) to a spatial dataset. A layer does not store data, just symbology and a link to where the data is located on a disk somewhere. Feature classes ...


9

There are a couple of reasons why you want to reference Feature Layers in ModelBuilder, as opposed to Feature Classes. First it is helpful to understand the differences. "Feature Classes" as simply references to the raw data, in its entirety. One simple example of this where the FC is a shapefile on disk. "Feature Layers" are references to an ...


8

Shapefiles, which use the older dBase specs, do not support null values. If you must maintain null values and you have to keep the file format to shapefile, you'll need to use a representative or 'nodata' value for it. This can be any value you wouldn't normally encounter or expect to encounter in the data, or that even falls within valid data's range, such ...


7

what it means as conceptual, you can check out GIS Dictionary from ESRI, here. Feature Class In ArcGIS, a collection of geographic features with the same geometry type (such as point, line, or polygon), the same attributes, and the same spatial reference. Feature classes can be stored in geodatabases, shapefiles, coverages, or other data formats. ...


7

I've managed to solve this problem using this as a reference. Basically, I looped all of the Polyline graphics (that's the only type the application is interested in) included in the FeatureLayer and do a union operation on each of the graphic's extent. Below is my version. function featureUpdateEnd(error, info) { var localExtent; if (featuremap....


7

Incorporating temporary layers into your models also decreases processing time. From a processing standpoint, it is much more efficient writing to memory compared to writing to disk. Similarly, you can write temporary data to in_memory workspace, which is also more computationally efficient. Many operations in ArcGIS require temporary layers as inputs. ...


7

A Coordinate Reference System contains two different elements The datum: It defines how the CRS is related to the earth (position of the origin, the scale and the orientation of coordinate axis) e.g. ED50, ETRS89. The datum can be a geodetic datum, a vertical datum or a engineering / local datum. The coordinate system: describes how the coordinates ...


6

Sounds like you want to select features and not clear the selection graphics layer each time you click a feature. If you're using a FeatureLayer, you would use SELECTION_ADD instead of SELECTION_NEW to add the selected features as you click on them.


6

CoordinateReferenceSystem is the base Interface from which all other GeoTools SRS are derived from - it is the base class of Geocentric and Geographic projections (and others with vertical and temporal coordinates). It comes from the ISO19111 specification by way of the OGC GeoAPI project. CoordinateSystem is also an interface that comes from ISO19111 and ...


5

You're pretty close. The only reason it's not working is because you need to wrap your layerVisibility function call in an anonymous function. When you type this: dojo.connect(dijit.byId('imagery'), 'onChange', layerVisibility(mapLayers[0])); ..you're actually calling layerVisibility function immediately rather than having the function call triggered by ...


5

It sounds like you've reached your browser's memory limits in regards to the data returned by arcgis server 10.1. The maximum number of records returned by WFS and ArcGIS Feature Layer depend on how it was set up by the server (default is 1000 for anything running through ArcGIS Server). You can reconfigure it to send more, but then you run into poor browser ...


5

arcpy.management.MakeFeatureLayer doesn't make a layer file, it makes a layer in memory. ExportReport requires a layer object. Combining the two, you can do this: # Make the layer arcpy.management.MakeFeatureLayer("SOILFC", "soil_layer") # Get reference to layer lyr = arcpy.mapping.Layer("soil_layer") # Do the magic part arcpy.mapping.ExportReport(lyr, ...


5

I think you just need to refresh the Table of Contents. Try something like this: IMxDocument pDoc = (IMxDocument)pApp.Document; for (int i = 0; i < pDoc.ContentsViewCount; i++) { pDoc.ContentsView[i].Refresh(null); }


5

She doesn't want to publish a feature service, She is just trying to publish A service. I passed through the same exact situation with my ArcGIS for Server 10.2 trial version. Everything was going fine and I was able to publish and read my services. One day, I tried to connect to the ArcGIS for Server Manager and there were no services. I bet if you tried to ...


5

Here i used generation of a list of paired tuple of OID and Result of select by location operation.Then i created an update cursor to to update a filed named COUNT by the select by layer location result. You need to just create a field in Practice_Stops feature class named COUNT which is a type of short integer.Here inF is the layer will be updated with ...


5

To expand more on @FelixIP comment, your row[0] is not assigning a value since double "==" are used with a if conditional statement for evaluating a value to be true or false. Use single "=" for committing a value change instead. Also, since your cursor is used within a with loop you do not need to delete the cursor and row objects. Try this instead for ...


5

try this featureSet.geometryType = "esriGeometryPoint" check this sample, your code and sample different only featureSet.geometryType variable not implemented. so i check this code its run. https://developers.arcgis.com/javascript/3/jssamples/fl_featureCollection.html https://jsfiddle.net/jokcv8ph/


5

This is a bug in the 4.9 JS API. It is in the queue for fixing in 4.10. We failed to implement refresh() using our WebGL-rendered FeatureLayer. It still works if you disable WebGL, but I don't recommend that approach since we plan to only support WebGL rendering in the future. This was oversight on our part, and we plan to resolve it shortly. Sorry about ...


5

It's because your function arguments don't match up with your require modules. These must be in the same order! require([ "esri/Map", "esri/views/MapView", "esri/layers/TileLayer", "esri/layers/FeatureLayer", "esri/graphic", "esri/geometry/Point", "esri/symbols/SimpleMarkerSymbol", "dojo/domReady!" ], function (Map, MapView, TileLayer, FeatureLayer, Graphic,...


4

The URL passed to esri.layers.FeatureLayer needs to be for a specific layer. Your code points to the root of the feature service. To fix this, append the layer index of the layer the URL. For instance, in this feature service, the rivers layer is layer 1. To create a feature layer using this layer, you would use this url: http://sampleserver3.arcgisonline....


4

It's quiet late, but esri implemented the "graphic-add" event for featureLayers in the API v3.5. This should finally solve your problem, without workarounds. See here for further information.


4

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 particular new map using ArcGIS API for JavaScript? You could substitute below into the mapOnClick(evt) function above... var queryTask = new esri.tasks.QueryTask(...


4

If you can't process the data beforehand, another method may be to add the layers as separate FeatureLayers in the map, and use the geometry of the selected polygon to query the point layer. When the selection is complete, do a count of the features using FeatureLayer::getSelectedFeatures and use that count to provide information in your popup. Here is a ...


4

You're right that the layer isn't fully loaded. There's an event that tells you when layers are loaded : onLayerAddResult(layer, error) As of v2.0 it triggers after specified layer has been added to the map. OR onLayersAddResult(results) Which triggers after all layers are added to the map using the map.addLayers method. http://developers.arcgis.com/...


4

You need to set the renderer for your layer. Since you want to use the same symbology for all, you will have to use a ISimpleRenderer Using an IFillSymbol, you can set the border and the color for your polygons. Set this as the symbol for your ISimpleRenderer and set that as the FetureRenderer on your IFeatureLayer. Also have a look at this article: How to ...


4

Have you tried clearing the ArcGIS server rest cache? http://blogs.esri.com/esri/arcgis/2010/10/08/clearing-the-arcgis-services-directory-cache-the-easy-way/ Also you cleared the browser cache/tried a different browser?


4

You are doing two things going on here. You have a click handler, that, when there is a click on the map, it creates a new selection using the point geometry from the click. That handler is toggled on and off by your clickConnect function. But you also have a draw handler, that on draw end creates a new selection using the geometry from the drawing toolbar. ...


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