Re: [Plplot-devel] map resolution

2012-10-24 Thread Andrew Ross
On Wed, Oct 24, 2012 at 02:38:41PM -0700, Alan Irwin wrote: > On 2012-10-24 20:09+0100 Andrew Ross wrote: > > >> If everybody is satisfied that forcing shapelib dependency for plmap > >> is only a matter of time, then what remains is the decision about > >> when/how to force that dependency. In th

Re: [Plplot-devel] map resolution

2012-10-24 Thread Alan W. Irwin
On 2012-10-24 20:09+0100 Andrew Ross wrote: >> If everybody is satisfied that forcing shapelib dependency for plmap >> is only a matter of time, then what remains is the decision about >> when/how to force that dependency. In this case, I think we should >> deprecate now in a realistic way. That i

Re: [Plplot-devel] map resolution

2012-10-24 Thread Andrew Ross
On Wed, Oct 24, 2012 at 10:26:48AM -0700, Alan Irwin wrote: > Hi Andrew and Phil: > > On 2012-10-24 09:36+0100 Andrew Ross wrote: > > > On Tue, Oct 23, 2012 at 06:11:51AM -0700, phil rosenberg wrote: > > >> I hadn't noticed the missing Antarctica boundary section, I'm not > sure why it should be

Re: [Plplot-devel] map resolution

2012-10-24 Thread Alan W. Irwin
Hi Andrew and Phil: On 2012-10-24 09:36+0100 Andrew Ross wrote: > On Tue, Oct 23, 2012 at 06:11:51AM -0700, phil rosenberg wrote: >> I hadn't noticed the missing Antarctica boundary section, I'm not sure why it should be missing, in one but not the other, but if I'm honest I'm not going to lose

Re: [Plplot-devel] map resolution

2012-10-24 Thread Andrew Ross
On Tue, Oct 23, 2012 at 06:11:51AM -0700, phil rosenberg wrote: > Thanks Alan > I hadn't noticed the missing Antarctica boundary section, I'm not sure why it > should be missing, in one but not the other, but if I'm honest I'm not going > to lose too much sleep if you intend to depreciate the old

Re: [Plplot-devel] map resolution

2012-10-23 Thread phil rosenberg
. For any Hitchhikers Guide fans out there Norway has a prize winning coast if memory serves correct.   Phil     From: Alan W. Irwin To: Andrew Ross Cc: phil rosenberg ; "plplot-devel@lists.sourceforge.net" Sent: Monday, 22 October 2012, 22:13 Subjec

Re: [Plplot-devel] map resolution

2012-10-22 Thread Alan W. Irwin
On 2012-10-22 20:37+0100 Andrew Ross wrote: > > Phil, > > This all seems to work fine to me. I can't reproduce your bug with the old > code, but I suspect I'm not using the right lat / lon and / or map file. > The examples all work fine with your new code though. > > I've committed the changes to

Re: [Plplot-devel] map resolution

2012-10-22 Thread Andrew Ross
> > From: Alan W. Irwin > To: Andrew Ross > Cc: phil rosenberg ; > "plplot-devel@lists.sourceforge.net" > Sent: Friday, 12 October 2012, 7:20 > Subject: Re: [Plplot-devel] map resolution > > On 2012-10-11 22:59+0100 Andrew

Re: [Plplot-devel] map resolution

2012-10-11 Thread Alan W. Irwin
On 2012-10-11 22:59+0100 Andrew Ross wrote: [Phil said] >> My fallback strategy will be to create a globe.shp, etc based on the >> contents of globe.map I was just waiting for the code to be tested before I >> did it. I think this is the "method of least surprise." If a user selects to >> use s

Re: [Plplot-devel] map resolution

2012-10-11 Thread Andrew Ross
Cheers > ? > Phil > > > > From: Andrew Ross > To: phil rosenberg > Cc: "plplot-devel@lists.sourceforge.net" > Sent: Wednesday, 10 October 2012, 21:38 > Subject: Re: [Plplot-devel] map resolution > > > > Phil, > > Thanks for your patch

Re: [Plplot-devel] map resolution

2012-10-11 Thread phil rosenberg
ubject: Re: [Plplot-devel] map resolution Phil, Thanks for your patch. A great start. I've got a few comments. To get it to compile on Linux required a couple of changes: 1) Debian installs the include file shapefil.h in /usr/include not in a shapelib subdirectory. Changing the #inclu

