Tag Info

New answers tagged

1

Take a look at this fiddle. I've made some modifications, basically I remove the highlight interaction (on removefeature) and put it back on pointermove event.


0

In ArcGIS: Union the two feature classes (FCs), lets say FC1 is the main FC and FC2 is the FC you're testing to see whether it fits. Calculate summary statistics with statistics field being the min of the FID of FC1 and the case field being the FID of FC2. Join the resulting table back to FC2. Select by attributes where FREQUENCY = 1 and MIN FID of FC1 > ...


2

I am using vector and raster approach to solve it. The script below has 3 input parameters: a) polygons (must be single part), b)output point feature class to store the points most distant from polygon boundary c) tolerance in map units. Algorithm: POLYGON =shape geometry calculate centroid of POLYGON (p1) Define distance from centre to polygon outline ...


0

Here is a solution on QGIS(if i got you correctly) You should first do a copy your layer, then install the plugin called spatial request : docs You can now do the usual GIS Stuff ie : select features that are completely whtin another feature, ect... see the post from Slslam ! This plugin will select these features, if you want to save them in another ...


1

You can use the Integrate tool to insert a vertex at the intersection the two lines. Just make sure your contour dataset has a lower rank and your blue line datasets is Z aware. The Integrate tool does not honour the Z value (I checked this on some sample data) so you would then need to update the Z property of the inserted vertex. Now at this point I'm ...


2

If i got you, you want to check if your circle can be inscribed inside the polygons.You can do it in ETGEOWIZARD,an arcmap addin, (see pics below) for those polygon and separate those maximum inscribed circles have area greater than or equal to that of your supplied circle-you can use select by attribute to separate those circles(>= your sample circle ...


1

The solution is that in my code I had called in "loadFeatures" twice, once in each of the layers. Simply by renaming one of them it stopped calling both layers into the single one.


4

I think this is a great question and one with more relevance as we start using different technologies to store spatial data such as PostGIS. There are two issues involved here, from what I can think about: 1) Scale: I used to teach cartography students that a City from the view of "The Country" is a point, but as you zoom in to the scale of a "region", ...


0

The bit of code from Javi was helpful. I just had to change a few bits in order to make this work with OpenLayers 3. cartodb.Tiles.getTiles({ type: 'cartodb', user_name: 'dbauszus', sublayers: [{ sql: 'SELECT * FROM playa_test', cartocss: '#playa_test{polygon-fill: #FF6600; polygon-opacity: 0; line-color: #F11810; ...


0

If it is a gpx track, the points should be in order, so you can just walk the track and compare the timestamps of the two adjacent points and output point1id, point2id, deltatime fields to a table. You could actually do in python working directly on the gpx track without messing with qgis.


1

The following program ArcMap2SLDConverter will generate an SLD file from an ArcGIS Map - but you must have ArcGIS installed and running to do so. This SLD can then be uploaded to GeoServer, and used to style the corresponding layer.


0

You can access the number of features in the cluster strategy object. If there were no more strategies added to the layer, the correct path to the array is the following: mylayer.strategies[1].features


0

There aren't any methods to bind feature requests to a button click. You should bind the whole layer construction to the button, if you wouldn't like to request the features on initialization. You should also check if the layer has been initialized in order to avoid memory leaks. var mylayer; button.onclick = function() { if (!(mylayer instanceof ...


0

I guess your procedure was correct and can be improved with previous answers. To avoid your previous results, obtain beforehand the distance between your points in degrees (since you are using geographic coordinates) and use less than that length as cell size to avoid that two values falls in one cell and losing data. Remember that 1 degree is ~111 km in ...


-2

qgis has a tool called dissolve using atribute(column). its strange, but works. Menu Vector > Geoprocessing > Dissolve or something like that!


3

Degrees are part of a modified Sexagesimal (base 60) number system. Even though there are 360 degrees in a circle, 360 is 6 x 60. The origin of degrees as angular units is unclear (see wiki/Degree_(angle)#History.) See Coordinate Conversion: Decimal Degree to Deg-Min-Sec of lat/long Coordinates for subdivisions of a degree. In terms of fundamental ...


0

One of possible answer is to use multiple Extract by attribute functions. Alternatively, Select by expression and Intersection afterwards could be used. In Select by expression function, it is possible to create such a expressions as: "Variable_name" = 'Value_one' OR "Variable_name" = 'Value_two'


0

use the or operator : "||" or the and if you want both : "&&" For example "val1" || "val2"


0

The Datameet github repo for maps has the 640 districts as per the 2011 census, which are available under a Creative Commons Attribution-ShareAlike 2.5 India license, in shapefile format. I don't know where you got the figure of 671, but according to census of India, there were 640 districts in 2011. (see page 14 of the Administrative Atlas)



Top 50 recent answers are included