ken.dowling
02-01-2007, 01:43 PM
New Year greetings
I'm working on VicMap (Australia) shape data using Arcv2CAD 4.0 to convert to DXF files to import into specialised mapping software OCAD.
I was wanting to differentiate between contours and index contours using the FTYPE_CODE attribute in the shape file. I selected that field to translate, then go to Layer Control | Place entities on separate layers by classification, and select FTYPE_CODE as the key, but only one unnamed layer showed up.
Many hours of testing later I was documenting a posting on the topic for this forum and in doing so, stumbled across the answer.
Initially, because the real shape file is 33k+ records, I had been using a small shape file of the same name that contained sample data supplied by VicMap. What seems to have happened is that it did not have the FTYPE_CODE set up for index contours which is fair enough for a sample.
But when I went to use the real file, because the file name is the same, it appears that ArcV2CAD assumed the same parameters would apply and thus defaulted FTYPE_CODE attributes to the same as the previous sample file.
Yet in Polyline Colours | Colours linked to feature with FTYPE_CODE as the classification field, I did get 4 labels showing including 'contour' and 'contour_index' which is what I would expect.
Eventualli in preparing a query posting, I was just checking what another attribute showed on the real file, then re-selected FTYPE_CODE and lo and behold, all 4 layer names showed up.
There is value in persisting with previously used fields for a file so I am not sure what can be usefully done about this situation - assuming I am correct in what happened. Probably we are warned in the documentation 8-}
Regards
Ken :D
I'm working on VicMap (Australia) shape data using Arcv2CAD 4.0 to convert to DXF files to import into specialised mapping software OCAD.
I was wanting to differentiate between contours and index contours using the FTYPE_CODE attribute in the shape file. I selected that field to translate, then go to Layer Control | Place entities on separate layers by classification, and select FTYPE_CODE as the key, but only one unnamed layer showed up.
Many hours of testing later I was documenting a posting on the topic for this forum and in doing so, stumbled across the answer.
Initially, because the real shape file is 33k+ records, I had been using a small shape file of the same name that contained sample data supplied by VicMap. What seems to have happened is that it did not have the FTYPE_CODE set up for index contours which is fair enough for a sample.
But when I went to use the real file, because the file name is the same, it appears that ArcV2CAD assumed the same parameters would apply and thus defaulted FTYPE_CODE attributes to the same as the previous sample file.
Yet in Polyline Colours | Colours linked to feature with FTYPE_CODE as the classification field, I did get 4 labels showing including 'contour' and 'contour_index' which is what I would expect.
Eventualli in preparing a query posting, I was just checking what another attribute showed on the real file, then re-selected FTYPE_CODE and lo and behold, all 4 layer names showed up.
There is value in persisting with previously used fields for a file so I am not sure what can be usefully done about this situation - assuming I am correct in what happened. Probably we are warned in the documentation 8-}
Regards
Ken :D