Create SHP file

3 messages Options
Embed this post
Permalink
sekko970

Create SHP file

Reply Threaded More More options
Print post
Permalink
Hi all,
I need to create a shape file programmatically in an ASP.NET application: is it possible using FDO API?

If no, how is it possible to personalize the structure of an existing empty shape file, always using FDO API?

An examples of the APIs to use should be very evaluable.


Thanks,
F.
Jackie Ng

Re: Create SHP file

Reply Threaded More More options
Print post
Permalink
Creating shape files is a special case in FDO. What you do is bascially connect to a directory of your choice, and then execute an IApplySchema command. A shape file will be created for every feature class inside the schema that is being applied.

Hope that helps.

- Jackie

sekko970 wrote:
Hi all,
I need to create a shape file programmatically in an ASP.NET application: is it possible using FDO API?

If no, how is it possible to personalize the structure of an existing empty shape file, always using FDO API?

An examples of the APIs to use should be very evaluable.


Thanks,
F.
sekko970

Re: Create SHP file

Reply Threaded More More options
Print post
Permalink
Thanks Jackie,
but I have some difficult to understand which are right classes and methods to use:

have you some code example?

Thanks,
F.


Jackie Ng wrote:
Creating shape files is a special case in FDO. What you do is bascially connect to a directory of your choice, and then execute an IApplySchema command. A shape file will be created for every feature class inside the schema that is being applied.

Hope that helps.

- Jackie

sekko970 wrote:
Hi all,
I need to create a shape file programmatically in an ASP.NET application: is it possible using FDO API?

If no, how is it possible to personalize the structure of an existing empty shape file, always using FDO API?

An examples of the APIs to use should be very evaluable.


Thanks,
F.