[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: Europe maps
Pau Salsas wrote:
> Uli, thanks a lot for your help.
> >You can produce maps with the boundary-file anyway if you set up the
> > master data by hand.
> I don't know how to do this.
Use the Stata Program -mif2dta- to produce the boundary dta File.
To produce the nonsens master file simply proceed as follows
. set obs <number>
where <number> is the number of polygons in the boundary file.
. gen id = _n
This makes the idenitier variable which correspond to the _ID variable in the
. gen xyz = uniform()
This makes an arbitrary quantitative variable to be drawn in the map.
. tmap choropleth xyz, id(id) map(boundary-file)
This produces the arbitrary non-sense map ...
> >We made an arbitrary nonsense master file and got a nice European map (as
> > long as you don't mind that Turkey is not fully drawn).
> Could you send those *.dta over? Thanks.
No. We just tried it out and decided not to follow this path. Mainly because
the boundary file did not contain Turkey. We did not kept a copy of it.
> Is there a way of buying other mif and mid maps?
I don't know.
> -----Original Message-----
> From: Ulrich Kohler [mailto:email@example.com]
> Sent: 20 April 2005 10:35
> To: firstname.lastname@example.org
> Subject: Re: st: tmap-Europe
> Pau Salsas wrote:
> > I have read about the convenient tmap command (by Maurizio Pisati).
> > I am interested in geographic displays for political EU-25 (including the
> > 10 New Member States). However, I am unable to find the relevant *.mif
> > and *.mid files. Is this something that is publicly available or we need
> > to buy it?. If so, where does one buy this and what is exactly required
> > (i.e. do I have to ask only for the *.mif and *.mid data files of
> > Europe?).
> We have found a *.mif and *.mid file on the somewhat suspicous side
> and we were also able to produce a map with tmap from that files. However
> note that -mif2dta- gives an error message after producing the
> boundary-file. That is, the master-file is not produced. Somewhat seems to
> be wrong with the mid file from the side above.
> You can produce maps with the boundary-file anyway if you set up the master
> data by hand. We made an arbitrary nonsense master file and got a nice
> European map (as long as you don't mind that Turkey is not fully drawn).
> Getting a real master file is somewhat more complicated, as there are above
> 2000 polygons (mainly because of the many islands at the norwegian coast)
> in the boundary file and one somehow needs to find out which polygons
> belongs to one country.
+49 (030) 25491-361
* For searches and help try: