read shape file as matrix

33 views
Skip to first unread message

Suhad Faisal

unread,
Oct 10, 2014, 7:57:12 AM10/10/14
to gama-p...@googlegroups.com
hello 

can I read shape file as matrix in Gama ? 

cheers
suhad

Srirama Bhamidipati

unread,
Oct 10, 2014, 8:15:38 AM10/10/14
to gama-p...@googlegroups.com

And why would you want to do that ?

Suhad Faisal

unread,
Oct 10, 2014, 8:27:04 AM10/10/14
to gama-p...@googlegroups.com
well I have a shape file and I want to treat its data , since when it was as csv, the spatial coordinates were not compatible with my world, so I convert the coordination system , then I have shp file, to obtain the compatibility, between this file and my world coordination









On Fri, Oct 10, 2014 at 2:15 PM, Srirama Bhamidipati <b.sr...@gmail.com> wrote:

And why would you want to do that ?

--
You received this message because you are subscribed to a topic in the Google Groups "GAMA" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gama-platform/IwRWAXawsyk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gama-platfor...@googlegroups.com.
To post to this group, send email to gama-p...@googlegroups.com.
Visit this group at http://groups.google.com/group/gama-platform.
For more options, visit https://groups.google.com/d/optout.

Srirama Bhamidipati

unread,
Oct 10, 2014, 8:37:15 AM10/10/14
to gama-p...@googlegroups.com
You can just import the shapefile with its data directly. Please see the examples, on creating agents with shapefile attributes. The code that goes in the  square brackets. if you know how a shapefile works, you can also bring in data (with coordinates) from its dbf file saved as csv. 

regards,
Srirama

Suhad Faisal

unread,
Oct 10, 2014, 8:55:59 AM10/10/14
to gama-p...@googlegroups.com
yes dear Srirama I use the .dbf  file and convert it to csv but it didn't work like shp one 
Reply all
Reply to author
Forward
0 new messages