Alex Leith
  • Member for 10 years, 7 months
  • Last seen more than a week ago
Uninstalling QGIS that was installed using OSGeo
28 votes

There is not a best way to do it, no 'Add Remove Programs' method. But... The simplest way is to delete C:\OSGeo4W. This will remove all the installed data. You can also uninstall stuff through the ...

View answer
Triggering click event on Leaflet map?
27 votes

I think that your are thinking it is more complex than you think! Try this: var popLocation= new L.LatLng(-42.8585,147.2468); var popup = L.popup() .setLatLng(popLocation) .setContent('<p&...

View answer
Zoom further in than level 19 with leaflet javascript API?
Accepted answer
25 votes

You can do it now, as of version 0.7 there is an additional option called 'maxNativeZoom' after which it will interpolate tiles. Here's a link to the latest documentation for maxNativeZoom Here's ...

View answer
What is the most common way of displaying geodata from Postgis on Leaflet?
Accepted answer
23 votes

In order to get data from a database into a web browser, you need to use a server-side script. This can be tricky to do because you need to be aware of vulnerabilities, like SQL injection. Some best ...

View answer
Open Source equivalent to Collector for ArcGIS to use with QGIS/PostGIS?
Accepted answer
20 votes

This question has been converted to Community Wiki and wiki locked because it is an example of a question that seeks a list of answers and appears to be popular enough to protect it from closure. ...

View answer
Getting WFS data from Geoserver into leaflet
Accepted answer
19 votes

While you can set up a proxy with your webserver, there is an easier way. First, enable JSONP in GeoServer. Then form your data requests like this: var owsrootUrl = 'https://<GEOSERVER URL - ...

View answer
How are Esri's ArcGIS,Google Maps, Mapbox different in their products in providing support maps for Web/App developers?
15 votes

MapBox provides a SaaS product. It has a free tier to get you in, then has clearly defined cost structures for bigger, better, stronger services. They innovated by making Open Source tech easier and ...

View answer
Saving selection as new layer in QGIS 2.4?
13 votes

You can right click with a Mac, hold 'ctrl' and click. Or use two fingers to tap on the touch pad, or plug in a mouse with two buttons. When you do that, you right click your layer (that has selected ...

View answer
Create a new layer from overlap between two layers?
Accepted answer
13 votes

You can do it with the Vector tools built into the newer versions of QGIS. I am using 1.8 at the moment, and it has a Vector menu. Got to: Vector > Geoprocessing Tools > Intersect. Alternatively, ...

View answer
Creating leader lines for moved labels
12 votes

Firstly, this is a really neat solution! I solved this using a database view (a bit of overkill, but it worked). My suggestion is to use a background and fill on the label. Or, looking here, you may ...

View answer
C# Abstraction for Web Feature Service (WFS) Call
Accepted answer
10 votes

It looks like I found your holy grail! SharpMap has a WFS implementation. Code here: https://github.com/SharpMap/SharpMap/blob/master/SharpMap/Data/Providers/WFSClient.cs Main web page here: https:/...

View answer
Adding a PostgreSQL database to a web map
8 votes

You can't talk directly from a web browser to a database, because a browser runs code on a client's computer, and that doesn't (and shouldn't) connect directly to your database. What you need is a ...

View answer
Adding pop-up to GeoJSON layer in Leaflet
Accepted answer
8 votes

Here's an example that I have of loading geojson from a WFS service: http://maps.gcc.tas.gov.au/dogexerciseareas.html This is another example loading topojson (similar, but different): http://agl.pw/...

View answer
Precision vs Resolution in elevation data
Accepted answer
8 votes

I think I can answer it for you. If you look at the precision vs. accuracy image on the link you provided, precision refers to the repeatability of the observation. For example, if I measure the ...

View answer
What is the case for Building Information Modeling (BIM) in GIS?
Accepted answer
8 votes

I personally think that BIM is a convergence of multiple technologies, and I am yet to be convinced that it will take off. I presume you know what it is, but my understainding is that it is a fusion ...

View answer
What is the function of GDA2020 dynamic formats?
Accepted answer
7 votes

There is some detailed information here, on the ICSM page on datum modernisation. Note importantly the two stage implementation: Stage–1 GDA2020 The GDA2020 datum will result from a ...

View answer
GeoServer: Best way to publish 2500 TIFF or 71 ECW files?
Accepted answer
7 votes

I ran an experiment with a TIFF file and an ECW. Started with a 1.2 GB ECW, and converted it to TIFF with compression and pyramids, it was ~1.5 GB. So I think that a TIFF can be a similar size to an ...

View answer
Alternatives to using Arcpy
7 votes

My solution, the quick solution, is to use GDAL with Python. You need to import subprocess command = "gdalwarp -of GTiff -cutline clipArea.shp -cl area_of_interest -crop_to_cutline inData....

View answer
Moving vectors to specified coordinates in QGIS?
7 votes

If you want to move them manually, simply start editing, select the features you want to move and then select the move tool and shift them. To move them by a particular x,y offset, you might be able ...

View answer
Creating disease risk map in QGIS?
6 votes

The simplest way to run your analysis (without trying to define your actual inputs) is to do some basic raster algebra. Have a go with the raster calculator: https://docs.qgis.org/2.8/en/docs/...

View answer
Connecting local QGIS to Docker container?
6 votes

First, you need to ensure your Docker container has it's ports exposed, so do something like: docker run -p 5432:5432 --name some-postgis -e POSTGRES_PASSWORD=mysecretpassword -d mdillon/postgis And ...

View answer
Downloading the Geoserver SQL Server Extension
Accepted answer
6 votes

You can grab it from this site. Navigate through by selecting the version of GeoServer you're on, and get the latest for that version. So, for version 2.13, you can get it here: https://build....

View answer
Migrating from Mapinfo to PostGIS/QGIS and preserving styles?
Accepted answer
6 votes

You will not be able to port MapInfo styles directly to QGIS, mainly because MapInfo styles are per-feature, whereas QGIS styles are rule-based. That said, you can have a go with Nathan Woodrow's ...

View answer
Transition to GDA2020 in QGIS?
6 votes

To add to the answer of Son of a Beach, the definitions of GDA2020 CRSs have been added to EPSG, and these have been brought into Proj4 and GDAL. These CRS definitions are good enough for many uses, ...

View answer
Batch Clipping of shapefiles in FME
Accepted answer
6 votes

Yep, you can do a dynamic reader and writer and clip them all at once, for sure. First, with your reader, make sure you use 'single merged feature type'. For your writer, make it 'dynamic' so that ...

View answer
In hyperbola model of how GPS equations are solved, why do 3 satellites give only 2 hyperboloids and 4 satellites only 3?
6 votes

EDIT: I answered this question originally with the assumption that there was only one way of understanding the way GPS works. There's a good few paragraphs on Wikipedia: https://en.wikipedia.org/wiki/...

View answer
Using attribute-based line to style lines with different Color for WMS in GeoServer?
Accepted answer
6 votes

The easy way I use to set up styling is to load your dataset in QGIS and style it with that. Use only simple style features like colour and width and do it on a single attribute. The save that QGIS ...

View answer
Replacing corporate GIS?
6 votes

Although someone else with more experience than I may be able to answer better, this is my understanding: To edit data in a spatial database, you need ArcGIS Server (the SDE components) That database ...

View answer
How to design a bus station query database schema?
Accepted answer
6 votes

I think you need to build another table that defines all the routes in is as combinations of other routes. Then you query this table and join to the actual routes to get the geometry. If the query is ...

View answer
Trying to convert geometry to geography keep failing in MSSQL 2012
Accepted answer
6 votes

I think that you have a minor error in your select statement. Try this: GEOGRAPHY::STGeomFromText(geom.MakeValid().STAsText(),4326) What you are doing is making a union between the linestring and a ...

View answer
1
2 3 4 5
13