Comments (10)
Hi Sabah,
you have to enter an SRID code and GML SRS NAME yourself, anyway :)
The Berlin CRS is just an example what kind of input is expected. So in your case the first parameter would be 32639, I guess (http://spatialreference.org/ref/epsg/wgs-84-utm-zone-39n/)
The second parameter is a string that should link to metadata of the CRS. We chose a layout proposed by the OGC (https://portal.opengeospatial.org/files/?artifact_id=24045). So, if you do a CityGML export this string is written to the file, too. If you load the file into another software that can interpret the string, it can pick (or at least suggest) the right CRS straight up, without having you to search for the SRID. This applies e.g. to the FZK Viewer (http://iai-typo3.iai.fzk.de/www-extern/index.php?id=2315&L=1). So the simplest version in your case would be: urn:ogc:def:crs:EPSG::32639
You cannot use two CRS in a 3DCityDB instance. But you can at least choose to export your data in another reference system (if this CRS covers the area of the DB SRID, e.g. WGS84 UTM 39N --> WGS84).
Hope that helps
Felix
from importer-exporter.
Hi Felix,
Thank you, It's very good.
Yes i find the SRID for my area. It's correct 32639, But i don't have CRS for area. I downloaded and run the FZK Viewer but when i import the model (3d building) it have a error message which the model don't had reference, This error: "object reference not set to interface of an object", finally model don't import.
Even when i import the default data from 3dcitydb.
do you say this is enough for my the 3d model: "urn:ogc:def:crs:EPSG::32639" ? Default is: "urn:ogc:def:crs,crs:EPSG:6.12:25833,crs:EPSG:6.12:5783". What are these: "6.12" and "5783"?
from importer-exporter.
Hm, sounds like the error is in your CityGML file, but hard to tell from a distance.
Yes, for your model urn:ogc:def:crs:EPSG::32639 is fine. This parameter in not important for the functionality of the 3DCityDB. You can type whatever you want. It's just useful for the explained workflow. The default values (only default in the Oracle version btw) are only suitable for data in this CRS, e.g. if you want to play with Berlin datasets.
from importer-exporter.
Thanks a lot,
It seams is in my model, But when i want to import the Berlin dataset that error display again.
Afterwards set the 3dcitydb If i will want to import a mode from another area(like UTM zone 38) i have uninstall the all works and i start from Beginning? Or i can to set the CREATE_DB by another SRID?
from importer-exporter.
Well, then maybe it's a bug with the FZK Viewer...
To change the reference system after setup there is the function change_schema_srid. Please, have a look at the documentation how to use this function: p100 for Oracle and p103 for PostGIS.
If you want to work with data of both CRS, you need to create a second 3DCityDB instance with the CREATE_DB script.
from importer-exporter.
Thank you,
How to create second 3DCityDB? I have to copy the CREATE_DB another folder and change it then run it by second SRID?
from importer-exporter.
What DBMS are you using? Postgres or Oracle? Just create another empty Database (Postgres) or User-Schema (Oracle) and run CREATE_DB on it.
from importer-exporter.
Thank you,
I'm using from Postgres.
from importer-exporter.
Closing this issue. Feel free to re-open if you have further questions.
from importer-exporter.
Hi, I have a problem.
When I export data in .kml format and put it in Google Earth it goes somwehere in Africa, but I put SRID and SRS for Austria (Europe).
My code looks like:
SRID: 25833
URN: urn:ogc:def:crs,crs:EPSG::25833,crs:EPSG::5778
Can you tell me if it is ok, or there is some mistake?
from importer-exporter.
Related Issues (20)
- Automatic BBox calculation for tiling HOT 1
- VIS Export and KML Export HOT 1
- URL for web map HOT 1
- Global appearances are ignored in CityJSON exports
- URL and cityobjectsJsonUrl for the JSON files HOT 5
- Date error when exporting HOT 2
- importer for surfaces with inner rings creates invalid POLYHEDRALSURFACE HOT 2
- Installation issue on mac HOT 2
- NoClassDefFoundError: org/citydb/gui/plugin/view/ViewExtension when running the Importer/Exporter CLI HOT 4
- 3DCityDB-Importer-Exporter-4.3.0-Setup.jar does not install core, only plugins HOT 6
- Problem with citygml file validation HOT 3
- When using the CLI import options, can I specify that it should update? HOT 1
- Properly calculate the area/volume of a building/city object HOT 2
- Can't export to tiled CityGML files HOT 8
- 3d CityDatabase HOT 12
- Thank you! @clausnagel
- Bug in About link
- Importer/Exporter 5.4.2: ADE manager tab gone? HOT 3
- ERROR: geometry requires more points HOT 2
- GLTF Export -> All Buldings in one gltf file? HOT 1
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 importer-exporter.