2017-10-24 15:24 GMT-03:00 Offray Vladimir Luna Cárdenas
<offray.l...@mutabit.com>:
> Gracias Hernán!
>

No problema :)

> This is working fine. I would like to put the displayed map inside the
> GT playground right panel, to get something similar to what you get when
> you execute "RTMapLocationExample new exampleSeismOnEarth" from a
> playground. Do you have any planned support for that?
>

I know this should be as easy as adding a
<gtInspectorPresentationOrder: ... > pragma

gtInspectorViewIn: composite
    <gtInspectorPresentationOrder: 60>

    composite morph
        title: 'Territorial Map';
        display: [ view build ]

but still I have to investigate how to connect a RTView or TRMorph
with GT inspector

> I could try to use some similar approach to the one I take on the Panama
> Papers choropleth map [1][2] to export some Territorial data for
> visualizations in a light format (120kb file example at: [3]), if you're
> interested.
>
> [1] http://mutabit.com/offray/blog/en/entry/panama-papers-1
> [2] http://mutabit.com/repos.fossil/panama-papers/doc/tip/index.html
> [3] http://mutabit.com/repos.fossil/panama-papers/doc/tip/territories.ston
>

Super! It would be nice to see usage in other scenarios!
Let me know how it goes.

Cheers,

Hernán

> Cheers,
>
> Offray
>
>
> On 23/10/17 23:21, Hernán Morales Durand wrote:
>> Hola Offray,
>>
>> I tried loading in Windows 8.1 and it loads fine using:
>>
>> Metacello new
>>     smalltalkhubUser: 'hernan' project: 'Territorial';
>>     configuration: 'Territorial';
>>     version: #bleedingEdge;
>>     load.
>>
>> Then load TerritorialData-AMCharts-HernanMoralesDurand.2 from the repository.
>>
>> I published some "fixes" related to Spec and Roassal. (I have to
>> review them because I'm porting other packages to Pharo 6.1, but it
>> should work for displaying maps).
>>
>> The following expression displays a window with Colombia departments:
>>
>> TerritorialAMChartsMapsProvider viewHighResCountry: 'Colombia'
>>
>> For a choropleth with a heatmap or centroids have a look at how I did
>> it in PhyloclassTalk in SmalltalkHub, again I should update it to work
>> in Pharo 6.1.
>>
>> Cheers,
>>
>> Hernán
>>
>>
>>
>> 2017-10-23 22:59 GMT-03:00 Offray Vladimir Luna Cárdenas
>> <offray.l...@mutabit.com>:
>>> Hi,
>>>
>>> I would like a choropleth map of Colombian departments [1]. The first
>>> approach would be to use Territorial, but loading it is not working on
>>> Pharo 6.1 (used on Manjaro Linux): It doesn't appears in the Catalog,
>>> Gopher load gives me: "XMLFileException: File does does not exist:
>>> /home/offray/Programas/Pharo/6.1a/Dev24/territorial_files/fao/fao_country_names.xml"
>>> and loading Monticello bleeding edge gives me "FileDoesNotExist: File @
>>> /home/offray/Programas/Pharo/6.1a/Dev24/territorial_files/opengeocode/wc-ASCII.csv".
>>> There is another way to make such choropleth map?
>>>
>>> [1] https://en.wikipedia.org/wiki/Departments_of_Colombia
>>>
>>> Thanks,
>>>
>>> Offray
>>>
>>>
>>>
>
>
>

Reply via email to