Geographic Information Systems Stack Exchange Community Digest

Top new questions this week:

Check Geometries Plugin - attribute value in results

What does the real value of Sliver polygon represent? it's not the area of the polygon it's not the perimeter is not the area of the bounding box so I ask if anyone can tell me what it represents, I ...

qgis check  
user avatar asked by pigreco Score of 6
user avatar answered by user30184 Score of 6

Append several layers to a GeoJSON file with PyQGIS

QgsVectorFileWriter.writeAsVectorFormat(poly_lyr, f'{path}\\tryfile', 'utf-8', QgsCoordinateReferenceSystem('EPSG:4326'), 'GeoJSON', layerOptions=['COORDINATE_PRECISION=8'], onlySelected=True) ...

pyqgis export append  
user avatar asked by Ali Güvenaltın Score of 6
user avatar answered by Kadir Şahbaz Score of 9

Set the background of a label such that it fits to a wrapped line in QGIS

In QGIS, is there a way to change the background setting on a label such that the background "fits" to the text. Here, there is a lot of white space after the second line that I don't want ...

qgis labeling html  
user avatar asked by Kat Score of 5
user avatar answered by Matt Score of 2

Shapefile saving in project home instead of last used folder in QGIS

Here's something me and my colleagues run into all the time: We're working in different QGIS files making maps visualizing our data. Every specific tool or action wants to save the output by default ...

qgis qgis-processing output  
user avatar asked by Henk Lenting Score of 5
user avatar answered by ian Score of 3

Error of MultiLineString object is not iterable

Simply I just want to convert a MultiLineString data to a list but get the error: TypeError: 'MultiLineString' object is not iterable" from shapely.geometry import MultiLineString coords = [((0....

error shapely  
user avatar asked by rgholizadehr Score of 5
user avatar answered by Kadir Şahbaz Score of 8

QGIS - how to label values of two different polygons in one polygon setting

I'd like to display the values of two different polygons in one. I have a polygon with the border of different states, then in a separate polygon I have the borders of districts dividing the states... ...

qgis labeling query  
user avatar asked by Marek Score of 5
user avatar answered by BERA Score of 10

Unable to remove GeoJSON features/layer in Leaflet

I am able to select a decal and display the GeoJSON on the map. Once I select another decal from the select dropdown it shows the new GeoJSON shape but doesn't remove the old ones. I've tried multiple ...

leaflet geojson angular  
user avatar asked by Nat Score of 5
user avatar answered by TomazicM Score of 8

Greatest hits from previous weeks:

Determining which US zipcodes map to more than one state or more than one city?

I'm using a zip code listing, and I am curious to know how many (or which) zip codes map to more than one US state or US city? For instance I know that Zip Code 42223 resolves to US Army, Fort ...

united-states zip-codes borders postal-code  
user avatar asked by Asking One Score of 32
user avatar answered by Gabriel Grant Score of 30

Adding basemaps in QGIS

ArcGIS Desktop has the option of using basemaps from ArcGIS Online. Does QGIS have any such options?

qgis basemap xyz-tiles  
user avatar asked by SNT Score of 208
user avatar answered by underdark Score of 160

Add Basemap grayed out in ArcMap?

Why can't I add a base map to my data frame in ArcMap? I am using ArcGIS 10.2 for Desktop and the options under Add Data for Add Basemap and Add Data From ArcGIS Online are both disabled (grayed out)....

arcgis-desktop arcgis-10.2 arcgis-online arcgis-online-basemaps  
user avatar asked by user30728 Score of 13
user avatar answered by BusyNotLoggedIn Score of 23

Cropping Shapefiles in QGIS?

I need to clip a large and very detailed shapefile in QGIS showing environmental data similar to a temperature map. Is there something like the very simple crop tool like in Adobe Photoshop where ...

qgis shapefile  
user avatar asked by birgit Score of 28
user avatar answered by ako Score of 36

Inserting point into PostGIS?

I have created one table in my PostGIS nut I cannot insert point. What is wrong with my query? CREATE TABLE app ( p_id INTEGER PRIMARY KEY ); SELECT AddGeometryColumn('app','the_geom','4326','...

postgis  
user avatar asked by Shahjalal Score of 60
user avatar answered by Mike T Score of 102

Find features within given coordinates and distance using MySQL

I have a MySQL table with user name, latitude and longitude of the user. I would like to get a list of users who are inside the circle or square of a given latitude and longitude with given distance. ...

point distance mysql  
user avatar asked by shihab K Score of 25
user avatar answered by Mapperz Score of 38

How to create a simple polygon from coordinates in GeoPandas with Python?

How to create a simple Polygon from coordinates in GeoPandas in Python?

python polygon coordinates geopandas  
user avatar asked by Davma Score of 28
user avatar answered by Davma Score of 14

Can you answer these questions?

select ways as nodes with way center as node coords

When querying OSM through OverpassTurbo, I notice some locations are ploted as polygons (closed ways) instead of nodes: When I clicked on the node I gt this result: This is data: { "type"...

overpass-api overpass-turbo  
user avatar asked by Cyrus the Great Score of 1

Correct way to get SSL working with Tomcat GeoServer

I found this but the configurations look quite long so I'm not sure if they're suitable for my simpler case. What guide explains setting up SSL properly? This post doesn't show the SSL stuff. When I ...

geoserver  
user avatar asked by phillip8 Score of 1

Comparing two GeoDataFrames that are written using different drivers

I'm trying to write one of the GeoDataFrames available with the GeoPandas package to a File GeoDataBase, read this back into memory, and then measure equality across these two GeoDataFrames. For some ...

geopandas file-geodatabase geopackage fiona  
user avatar asked by philiporlando Score of 1
You're receiving this message because you subscribed to the Geographic Information Systems community digest.
Unsubscribe from this community digest       Edit email settings       Leave feedback       Privacy
Stack Overflow

Stack Overflow, 110 William Street, 28th floor, New York, NY 10038

<3