Skip to main content
8 events
when toggle format what by license comment
Mar 11, 2015 at 9:41 comment added Alex Tereshenkov OK, this is great.
Mar 11, 2015 at 9:26 comment added PMessager After creating the dbf from the text, the number of fields increases so I adjusted the Indexes in the poly_curs part into "poly_dict = {x[2]: x[3:] for x in poly_cur}", change "PolyID" to "ID_el" and add a JoinField to update the attributes. Nothing much really.
Mar 10, 2015 at 14:48 comment added Alex Tereshenkov @PMessager, you could make comments about what is wrong/need to be adjusted, so I could edit my answer for other users. To get WKID, please look at this answer: gis.stackexchange.com/a/40959/14435. Just use the loadFromString method of the SpatialReference class. Then get the 'factoryCode` property of the class instance.
Mar 10, 2015 at 12:47 vote accept PMessager
Mar 10, 2015 at 12:44 comment added PMessager Alex, after few minor adjustements, everything worked fine. I have not understood all of it, I need to do some more digging. Would you know how to get the WKID from a SR given thourgh GetParameter as Text?
Mar 9, 2015 at 14:22 history edited Alex Tereshenkov CC BY-SA 3.0
added 135 characters in body
Mar 9, 2015 at 13:28 history edited Alex Tereshenkov CC BY-SA 3.0
added 1055 characters in body
Mar 9, 2015 at 13:18 history answered Alex Tereshenkov CC BY-SA 3.0