Most Popular

1500 questions
51
votes
5 answers

Showing popup on mouse-over, not on click using Leaflet?

Is it possible in Leaflet that popup opens on mouse-over, not on click? This is working for just one marker at a time, but I need it for a bigger number of markers: marker.on('mouseover', function(e){ marker.openPopup(); });
againstflow
  • 5,034
  • 18
  • 56
  • 87
51
votes
4 answers

Joining lots of small polygons to form larger polygon using PostGIS?

I have the following layer using SRID 27700 in postgis: It's every administrative region in the UK, and (as you can see from the colour grouping) each of them has a text field specifying the county they lie in. What I'd like to do is to make larger…
shawty
  • 1,721
  • 2
  • 18
  • 32
51
votes
9 answers

Identifying duplicate attributes in field using QGIS

I have a point shapefile with thousands of points. It has an "ID" code field that is supposed to be unique. Every now and then the data entry clerk wrongly type the "ID" creating duplicates. Right now I'm manually scrolling the field to find the…
obsidianz
  • 513
  • 1
  • 4
  • 4
51
votes
5 answers

Change style properties of several layers simultaneously?

I'm working on bulk data. I have a few hundred GeoTIFF images imported into a QGIS project, and I'd like to modify their layer properties - things like the no-data-value, transparency of certain pixel values, colour map assignments... But I can't…
Kay F. Jahnke
  • 631
  • 1
  • 5
  • 4
50
votes
2 answers

How do I check which version of GDAL I have and how many?

I have installed in my computer the following software: PosgresSQL 9.3.2.3 PostGIS 2.1.1.1 QGIS 2.0.1 Dufour (this one installed through the OSGeo4w package) QGIS 1.7.0 Wroclaw As far as I know all of them somehow operate, or use, or access the…
Web-GIS entrepreneur
  • 1,545
  • 1
  • 13
  • 28
50
votes
5 answers

Debugging ArcPy scripts

I have written many Python scripts using ArcPy in ArcMap 10, and so far my only means of debugging is restricted to printing messages to the geoprocessing results window using arcpy.AddMessage(). Are there any other options out there, such as…
Tanner
  • 7,375
  • 14
  • 62
  • 109
50
votes
4 answers

Joining non-spatial CSV file to spatial data (shapefile) using QGIS

I have a CSV file which has postcode data in a field, but it is non-spatial e.g. no Easting and Northing. I have a shapefile with postcode in a field and some additional data. I want to join the CSV with the shapefile based on attributes (postcode…
gisuser
  • 545
  • 1
  • 5
  • 6
50
votes
12 answers

Geocoding USA addresses that cannot be sent over Internet

For a one-time project, I need to geocode a few thousand addresses. In the past I've used various online resources for this kind of thing (e.g., Google Maps API), but the addresses I'm working with have to be kept confidential - which means no…
Matt Parker
  • 942
  • 9
  • 18
50
votes
5 answers

Smoothing/generalizing polygon in QGIS

Is it possible to smooth or generalize a polygon in QGIS, perhaps by using a plugin like the Generalizer Plugin for lines? I could convert my polygons to lines, smooth them and convert them back to polygons but this is not working for my polygons…
MartinMap
  • 8,262
  • 7
  • 50
  • 114
50
votes
4 answers

Converting ArcGIS (*.mxd) file to QGIS (*.qgs) file

I recently tried to use QGIS and I wondered if you can convert a draft ArcGIS map (*.mxd file) into a QGIS project (*.qgs file). Are there any solutions available? This would avoid thematize the entire project.
Matteo
  • 501
  • 1
  • 4
  • 3
50
votes
6 answers

Displaying local file in Google Maps?

How can I get a KML/KMZ file to display on Google Maps without a public facing web server?
Chris M
  • 1,013
  • 1
  • 11
  • 18
50
votes
1 answer

Using GeoPackage instead of SpatiaLite, and vice-versa?

I am using now QGIS 2.18, which includes support for GeoPackage format. I know that GeoPackage is like a replacement for Shapefile but not quite so, as GeoPackage has database capabilities. At same time, GeoPackage isn't a full replacement for…
Pahbloo Marks
  • 654
  • 1
  • 5
  • 9
50
votes
11 answers

Is there a way of auto_increment for the ID column in QGIS

I'm creating a fictive map and so I need to create lots of points, lines and for sure polygons. Later on I export my data as geojson. But before that I aways have to go and give every element an unique ID. I don't need a special sorting, like the…
kwoxer
  • 967
  • 1
  • 10
  • 20
50
votes
14 answers

Converting ArcGIS Server JSON to GeoJSON?

I'm creating a web map using Leaflet, and I want to be able to grab feature layers from our ArcServer. I have successfully been able to retrieve a feature class as JSON, but Esri's JSON objects don't follow the GeoJSON standards so they cannot be…
Tanner
  • 7,375
  • 14
  • 62
  • 109
49
votes
7 answers

OpenLayers low resolution and/or shifts in QGIS print composer?

I'm having trouble with the OpenLayers Plugin of Qgis and the map composer: If I create an OSM-background layer and if I want to export this, the OSM-Layer looks perfectly all right in the normal qgis program window. But in the map composer and…
desputin
  • 2,301
  • 6
  • 22
  • 23