Hello,
How set-up a particular reference system (+proj=utm +zone=33 +datum=WGS84 +units=m +no_defs) to a new shapefile during its creating process?
i am using the IDLffShape functions to:
open an existing shapefile
extract entity number
parsing through the entities
extract an entity with GetEntity if a condition over an attribute is verified
create a new shapefile with OBJ_NEW('IDLffShape', shapename, ENTITY_TYPE = 5)
Set the attirbute definition for the new shapefile
Create the structure for the new entity equal to the entity extracted in point 4
Use PutEntity to add the new entity to the new shapefile
Add the new attributes to the new entity
close shapefile
All this process work properly but the new shapefile does not have any associated reference system.
Thank you for any feedback.
|