Hot answers tagged

4

SRIDs are used as a means to distinguish between the many different coordinate systems. Often there are several coordinate systems that will be suitable for the task you are trying to achieve. The first decision you need to make is whether to use a geographic (latitude/longitude) coordinate system or a projected (x/y) coordinate system. If you are working ...


3

ArcGIS Online Network Analysis services are based on road network data (from various vendors such as HERE/TomTom and some others in several countries) and do not include railways. You would need to obtain the data and build your own network dataset.


3

Assuming you have an older version of GDAL/OGR, you can use OGR SQL to cast the geom field to a geometry. For example: ogr2ogr -f "ESRI Shapefile" "sample.shp" "geo.csv" -sql "SELECT *, CAST(geom as geometry) FROM geo" This will create a new shapefile using the WKT data as the geometry. You can use the same query with ogrinfo as well: ogrinfo -ro -sql ...


2

Not really an answer, but important: An SRID like EPSG:4326 or EPSG:3857 is just a reference number to access a commonly used projected coordinate reference system (CRS). A projected CRS consists of a geographic CRS (geodetic datum, ellipsoid/spheroid, prime meridian), a projection method and parameters, linear unit, and (optionally, for the ...


2

Assuming you have multiple independent polygon shapefiles of fires for a specific area, you can use the following workflow: Merge your shapefiles into one Use the Count Overlapping Polygons script tool The resulting polygon shapefile will have a count associated with the shapefile, which you can then use in your symbology.


2

try hex binning. https://github.com/minus34/postgis-scripts/tree/master/hex-grid here is some code for creating hex grids over Australia at varying levels put together by @Minus34. It's very useful for being able to show the large amount of point data into useful and spatially identical areas.


2

Try using the same tool but from the Processing Toolbox: Processing Toolbox > QGIS geoalgorithms > Vector analysis tools > Distance matrix This version includes distances at 0 m. The first image shows the results of the Distance matrix tool from the Processing Toolbox: This second image shows the results of the Distance matrix tool from the toolbar ...


2

ESRI has some tools: USGS uses Python to deliver Water Quality Assessment tools National Water-Quality Assessment (NAWQA) Area-Characterization Toolbox Water Quality Monitoring Data Collector and U.S Watershed Boundaries Water management: Water Delivery Sewer Collection Stormwater Conveyance


2

It depends on what coordinate system you're using. If you are using a projected coordinate system (with units in meters or feet), you can use the field calculator (use the Python parser) with this expression: math.hypot(!SHAPE!.firstPoint.X-!SHAPE!.lastPoint.X, !SHAPE!.firstPoint.Y-!SHAPE!.lastPoint.Y) Or if you want distance on the earth's ...


2

You can use Feature Vertices to Points tool with the option to put the points at the Start and End of the line. Then use the Near tool or the Point Distance tool, this will then give you the linear distance between the end and start point. This can be added to a model to automate it. ...


2

I had a GIS class with the quarterback of the LSU football team. For his class project, he mapped out his passes into different regions of the field and compared his completion rate across the regions.


2

Yes, Kirk Goldsberry now works for the San Antonio Spurs.


2

You might want to look at existing software for wind modelling for inspiration. There are a few of these, which cater for the renewable energy market (wind modelling is one of many factors used to assess where to build wind turbines). There's a list here in wikipedia.. some are proprietary, some are open source. You could look at SAGA GIS's ...


1

It can be done be done by using the intersect tool and select by location. First step: Use the intersect tool. When used on a single layer the output are only the parts that were overlapping. Second step: Use the Select by location function to select the features in your original layer and give them the uniqe number via the field calculator. (if needed ...


1

It sounds like what you are really after is some routing software. Take a look at RouteFinder for MapInfo @ www.routeware.dk Besides using some bespoke software I think the only other option is to attempt to write a routine yourself using MapBasic. Not the easiest task and probably not worth the effort given that there is already software available to do ...


1

Note, this will not be a full answer to your questions. However, I will try to provide some ideas for question 2). I leave questions 1) to users that are more familiar with remote sensing techniques than I am. Ideas for question 2) I dont' think there is an out-of-the-box solution to the DSM creation / manipulation. You could try to: Use the focal ...


1

When there is a space in the path, it is recommended to use the r"D:\etc" notation, so that the whole path is understood as one single string. See also the help topic Setting paths to data in Python.


1

I found the answer to the original question, and will therefore answer it here, and make a new question. Turns out that the points that are omitted are the ones that match exactly , or that has 0 metres between them. New question will be about how I can make a distance matrix with both the nearest points with distance >1 m and the ones that match ...


1

EDIT: there is actually a simpler answer. Compute the intersection between your two layers (Vector > Geoprocessing tools > Intersect), then use the Group Stats plugin to compute statistics on the constituencies. You can even compute the total area of Natura 2000 sites per constituency. Minor issue: it will only take into account Natura 2000 sites that ...


1

So after Joseph 's very very heplful comment and the link suggested the following is working in my plugin: ## from qgis.analysis import * from PyQt4.QtGui import QFileDialog ## ##path definition: code copied & pasted from _init_(self, iface) method ##from the plugin' s main module & CLASSNAME: the plugin' s classname locale = ...



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