Re: [Plplot-devel] map resolution

2012-10-10 Thread Andrew Ross
;s relatively > little effort to do - discus!!! > ?? > Let me know if the patch works for you. > ?? > Phil > > > > > From: Alan W. Irwin > To: phil rosenberg > Cc: "plplot-devel@lists.sourceforge.net" > ; Andr

Re: [Plplot-devel] map resolution

2012-10-08 Thread phil rosenberg
nberg Cc: "plplot-devel@lists.sourceforge.net" ; Andrew Ross Sent: Friday, 5 October 2012, 21:38 Subject: Re: [Plplot-devel] map resolution By the way, I looked for a shapefile viewer on Debian and found thuban. I don't know whether that is the best shapefile viewer for Linux

Re: [Plplot-devel] map resolution

2012-10-05 Thread phil rosenberg
le to put it to bed and spend some time on the maps. Phil From: Alan W. Irwin To: phil rosenberg Cc: "plplot-devel@lists.sourceforge.net" ; Andrew Ross Sent: Friday, 5 October 2012, 21:38 Subject: Re: [Plplot-devel] map resolution By the

Re: [Plplot-devel] map resolution

2012-10-05 Thread Alan W. Irwin
By the way, I looked for a shapefile viewer on Debian and found thuban. I don't know whether that is the best shapefile viewer for Linux, but it is based on libgda/ogr. When I tried thuban on overall shapefile maps for British Columbian (obtained by following links at http://downloads.cloudmade.co

Re: [Plplot-devel] map resolution

2012-10-05 Thread Alan W. Irwin
On 2012-10-05 05:56-0700 phil rosenberg wrote: > So in terms of implimentation, what would be the way ahead? If the intention would be to eventually replace the current maps with shapefile versions then are we happy that the core API will have a dependancy on shapelib (presumably the only alternat

Re: [Plplot-devel] map resolution

2012-10-05 Thread phil rosenberg
questions.   Phil From: Alan W. Irwin To: phil rosenberg Cc: Andrew Ross ; Hezekiah M. Carty ; "plplot-devel@lists.sourceforge.net" Sent: Friday, 5 October 2012, 0:14 Subject: Re: [Plplot-devel] map resolution On 2012-10-04 12:58-0700 phil rosen

Re: [Plplot-devel] map resolution

2012-10-04 Thread Alan W. Irwin
On 2012-10-04 12:58-0700 phil rosenberg wrote: > I just want to double check that shapefile really the correct format to use for the built in maps. The only concern I have is that it may be slow and memory hungry to read the files because the file only specifies min/max x/y for the entire file. If

Re: [Plplot-devel] map resolution

2012-10-04 Thread phil rosenberg
can't be a bad thing to ensure the map files load quickly and use as little ram as possibles.   Phil From: Alan W. Irwin To: Andrew Ross Cc: Hezekiah M. Carty ; "plplot-devel@lists.sourceforge.net" ; phil rosenberg Sent: Wednesday, 3 October

Re: [Plplot-devel] map resolution

2012-10-03 Thread Alan W. Irwin
On 2012-10-03 12:40+0100 Andrew Ross wrote: > Alan, > > Certainly my take on this was that I was envisaging only using this > support for behind the scenes improvements to plmap, not reproducing > a general interface to shapelib / ogr / gdal etc. There is no point > reproducing the wheel, particul

Re: [Plplot-devel] map resolution

2012-10-03 Thread Andrew Ross
On Tue, Oct 02, 2012 at 02:51:34PM -0700, phil rosenberg wrote: > Hi All > I just downloaded shapelib and it builds with no difficulties at all on > Windows. It?seems to be?written in "pure" C so it is just a case of compiling > and linking the files - no build system is necessary as such. In les

Re: [Plplot-devel] map resolution

2012-10-03 Thread Andrew Ross
On Wed, Oct 03, 2012 at 02:48:11AM -0700, Alan Irwin wrote: > On 2012-10-02 22:24-0400 Hezekiah M. Carty wrote: > > > I've used PLplot to plot a lot of data on maps, including mixing data > > from shapefiles and other sources. Based on my experience I think we > > may be going off in the wrong di

Re: [Plplot-devel] map resolution

2012-10-03 Thread Alan W. Irwin
On 2012-10-02 22:24-0400 Hezekiah M. Carty wrote: > I've used PLplot to plot a lot of data on maps, including mixing data > from shapefiles and other sources. Based on my experience I think we > may be going off in the wrong direction here. Hi Hez: In order to be sure we understand the rest of

Re: [Plplot-devel] map resolution

2012-10-02 Thread Hezekiah M. Carty
Sorry for the duplicate message - I didn't use the proper From address for the mailing list in my previous send. On Tue, Oct 2, 2012 at 7:41 PM, Alan W. Irwin w= rote: > Hi Phil: > > On 2012-10-02 14:51-0700 phil rosenberg wrote: > >> Hi All >> >> There have been quite a few options thrown into t

Re: [Plplot-devel] map resolution

2012-10-02 Thread Maurice LeBrun
On Tuesday, October 2, 2012 at 16:41:43 (-0700) Alan W. Irwin writes: > Hi Phil: > > On 2012-10-02 14:51-0700 phil rosenberg wrote: > [snip] > > 3) Do either 1) or 2) but also provide an interface for loading a standard > > file format (presumably shapefiles via shapelib?). > > Al

