Tag Info

New answers tagged

1

Doing a Spatial Join is probably the easiest... There is probably a more effecient way of doing this, but this should work... you'll need to check the field names for the WHERE clause in the MakeFeatureLayer part Notice that I used forward slashes instead of back slashes... this is not a typo... this works on Windows (even though it doesn't look right) and ...


0

In ArcGIS, you can perform a spatial join on the polygon feature class (right click on the layer >> "Join >> Join data from another layer based on the spatial location" choosing the third option "Each polygon will be given attributes on the layer that fall inside....". Then, opening the attribute table, all the records that do not have a joined data are the ...


0

I want to give feedback on my project evolution and how i solved my problem of editing WMS features, both attributes and geometry. Using WMSGetFeatureInfo and asking for information in JSON format i can store all the atributtes in a object. Using a form in the popup I then edit the values and send them to a JSP page that i created inside Geoserver webapps ...


0

I assume you're asking about Open Layers 3? I use Jquery (or straight js) and setup a mouse event on the viewport. This will let you identify what feature is clicked. I also add a custom attribute to the feature to identify if its polygon,icon,etc. var iconFeature = new ol.Feature({YOUR FEATURE PROPERTIES}) iconFeature.set('automodify',true); ...


1

I am probably late but it may be helpful to others. I was in need of the same functionality in 10.2 that we had in ArcView 3.2, in winch we can cut, union, merge, clip, intersect, and other overlaying operations directly inside the editing session. I have just found my way by following this procedure (providing you have ArcEditor, as I do and do not know if ...


2

You will need to add a new interaction. Assuming that... this.mapRaster = ol.Map This should work this.mapRaster.on('singleclick',function(e){ var iconFeature = new ol.Feature({ geometry: new ol.geom.Point(e.coordinate), }); iconFeature.setStyle(_self.iconStyle); _self.rasterVectorSource.addFeatures([iconFeature]); Make the ...


1

I think what you need is to geo-reference your data. Here's a link: http://docs.qgis.org/2.2/en/docs/user_manual/plugins/plugins_georeferencer.html and I'm sure ARCgis has something similar...as does Python+gdal, and any legitimate GIS program. The basic problem is that your coordinate system is totally non standard so doing a projection change will not ...


1

An oblique mercator projection might solve your issue. See this Q&A for details: Using customized Coordinate System for Archaeological site data


1

I always recommend to check for null values when you are geting features from feature classes, feature class from feature layers, etc. That will prevent you this type of errors, and in the future will be easier to find bugs. Dim pFLayer As IFeatureLayer pFLayer = pMap.Layer(layerNum) Dim featureClass As ESRI.ArcGIS.Geodatabase.IFeatureClass = ...


1

If I understand your question, you want to be able to change a property on all or some of the features (on separate layers) on the map. From the ol.map object, you can get the layergroup property. This will give you access to all the layers on the map, you can then just do something like: var layers = map.get('layergroup').getLayersArray(); for (var i in ...


2

GetFeature() is a method of IFeatureClass, not IFeatureLayer. Change this: Dim feature as IFeature = pFLayer.GetFeature(1) to this: Dim feature as IFeature = pFLayer.FeatureClass.GetFeature(1) Looks like you're creating a featureclass object but not using it.


-1

I think that this Plugin can help you. https://plugins.qgis.org/plugins/MultipleLayerSelection/


0

The basic trick is loop through the features and concatenate result to the innerHTML. var info = document.getElementById('info'); info.innerHTML = ''; // clears out the current content var feature = map.forEachFeatureAtPixel(pixel, function(feature, layer) { info.innerHTML += feature.getId() + ': ' + feature.get('name') + '<br/>'; });


1

From your screenshot it looks like you're editing a fiber network, so I assume you're using a geometric network. You need to add the Geometric Network Editing toolbar Highlight the line you want to disconnect from the geometric network and press the second button from the left (Disconnect). You can only disconnect one feature at a time. After you move it ...


1

Sometimes feature classes that participate in geometric networks or composite relationship classes in geodatabases tend to move and delete together during editing. Maybe check to see if your lines participate in a geometric network, or a composite relationship class? If so, try deleting the geometric network or the relationship class in question and attempt ...


1

In my QGIS 2.4.0, the "delete ring" doesn't work when I have "on the fly" CRS transformation turned on.


1

Looks like you want to listen for attribute window events. Seems you can access them from this interface: iAttributeWindowEvents There is an 'onDeactivate' event that you'll want to listen for to trigger your next section of code. There should be plenty of code samples around showing how to listen for events in ArcObjects.net.


1

Good luck uploading 30million features to AGOL. Hope you have lots of credits. As Vince says, this is where you need your own server to host.


0

The problem is that code: 'var coords = localizador.features[0].geometry.transform('EPSG:3857', 'EPSG:4326');' I use that for StreetView and so I was changing the coords moving the point...



Top 50 recent answers are included