[JPP-Devel] My Article in the OSGeo Journal

2007-05-15 Thread Sunburned Surveyor
I had the privilege of writing a short, introductory article to spatial relationships for the first article of the OSGeo Journal. You can find the PDF version of the enrire issue here: http://www.osgeo.org/files/journal/final_pdfs/OSGeoJournal_vol1.pdf You can find an extract of my article here:

Re: [JPP-Devel] My Article in the OSGeo Journal

2007-05-15 Thread Larry Becker
Nice work. Larry On 5/15/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote: I had the privilege of writing a short, introductory article to spatial relationships for the first article of the OSGeo Journal. You can find the PDF version of the enrire issue here: http://www.osgeo.org/files/journa

[JPP-Devel] Question about generics...

2007-05-15 Thread Sunburned Surveyor
I'm still having some trouble tracking down the null pointer error in my pluggable renderer code. Is it possible that I could get a null pointer error if I'm not properly using Java Generics in a collection? Does anyone know if there is a good Generics tutorial other than the one found here: htt

[JPP-Devel] Annontations as a Layer?

2007-05-15 Thread Sunburned Surveyor
I've been thinking a little about the "test" I will be writing for my pluggable renderer system and plug-in dependency system. This "test" will be a new plug-in that allows the user to place and manipulate labels on the layer view. The system will be vary simple to start, but could be expanded in t

[JPP-Devel] SVGConvertable Inteface...

2007-05-15 Thread Sunburned Surveyor
I wanted to share some quick thoughts about SVG support in OpenJUMP. I'm a big fan of Inkscape and I think it has the potential to be a great tool for cartographic map design. Why develop a lot of cartographic design or art tools for OpenJUMP when Inkscape already has a great deal of momentum? (Th

Re: [JPP-Devel] SVGConvertable Inteface...

2007-05-15 Thread Martin Davis
Sunburned Surveyor wrote: > I wanted to share some quick thoughts about SVG support in OpenJUMP. > I'm a big fan of Inkscape and I think it has the potential to be a > great tool for cartographic map design. > > Why develop a lot of cartographic design or art tools for OpenJUMP > when Inkscape al

Re: [JPP-Devel] Annontations as a Layer?

2007-05-15 Thread Martin Davis
This approach makes sense, I think. Something similar is done in the Imagery API - an Image is just a Feature with some special attributes, which the Imagery renderer knows how to interpret (display on the screen). The one trick is that if you intend your label boxes to have a coordinate system

Re: [JPP-Devel] Annontations as a Layer?

2007-05-15 Thread Larry Becker
SS, To see an example of a special label class, see the com.vividsolutions.jump.workbench.ui.cursortool.NoteTool class. It is a simplified version of what you are talking about, I think. There is also a custom style called NoteStyle that renders it. No one seems to instantiate this orphaned

Re: [JPP-Devel] Annontations as a Layer?

2007-05-15 Thread Sunburned Surveyor
Thanks for the comments Martin and Larry. Martin wrote: "I would instead look at keeping the label geometry in Feature space - this will be much simpler." This is what I intended. The idea of a "floating label" that stays in place as the user moves the layer view is interesting, but not what I ho

Re: [JPP-Devel] SVGConvertable Inteface...

2007-05-15 Thread Sunburned Surveyor
Martin, Please see my comments below. Martin wrote: "Yeah... this is one way to approach it. But JUMP Layers and Features contains a lot of structured data and metadata which probably isn't available to you once you've crunched everything into Inkscape (they are totally different data models, ar

Re: [JPP-Devel] SVGConvertable Inteface...

2007-05-15 Thread Martin Davis
Ok, this all makes more sense to me now. The question of whether to put the rendering code in the layer or in separate classes is a classic OO conundrum. The problem is if you add another kind of rendering format (say MDVG... 8^) you then have to add yet another set of interfaces and methods o

Re: [JPP-Devel] SVGConvertable Inteface...

2007-05-15 Thread Jan-Oliver Wagner
On Tuesday 15 May 2007 20:45, Sunburned Surveyor wrote: > I wanted to share some quick thoughts about SVG support in OpenJUMP. > I'm a big fan of Inkscape and I think it has the potential to be a > great tool for cartographic map design. not sure whether you tried it yet. With PrintLayoutPlugin yo

Re: [JPP-Devel] SVGConvertable Inteface...

2007-05-15 Thread Sascha L. Teichmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi together, The Print/Layout Plug-in is based on SVG exactly for the reason of being used in a tool chain. It would be of great to have an API that eases the SVG conversion process. I've a lot of ideas how to do it right and I'm willing to assist yo

Re: [JPP-Devel] Annontations as a Layer?

2007-05-15 Thread Michaƫl Michaud
Hi Landon, A question following from your approach is : do you intend to synchronize labeled geographic feature with their "label feature" ? If both features and labels are in a distinct layer, it may be tricky to remove a label when the feature is deleted, or to change the label content when a

Re: [JPP-Devel] SVGConvertable Inteface...

2007-05-15 Thread Sunburned Surveyor
Martin wrote: "The problem is if you add another kind of rendering format (say MDVG... 8^) you then have to add yet another set of interfaces and methods on the various kinds of layers. Better to make the rendering class a sort of Decorator or Visitor or Strategy, I think (I'm sure there's GOF pat

Re: [JPP-Devel] Annontations as a Layer?

2007-05-15 Thread Sunburned Surveyor
Michael, You bring up an excellent point. You wrote: " question following from your approach is : do you intend to synchronize labeled geographic feature with their "label feature" ? If both features and labels are in a distinct layer, it may be tricky to remove a label when the feature is delete

Re: [JPP-Devel] My Article in the OSGeo Journal

2007-05-15 Thread Jonathan Aquino
Bravo! Jon > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Sunburned Surveyor > Sent: Tuesday, May 15, 2007 10:22 AM > To: List for discussion of JPP development and use. > Subject: [JPP-Devel] My Article in the OSGeo Journal > > > I had the