Re: [Plplot-devel] map resolution

2012-10-02 Thread Alan W. Irwin
Hi Phil: On 2012-10-02 14:51-0700 phil rosenberg wrote: > Hi All > I just downloaded shapelib and it builds with no difficulties at all on Windows. It seems to be written in "pure" C so it is just a case of compiling and linking the files - no build system is necessary as such. In less than an h

Re: [Plplot-devel] map resolution

2012-10-02 Thread Davide Cesari
On 01/10/2012 22:38, Alan W. Irwin wrote: >> On Mon, Oct 01, 2012 at 10:09:31AM +0200, Davide Cesari wrote: >>> [...]Hello to everybody, >>> please note that shapelib is part of the OSGEO4W installation, >>> >>> https://trac.osgeo.org/osgeo4w/ >>> >>> which is currently the official and sup

Re: [Plplot-devel] map resolution

2012-10-01 Thread Alan W. Irwin
> On Mon, Oct 01, 2012 at 10:09:31AM +0200, Davide Cesari wrote: >> [...]Hello to everybody, >> please note that shapelib is part of the OSGEO4W installation, >> >> https://trac.osgeo.org/osgeo4w/ >> >> which is currently the official and supported way to install shapelib >> (and to build

Re: [Plplot-devel] map resolution

2012-10-01 Thread Alan W. Irwin
On 2012-09-30 14:41-0700 phil rosenberg wrote: > Hi Alan > I was just considering that one negative brought up regarding supporting > shapefiles was the addition of extra dependencies. I sometimes feel (probably > wrongly) that if only a basic bit of functionality is needed then it's easier > t

Re: [Plplot-devel] map resolution

2012-10-01 Thread Andrew Ross
On Mon, Oct 01, 2012 at 10:09:31AM +0200, Davide Cesari wrote: > > On 30/09/2012 23:41, phil rosenberg wrote: > > Hi Alan > > I was just considering that one negative brought up regarding supporting > > shapefiles was the addition of extra dependencies. I sometimes feel > > (probably wrongly) that

Re: [Plplot-devel] map resolution

2012-10-01 Thread Davide Cesari
-- > *From:* Alan W. Irwin > *To:* phil rosenberg > *Cc:* "plplot-devel@lists.sourceforge.net" > > *Sent:* Sunday, 30 September 2012, 0:52 > *Subject:* Re: [Plplot-devel] map resolution > > > > But do you really want to re-implement a shapefile parser? The MIT or &

Re: [Plplot-devel] map resolution

