Comments (1)
Thanks for your kind words! Glad to see that you found the plugin useful.
It's definitely possible to store 3D data in PostGIS, but making it work can be a bit tricky. I am not sure if a simple copy-paste would work out of the box. Maybe that would work, as soon as your layer's geometry definition in PostGIS is defined specifically for 3D? But I am not sure if I would trust QGIS in the process.
My suggestion is that you export from QGIS using the GDL toolbox. You'll have to make an intermediate file, though:
- Export the imported CityJSON layer to a file by right-clicking on the layer and selecting
Export
->Save features as...
. I would suggest that you choose a Geopackage or GeoJSON. Make sure that under the you set theGeometry type
toPolygon
and that you have theInclude z-dimension
checkbox checked. - From the toolbox select
GDAL
->Vector miscellaneous
->Export to PostgreSQL (available connection)
. Select your connection and, as input, the file that you just exported. Also, make sure that you set theVector dimensions
to3
.
When I tested this, I ended up with 3d geometries in PostGIS.
from cityjson-qgis-plugin.
Related Issues (20)
- Semantic surfaces being dissolved
- Multi LoD file adds empty attributes to all layers HOT 3
- Convert from CityGML bevor use HOT 1
- Write support for CityJSON datasets HOT 1
- Breaks on CityObject without geometry HOT 3
- Geometry-less city objects aren't loaded when choosing to load per LoD
- CityJSON v1.1 not supported HOT 1
- Add support for CityJSONFeature
- adding attributes per surface HOT 1
- Extracting only semantic roof surfaces for QGIS
- Roof Surfaces Double Geometries on QGIS: WHY? HOT 9
- Import aglorithm is broken in 3.24.3 (macOS) HOT 1
- Qgis crashes HOT 3
- Change Altitude Clamping from Relative to Absolute HOT 2
- `referenceSystem` breaks if the url provided is an http
- `referenceSystem` breaks when it starts with `http://` instead of `https://`
- address information is not loaded HOT 1
- AttributeError: 'QgsPolygon3DSymbol' HOT 2
- Missing info
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cityjson-qgis-plugin.