Click here to Skip to main content
12,999,845 members (49,717 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi, I am not looking for any third party tools, want to do programatically.

Please guide me in this regard.

Thanks in Advance.
Posted 26-Apr-11 0:49am
Updated 5-Jun-11 22:20pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

If you can't do it through the Image object, you will have to do it manually. That process is, roughly speaking:
- make a data class which represents the internal semantic structure of the file which you want to preserve
- write a data reader that takes the input format (in your case DGN) and extracts the semantic information into an instance of the data class
- write a data writer that takes an instance of your data class and creates a file of the target output format (PIX).

Obviously this requires that the file formats are either publicly documented or easy to reverse engineer, and that both file formats are capable of storing the semantic information you care about. Spatial information is a relatively specialist thing and you should first check that it will be possible to store that in a PIX file.
om22may 4-May-11 7:17am
Hi BobJanova....
I am new in GIS Domain, Can you elloborate it More.....
BobJanova 4-May-11 13:53pm
No, I'm sorry, I know nothing about the file formats you mention. The general advice I gave in the solution is as far as I can go.
om22may 5-May-11 2:07am
Thanks Again....
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Create an Image object and save it to the required format; see here[^]
om22may 28-Apr-11 2:24am
Hi Nagy Vilmos,
Thanks for quick reply, image conversion we can do like this but i want to retain spatial inforamation which is not possible through this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170624.1 | Last Updated 6 Jun 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100