convert shape file to matrix

30 views
Skip to first unread message

Suhad Faisal

unread,
Oct 10, 2014, 1:28:09 PM10/10/14
to gama-p...@googlegroups.com
Hello 

please I need to read  .shp file as  matrix in my model


cheers
Suhad

Benoit Gaudou

unread,
Oct 10, 2014, 1:56:19 PM10/10/14
to gama-p...@googlegroups.com
Sorry if I am rude, but is it not the third time you ask the same question (actually it is not even a question... ) in this list ?
In addition, Srirama spent time to answer you.
"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."
Have you even tried this solution ? Once you have the agents, you can create at hand a matrix from the agents.

Although, you have questions about shapefile. Have you even had a look at the documentation about the particular kinds of files that are shapefiles ? It shows how access to each polygon of shapefile and to their attributes.

Benoit



--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, 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.

Suhad Faisal

unread,
Oct 10, 2014, 3:56:56 PM10/10/14
to
Thank you Benoit , but when modeler stuck in somewhere with unknown error, will repeat questions even if others consider it silly questions

I will follow & review all notes from the start 






cheers
Suhad

On Fri, Oct 10, 2014 at 7:55 PM, Benoit Gaudou <benoit...@gmail.com> wrote:
Sorry if I am rude, but is it not the third time you ask the same question (actually it is not even a question... ) in this list ?
In addition, Srirama spent time to answer you.
"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."
Have you even tried this solution ? Once you have the agents, you can create at hand a matrix from the agents.

Although, you have questions about shapefile. Have you even had a look at the documentation about the particular kinds of files that are shapefiles ? It shows how access to each polygon of shapefile and to their attributes.

Benoit


2014-10-10 19:28 GMT+02:00 Suhad Faisal <suha...@gmail.com>:
Hello 

please I need to read  .shp file as  matrix in my model


cheers
Suhad

--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platform+unsubscribe@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.

--
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/ZgTLSwOp3j0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gama-platform+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages