Liming,
Thank you for your response. I tried many times to have the same results like the yours but without success. I used the scale you advise me, I attached the map.
I noticed that the problem is posed only for the cities with the great number of jobs (more than 50000), isn't this related to the type of some variables? I used "int32" for my indicator in the city dataset.
I countinu to explore my problm, thank you for your help.
Hakim
----- Message d'origine ----
De : Liming Wang <lmwang@u.washington.edu>
À : hakim.ouaras@u-cergy.fr
Cc : users@urbansim.org
Envoyé le : Vendredi, 9 Mai 2008, 21h28mn 38s
Objet : Re: [UrbanSim-Users] Problem of Map view
Hakim,
The negative value in the legend is supposed to be used to distinguish the null value background (and waterbody) from real values. However, I'm a little bit puzzled why it shows up in the middle of your map, and I cannot replicate your results on my computer -- I attached the city number of jobs indicator I created for eugene 1982, and I used this indicator specification:
Map(
attribute = 'numer_of_jobs=city.aggregate(urbansim.gridcell.number_of_jobs)',
#scale = [1, 60000],
dataset_name = 'city',
source_data = source_data,
),
BTW, you can try add a scale argument to the matplotlib Map indicator: "scale = [1, 60000]" and if it helps.
Liming.
On Fri, May 9, 2008 at 11:23 AM, Hakim OUARAS <hakim.ouaras@u-cergy.fr> wrote:
Hello,
I tried to view some indicators by the "Matplotlib indicator", it works
correctly with dataset gridcell, on the other hand I have bizarre results
when I use the datasets city or county.
The problem is that when I compute a positive variables like population or
number_of_jobs I get a negative values according to the scale used.
I noticed the same problem with the Eugene database.
I attached two files one for Eugene computed at the city level the other for
Paris region at county level.
Can any one explain me how are computed and viewed these maps?
Why are there a negative values? Is it a problem of aggregation, knowing
that the results of "Tab-separated indicator" are correct? Or is it just a
way of viewing?
Thank you for your suggestions.
Hakim
_______________________________________________
Users mailing list
Users@urbansim.org
http://www.urbansim.org/mailman/listinfo/users
__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités
http://mail.yahoo.fr Yahoo! Mail
This archive was generated by hypermail 2.2.0 : Sat May 10 2008 - 07:56:16 PDT