Hi Geoffrey,
As far as I know SVG images are vector graphics so therefore are not
"at a scale" and hence resolution is not an issue.
You are right, this should only be a printing problem.
However, in OpenJUMP, rendering process uses screen coordinates, and it may
make things difficult for the end user to know how to print at a desired
scale.
As far as I understood (I'm not a printing nor an svg expert), rendering
svg with
openjump uses a Batik routines which print vectors to the screen Coordinate
system rather than to the original Coordinate system (can probably be
changed,
did not try this way). After that, Inkscape uses a default setting
making it easy to
transform pixel coordinates to paper coordinates (change pixels to
millimeters
using a default 90 ppi resolution).
As I explain it, I think that it would be a better approach to apply an
affine
transform before rendering svg, to print it directly in millimeters at
the desired
scale (I suppose units can be set in a svg document), but I don't know
what is
possible to do with batik.
The appearance of the image depends on the viewer chosen and such any
scaling is done at the viewer end. As you point out there may have
been some "rounding" at the creation stage, but after that it is up to
he viewer to produce the image at the required size. This was the
point I tried to make to Andrei.
About rounding : the issue is related to the fact that the Svg routine
uses the
same graphic pipeline as the one to print to screen (which includes a
decimator
to make things faster). The decimator rounds coordinates to 1/2 pixel,
and for
svg, I changed this value to 0.001, but it may have been a better idea
to scale
the whole svg rendering process to have real world coordinates or
millimeters
coordinates at the desired scale (maybe your approach in Printer PlugIn)
Hope this makes sense,
Michaël
Am I correct?
Geoff
On 6/04/2013 5:21 PM, Michaël Michaud wrote:
Hi Geoff,
Thank you for the improvement, I'll include 1.85 for OpenJUMP 1.6
release.
On another topic, I don't know if you followed the topic on SVG export.
Andrei Nacu made some tests on svg printing with OpenJUMP Core and
with Jump printer
There were problems with the output resolution and with the output scale
I could solve some problems for OpenJUMP core svg export
(I temporarily change the output resolution and the decimation
parameter) :
http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/src/org/openjump/core/ui/plugin/file/SaveImageAsSVGPlugIn.java?view=log&pathrev=3420
According to Andrei, scale problem also exist in JumpPrinter (and
maybe the resolution problem too) :
http://www.mail-archive.com/jump-pilot-devel@lists.sourceforge.net/msg13031.html
http://www.mail-archive.com/search?l=jump-pilot-devel@lists.sourceforge.net&q=subject:%22Re%3A+[JPP-Devel]+Screen+Scale+and+SVG+Output+Scale%22
Michaël
Dear All
Re: Printer Plugin
I have found the problem with the colour patches in the Layer Legend
when colour themeing is used, but not the reasons why it has occurred.
I have posted an updated JumpPrinter.jar that will now always solid
fill the colour patches in the LayerLegend. I am not sure why I had
orginally allowed for a pattern fill, as if themeing is used then
the fill might be expected to be a solid fill.
For some reason (which I don't fully understand) the
"themeStyle.getAttributeValueToBasicStyleMap();" seems to return a
hatched pattern (WKT type) from a layer with a themeing style. I am
not sure whether this has occurred with a recent release (I am
currently using 1.5.2) or whether it has always been a bug and just
not reported/identified. It also occurs after the Properties dialog
has been used for the first time.
Please report any other bugs.
Geoff
On 4/04/2013 3:59 PM, Arnd Kielhorn wrote:
Hello Michael,
as You can see in the legend symbols within the screenshots from
Emil there are some some symbol having a hachure and some not. But
I am sure that the legend in the laer panel have not any hachure
style. I often have this problem.
Arnd
Hi,
Hello Emil,
You can edit the minimum and maximum values and the labels in
the table of color theming dialog. After that You choose the
right mouse click on the layer in the right layer panel, choose
copy style and than select the other layer which You want to
style in the same scheme and make again a right mouse click on
the layer and choose paste style. When You always work in
project You do not loose Your style and You can copy and paste
styles between different openend projects.
Good tip Arnd,
As I just realized in Your attached screenshot You also have a
problem with partially hachured legend. I often have the same
problem and I found no workaround for it. May be some others
have a solution.
Can you clarify what the problem exactly is, please,
Regards,
Michaël
Kindly regards
Arnd
*Gesendet:* Mittwoch, 03. April 2013 um 13:07 Uhr
*Von:* "Emil Fast" <emilmathias.f...@gmail.com>
*An:* jump-pilot-devel@lists.sourceforge.net
*Betreff:* [JPP-Devel] Colourtheming problems
Dear all,
I'm doing a study of the geographic distribution of
tuberculosis in Indonesia, using OpenJump.
I've encountered a problem, and if you would have time to help
it would be greatly appreciated.
I want to make two maps with the case notification rate, from
year 2007 and 2011 to compare the progress.
However, when I do the colour theming, I can't find a way to
set my own values. To be able to get a clear impression of any
change, there should be the same colourtheming scale for both
years, otherwise it's not possible to interpret them by colour.
For instance, setting the colourtheming interval to 0-100,
101-200, 201-300 etc in both maps. With the methods I've tried,
for instance equal interval and Jenks optimal, the data is
divided so the maps looks almost exactly the same, even though
there are some substantial differences. I've attached two
drafts so you'll get an idea. As you can see they look very
similar at first glance, but when you look at the legend you
can tell the difference in colourtheming.
Is it a way to work that out, to set the colourtheming interval?
Kind regards
Emil Fast
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
--
Dr Geoffrey G Roy
Cadplan
129 Gloster Street, Subiaco WA 6008
Tel: (08) 9381 4870 Mob: 04000 31298
Email:ge...@cadplan.com.au
http://www.cadplan.com.au
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
--
Dr Geoffrey G Roy
Cadplan
129 Gloster Street, Subiaco WA 6008
Tel: (08) 9381 4870 Mob: 04000 31298
Email:ge...@cadplan.com.au
http://www.cadplan.com.au
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel