Hello everyone
I exported an .shp file and a .tab file from OpenCitiesMap.
At this point, I create a new .dgn file in OpenRail Designer and in the "Attach Reference" panel, I add one of the two files exported from OpenCitiesMap.
The newly referenced file reports the information created in OpenCitiesMap but I lose the symbolism (colors, line styles, layer structure.)
Is there a way not to lose the graphic styles?
Hi Davide,
Davide Porzio said:I exported an .shp file and a .tab file from OpenCitiesMap.
You should be aware of SHP format features: It's a plain geometry format (point, line string, polygon) with DBF without any information about symbology stored (because in GIS, the symbology is the result of analysis / visualization, not data feature). So when SHP format is used, no symbology can be shared (or it has to be shared in parallel in some other way).
Davide Porzio said:Is there a way not to lose the graphic styles?
I do not quite understand why you choose SHP format to share data between two Bentley products?
Why the data are not shared in DGN format?
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
WellI'll try to explain my workflow more comprehensively
First I create a new file in OpenCitiesMap and, through the Interoperability tool, I insert a shape file downloaded from the internet.Once I have imported the shapefile, through the Map Manager tool, I customize the symbolism of each shape.
At this point I create a new file in OpenRailDesigner and through the command "Attach Reference" I add the file previously produced in OpenCitiesMap. When I add the file in the format .dgn I lose both the symbolism and the information.
When I add the file in the format .shp I lose the symbolism but not the information that remains stored in the form of "item"
Back in OpenCitiesMap I have another problem with the production of Drawings.When I produce a drawing, I lose all symbols created through the "Map Manager" tool.
I hope I've been as clear as possible.I thank you in advance for your help,
Davide
Jan's suggestion to continue to use the DGN File format is the proper one.
You can remove the XFM records yet retain graphic element symbology by using the Export MicroStation Elements command, found in the Map Manager.
Map will include a command to write the XFM Properties to Item Types in the next Map Update 5 release.
As shown in the image below I do not have this command
This looks like one of the earlier releases. What version of Map are you working with? The current version is OpenCities Map CONNECT Edition Update 4 version 10.04.00.42. Use File | Help | About OpenCities Map to locate the version number.