Autocad Map3d schema data types missing

Autocad Map3d schema data types missing

balazs_istvan
Contributor Contributor
1,133 Views
8 Replies
Message 1 of 9

Autocad Map3d schema data types missing

balazs_istvan
Contributor
Contributor

Hi!

 

I have a really frustrating problem. I have schemas given, that I cannot import to autocad. First he message of byte data type is not supported....single data type not supported....So i say lets do it manual!  Than i see there is no byte and single data type indeed......Any suggestion?

I attached the schema editor drop-down list, nope, no byte and single..

0 Likes
Accepted solutions (1)
1,134 Views
8 Replies
Replies (8)
Message 2 of 9

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

it depends on the database you are using, if I create an SQLite connection I get all the datatypes you are missing ("Byte" and "Single" included):

 

20170617_145253.png

 

When I create a SDF dataset, I get these options:

 

20170617_145419.png

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 3 of 9

balazs_istvan
Contributor
Contributor

Thanks for your fast reply. Now i have the oppurtunity of Byte and Single, but XMLSchema:token' and www-dot-w3-dot-org/2001/XMLSchema:date' attributes not imported. (When creating shp schema, thoes values imported fine as string and date).

I will lie in a corner and start crying.

I atached the schema i try to import, it is created by the goverment, was able to use it fine with QGis.

0 Likes
Message 4 of 9

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> it is created by the goverment, was able to use it fine with QGis

Then create your dataset with QGIS, after you have finished it open this dataset and see if Map3D can use that type of data.

Do you only have the schema or also some real data? That would it make easier to test.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 5 of 9

balazs_istvan
Contributor
Contributor

The schema is empty. I created one shp layer in QGIS with correct data types by manually adding the fields. My problem is, i have 18 different schemas, and thought I could save some time by using Map3d to importi them. Well, it imports some of the fields, so guess it is still better than nothing.

0 Likes
Message 6 of 9

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> Well, it imports some of the fields

Interesting that it does import some if there exists types like "token" which I think AutoCAD Map3D does not know in any type of GIS-dataset.

 

>> My problem is, i have 18 different schemas,

Understood 😉

But it would be easier to get emtpy datasets and not just schemas, maybe you can ask for them...

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
Message 7 of 9

balazs_istvan
Contributor
Contributor

Generally it should import all of the fields according to Autodesk documentation:

https://knowledge.autodesk.com/support/autocad-map-3d/learn-explore/caas/CloudHelp/cloudhelp/2016/EN...

 

The xsd import is handled by .NET, so as Microsoft goes: https://msdn.microsoft.com/en-us/library/aa719879(v=vs.71).aspx

token translates to System.String

unsignedByte converts to System.Byte

float converts to System.Single

 

I will ask for a sample dataset as shp but having Autocad for the price of a medium car and features not working is driving me nuts.

0 Likes
Message 8 of 9

Alfred.NESWADBA
Consultant
Consultant
Accepted solution

Hi,

 

>> Generally it should import all of the fields according to Autodesk documentation

I don't find a type "Token" in that documentation (which exists in the XSD).

 

>> The xsd import is handled by .NET

Yep, but that does not mean that FDO-objects can handle all what .NET has defined.

.NET is a generic set of API's and structures for developement, a lot of that content does not be used in GIS-data.

 

>> I will ask for a sample dataset as shp

I guess that will be the most useful start

 

>> but having Autocad for the price of a medium car and features not working is driving me nuts.

You are expecting features that are outside of GIS and CAD (e.g. never heard of "Token" in the world of GIS.

It's like buying a car that should be able to climb mountains like a Hummer and have a max-speed of close to 200mph like a Ferrari 😉

 

Let's wait for the sample data ... 😉

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 9 of 9

balazs_istvan
Contributor
Contributor

The thing the drives me crazy is that it either imports the tokens as string, but skips single and byte values, or imports the singles and bytes, but skips the strings. I also took your advice, and started building the database manually. Another thing I realized, that since i am new to map3d i did not consider, how the workflow should be. Now i am reading and watching getting started tutorials, which i should have done in the first place. With the correct workflow, turning my autocad dwg-s into geospatial data should worth the the learning time. Currently i am hyped to learn something new, and thanks for your help.

0 Likes