2012-09-30 Thread phil rosenberg
__ From: Alan W. Irwin To: phil rosenberg Cc: "plplot-devel@lists.sourceforge.net" Sent: Sunday, 30 September 2012, 0:52 Subject: Re: [Plplot-devel] map resolution But do you really want to re-implement a shapefile parser? The MIT or LGPL dual-licensed shapelib library (se

Re: [Plplot-devel] map resolution

2012-09-29 Thread Alan W. Irwin
On 2012-09-28 14:25-0700 phil rosenberg wrote: > Looking again at the wikipedia shapefile page, the format seems pretty easy > to read. The three files that it says are required are the .shp, shx and > .dbf. The .shp is just a file header, then multiple records, each with a > header specifying

Re: [Plplot-devel] map resolution

2012-09-27 Thread Andrew Ross
On Thu, Sep 27, 2012 at 09:37:34AM -0700, Alan Irwin wrote: > On 2012-09-27 13:36+0200 Arjen Markus wrote: > > > On 2012-09-27 13:35, Andrew Ross wrote: > >> > >> Of course we could keep the current code as well and only enable > >> shapefile support if the library is present. Shapefile support wo

Re: [Plplot-devel] map resolution

2012-09-27 Thread Alan W. Irwin
On 2012-09-27 13:36+0200 Arjen Markus wrote: > On 2012-09-27 13:35, Andrew Ross wrote: >> >> Of course we could keep the current code as well and only enable >> shapefile support if the library is present. Shapefile support would >> be convenient for users. >> > > Actually, that is what I had in m

Re: [Plplot-devel] map resolution

2012-09-27 Thread Arjen Markus
HI andrew, On 2012-09-27 13:35, Andrew Ross wrote: > There are such libraries (Phil mentioned one). We could use these, it > just introduces another dependency on the core of plplot for what is > a relatively minor feature. Currently the plplot core and some basic > drivers can be compiled with a

Re: [Plplot-devel] map resolution

2012-09-27 Thread Andrew Ross
There are such libraries (Phil mentioned one). We could use these, it just introduces another dependency on the core of plplot for what is a relatively minor feature. Currently the plplot core and some basic drivers can be compiled with almost no dependencies. For testing, porting to new systems

Re: [Plplot-devel] map resolution

2012-09-27 Thread Arjen Markus
Hi Andrew, Phil, On 2012-09-26 16:52, Andrew Ross wrote: > > I took a look at the shapefile format. My personal take is that this > might be a little over the top. Strictly it requires 3 files including > information like projections etc. Seems more than we need. > On the other hand, the shape

Re: [Plplot-devel] map resolution

2012-09-26 Thread Andrew Ross
On Fri, Sep 21, 2012 at 05:14:30AM -0700, phil rosenberg wrote: > In many respects I agree. Plplot isn't a mapping tool and I could just get > some outline data and plot it as a series of lines. As you say, when zoomed > in the map projections make little difference. > > The stuff I'm doing at t

Re: [Plplot-devel] map resolution

2012-09-21 Thread phil rosenberg
s.sourceforge.net" Sent: Friday, 21 September 2012, 10:24 Subject: Re: [Plplot-devel] map resolution Phil, I appreciate your problems Phil. The mapping functions are a bit of a half way house. Plplot doesn't (and I think shouldn't) provide full mapping tools. That's a dif

Re: [Plplot-devel] map resolution

2012-09-21 Thread Andrew Ross
lts, but > maybe if the devs would consider allowing a 3 or 4 byte per point format the > results would be much improved. > Phil > > > > > From: phil rosenberg > To: Andrew Roach > Sent: Thursday, 13 September 2012, 16:04 >

Re: [Plplot-devel] map resolution

2012-09-13 Thread phil rosenberg
devs would consider allowing a 3 or 4 byte per point format the results would be much improved. Phil From: phil rosenberg To: Andrew Roach Sent: Thursday, 13 September 2012, 16:04 Subject: Re: [Plplot-devel] map resolution Unfortunately after a significant

Re: [Plplot-devel] map resolution

2012-09-13 Thread phil rosenberg
sday, 13 September 2012, 12:13 Subject: Re: [Plplot-devel] map resolution At 03:53 AM 13/09/2012 -0700, you wrote: > Hi all > I was just wondering what the format of the plPlot map files is? The maps > included in plPlot are rather low resolution so wondered if it was possible >

Re: [Plplot-devel] map resolution

2012-09-13 Thread Andrew Roach
At 03:53 AM 13/09/2012 -0700, you wrote: >Hi all >I was just wondering what the format of the plPlot map files is? The maps >included in plPlot are rather low resolution so wondered if it was >possible for me to download more detailed ones form somewhere? > >Phil It was the CIA World DataBank m

[Plplot-devel] map resolution

2012-09-13 Thread phil rosenberg
Hi all I was just wondering what the format of the plPlot map files is? The maps included in plPlot are rather low resolution so wondered if it was possible for me to download more detailed ones form somewhere?   Phil-- L