New answers tagged

0

I had previously installed fiona using pip. I just reinstalled it using conda : conda install -c anaconda fiona=1.6.0 It solved my problem.


0

Update: As a newcomer to QGIS, I was looking for a solution to this question through pre-defined functions in the QGIS menu, which proved to be impossible. Here's an preface to the accepted answer for others out there who have never used the database manager (DB Manager): Create a Spatialite database with the QGIS browser (instructions) Import the layer ...


0

There are two problems: 1) you import Fiona twice because GeoPandas use Fiona for reading/writing shapefiles grep -nr "fiona" *.py geocode.py:4:from fiona.crs import from_epsg geodataframe.py:259: >>> import fiona geodataframe.py:260: >>> fiona.supported_drivers geodataframe.py:269: The *kwargs* are passed to fiona....


1

Just for future reference because I was able to solve my problem: If you want to create a new spatialite layer without having changes in the attribute field names (e.g. upper case to lower case), then you need to change the layer option LAUNDER in the 'save as' option form to "NO". Now the new spatialite layer possesses exactly the same attribute field ...


1

This is quite a nasty problem and hard to resolve without experience on different ways to store geodata into SQLite database. The problem is not in the output format but in the input format. The natural_earth_vector.sqlite database is written as FDO. Read more info from the "Regular" SQLite databases" section in the GDAL SQLite driver manual page http://www....



Top 50 recent answers are included