Most Popular

1500 questions
76
votes
4 answers

Extracting data.frame from simple features object in R

Is there an sf-native (i.e. "correct") way of extracting everything except the geometry column from a simple features object? This works df <- dplyr::select(as.data.frame(sf), -geometry) but the select( , -geometry) step feels unnecessary. Also,…
eivindhammers
  • 1,143
  • 1
  • 8
  • 13
76
votes
17 answers

What books, journals, and electronic resources are most valuable for expanding knowledge of GIS?

What books, journals, and/or electronic resources have you found most valuable for expanding your knowledge in the GIS field, and why?
radek
  • 10,579
  • 12
  • 86
  • 121
76
votes
6 answers

Opening shapefile in R?

I need to open a shapefile from ArcMap in R to use it for further geostatistical analysis. I've converted it into ASCII text file, but in R it is recognized as data.frame. Coordinates function doesn't work as soon as x and y are recognized as…
slava
  • 761
  • 1
  • 6
  • 3
75
votes
16 answers

Explaining what GIS is to 11 year old kid?

Well, since it was one of the highest rated proposed questions, hasn't been asked yet, and I would love to know the answer, I thought I'd ask it. How do I explain what GIS is for the 11 year old kid?
Senseful
  • 859
  • 1
  • 7
  • 4
74
votes
7 answers

When to use ModelBuilder over Python scripting and vice versa?

I am new to Python scripting in ArcGIS but not new to ModelBuilder. I would like to know the benefits of Python vs ModelBuilder. When should we write Python script for GIS automation rather than use ModelBuilder? What are the automation…
BBG_GIS
  • 5,825
  • 4
  • 45
  • 88
72
votes
7 answers

Loading external GeoJSON file into Leaflet map?

I would like to load a geoJSON (polygon) file into my leaflet map. I have seen examples where geoJSON is embedded into the javascript code but I can't find any examples showing how it is done with an external file.
bailey
  • 1,281
  • 1
  • 13
  • 20
72
votes
11 answers

What Makes a Map be classed as Badly Designed?

A poorly designed map can not only look visually unappealing, but can convey the wrong message, which could lead to bad decisions being made. I would like to ask people to post examples (that are in the public realm) of poorly designed maps, WITH…
jakc
  • 9,858
  • 8
  • 49
  • 97
72
votes
1 answer

Choosing SRID and what is its meaning?

I'm new to GIS, in PostGIS, and I'm struggling with the SRID concept. How do you choose a SRID for a database column? This is making me crazy. Why do I need to choose a SRID? What's its meaning? Picking a SRID is it the same for geometry and…
bluish
  • 901
  • 1
  • 7
  • 11
71
votes
1 answer

What are differences between WMS, WFS, WCS, WPS?

By looking at I do not understand the differences between WMS, WFS, WCS, and WPS. Can you explain the differences between them?
Harold Chan
  • 1,667
  • 3
  • 17
  • 25
71
votes
2 answers

Acquiring ArcGIS-like speed in Postgis

I have been using Postgis 2.0 for 3/4 of a year now and while I really enjoy using it, excessive query processing time has rendered it basically unusable for my use case. I tend to do heavy geoprocessing on municipal datasets which often have…
THX1138
  • 1,621
  • 3
  • 15
  • 18
71
votes
7 answers

Generating Map Tiles with QGIS

Is it possible to generate map tiles from QGIS? I guess QGIS Server must have a way to do it, but is there a way to just generate the tiles and save them to disk? With the new symbology renderer and scale-dependent rendering, QGIS is a powerful tool…
mattwigway
  • 2,937
  • 2
  • 23
  • 22
70
votes
3 answers

Uninstalling QGIS that was installed using OSGeo

I installed QGIS using OSGEO4W, and would love to know how to uninstall it, because when I go to "Control Panel > Programs > Uninstall" the program does not appear in the list of installed programs. How can I do this?
felipe
  • 701
  • 1
  • 5
  • 3
70
votes
7 answers

Are there any attempts to replace the shapefile?

Recently I've been spending a lot of time converting perfectly good field names like "Percent of citizens age 25 and over with a bachelor's degree or higher" into things like "edbchogtr" to meet the DBF's 10 character field name limit. In another…
canisrufus
  • 2,474
  • 1
  • 18
  • 30
69
votes
2 answers

Reading shapefile in Python

My question is an extension of Vertical lines in a polygon shapefile. There you will see a method of generating vertical lines with respect to the bounding box, at user-defined spacing. I understand that OGR, Fiona, Shapely etc. can be used to do…
Akhil
  • 1,435
  • 3
  • 19
  • 24
69
votes
8 answers

Should GDAL be set to produce GeoTIFF files with compression? Which algorithm should be used?

I have a folder of GIS data that consists mainly of GeoTIFF files. The whole set weighs in at about 1.2 GB. I noticed that if I pack the contents into a tarball, it smashes down to about 82 MB. I would like to check the set into a revision control…
Sharpie
  • 1,190
  • 1
  • 11
  • 13