How to import a Geographics project to XFM
Let's see, a couple of days ago I was breaking the coconut to do it, and I have found the skill ... hehe, I am liking it 🙂 I take advantage of it because in two weeks I will be in Baltimore and I do not want to seem hungry ** asking what is in the readme.
I will take the opportunity to explain how the connection to a local project is made and then import it into XFM.
Connect a local project.
In my case, I have a .mdb with the mscatalog, categories and features of a previously used project. What I want is to connect it locally, let's do it wickedly.
1. Create ODBC
To connect Geographics with Access, you have to create an ODBC, this is done like this (I am using Windows XP):
- "Start / control panel / administrative tools / data sources (ODBC)"
- Then in the next panel you have to select "add / microsoft Driver mdb / finish"
- In the next panel the name of the data source is given a name, in my case I will use "local_project", without the quotes and select the "create" button
- Then I indicate where I want to create the database, in this case I will place it directly in C and call it "local_domain.mdb", then I leave the panel, accepting both.
So far what I have is a blank database, with a source of data that Geographics understands.
2. Create the project in Geographics
To create the project, we enter Geographcis
- It is usually in "Start / all programs / microstation / microstation geographics"
- I choose any file and once inside I select "project / wizard / next / crate project" then I choose the directory, I will place it in "C: / project1"
- Then the place of the seed file is selected, in case it is different from the one in "C: Program FilesBentleyWorkspacesystemseedseed2d.dgn"
- And finally the data source "ODBC" is selected and we write the name "local_project" as we created it before.
- Finally, "create / next / verify, register mapid / cancel"
With this, the project has created the structure of tables that Geographics needs in the database that we had blank.
3. Replace the database
Now, we close Geographics and replace the database we have created with the one we had with data, making sure it has the same name. When opening Geographics, and opening the project we will have the categories and attributes available to work with.
4. Replace the ucf
One option ... not for this moment, but it is for the project to open directly ... sorry, we'll talk later.
Import the project from Geospatial Management
1. Use the wizard
Now to import the project to XFM, we do the following:
- "start / all programs / bentley / bentley map v8 xm / bentley geospatial administrator"
- File / import geographics database
- Here you have to select the ODBC source, the name of the database, the user and assign a name for the schema to be created. It is also necessary to indicate which plotting units we prefer, I will use metrics.
2. Create a new file
Now we press the "new file" button
and there we can see that the entire project has been created with the categories, attributes, line styles, type of objects ...
not bad, so as not to break the coconut ... to save the structure as xml it is done "file / save" or "file / export"
I want you to send me a document to generate a project from scratch with microstation geospatial Administrator: firstname.lastname@example.org