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_at_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_at_urbansim.org
> http://www.urbansim.org/mailman/listinfo/users
>
>
This archive was generated by hypermail 2.2.0 : Fri May 09 2008 - 13:36:50 PDT