X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 12 Jan 2017 05:08 AM by  anon
How provide a reference system to a new ESRI Shapefile (Polygon type)
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
12 Jan 2017 05:08 AM
    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.

    Deleted User



    New Member


    Posts:
    New Member


    --
    12 Jan 2017 07:01 AM
    I solved copying the .prj file from the original shapefile to the new one. Now i have a new shapefile with a single geometry. How can i transform and/or export this shapefile to a classic envi .roi ROI file?
    You are not authorized to post a reply.