Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DXF to GeoJson not all layers converted #80

Closed
pungiish opened this issue Feb 12, 2020 · 5 comments
Closed

DXF to GeoJson not all layers converted #80

pungiish opened this issue Feb 12, 2020 · 5 comments

Comments

@pungiish
Copy link

When opening the DXF in QCAD, I am shown more layers than when opening the converted GeoJson file.

I.E. this layer is shown and converted correctly:

$_S-2CHECK
 70
     1
 62
    -4
420
    65535
  6
Continuous
370
    -3
390
43134
347
4316A
348
0
1001
AcAecLayerStandard
1000

1000

1001
AcCmTransparency
1071
        0
  0
LAYER
  5
43479
330
43128
100
AcDbSymbolTableRecord
100
AcDbLayerTableRecord
  2

this is in converted file:

{"type":"Feature","properties":{"Layer":"$_S-2CHECK","SubClasses":"AcDbEntity:AcDbBlockReference","ExtendedEntity":null,"Linetype":null,"EntityHandle":"2F34C","Text":null},"geometry":{"type":"GeometryCollection","geometries":[{"type":"LineString","coordinates": ...

However, layers like these are getting dropped during the conversion:

_Fire Protection_CEILING2
 70
     0
 62
     8
420
  8421504
  6
Continuous
370
    -3
390
43134
347
4316A
348
0
1001
AcAecLayerStandard
1000

1000
Lights and Fixtures 
1001
AcXRefLayerPropertyOverride
1071
      256
  0
LAYER
  5
4324E
330
43128
100
AcDbSymbolTableRecord
100
AcDbLayerTableRecord
  2

Any ideas why and what I could do to fix it?

@vfonsecaz
Copy link

can you provide the full dxf?

@pungiish
Copy link
Author

Hey, yes, but I can't post it on here. Can I send it to you somewhere? If you could look at it, that'd be great!

@vfonsecaz
Copy link

send it to my email vfonsecaz at gmail dot com

@pungiish
Copy link
Author

Ok. Thank you.

@pungiish
Copy link
Author

There seemed to be a problem with the .DXF file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants