Stefan,

If you like I can apply some of the Print/Layout
improvements to SaveImageAsSVGPlugIn.

Rounded/truncated are one problem.
Have you ever tried to save a SVG via SaveImageAsSVGPlugIn
with (WKT) fill patterns on the map enabled?
By now the fill patterns get lost or are replaced
by a simple fill color. I can fix this, too.

- Sascha

Stefan Steiniger schrieb:
> Hei Sascha it is just one file and very very simple code (compared to 
> your plugin):
> 
> org.openjump.core.ui.plugin.file.SaveImageAsSVGPlugIn
> 
> i did not even make it by myself.. i just merged some stuff by two 
> different people
> 
> stefan
> 
> Sascha L. Teichmann schrieb:
>> Hi Guiseppe!
>>
>> Which version of OpenJUMP do you use? 1.2b?
>>
>> We've integrated a tweak to OpenJUMP (Viewport.setJava2DConverter())
>> a while ago to make it possible to have accurate vertices.
>>
>> The Print/Layout plug-in uses this mechanism and so the
>> problem should _not_ appear if you use it with OpenJUMP 1.2b
>> (nightly build)!
>>
>> @stefan: We should apply this improvement to SaveSVG, too.
>>
>> It would be nice if you give a bit more feedback so we can
>> have a look at it.
>>
>> Kind regards, Sascha
>>
>>
>> Stefan Steiniger schrieb:
>>> Hei Guiseppe,
>>>
>>> the problem comes from the screen resolution. The points/objects are 
>>> distorted to enable a faster rendering. For the things you want, one 
>>> needs a specific (new) export tool that does not depend on the screen 
>>> resolution.
>>>
>>> furthermore there is another limit in the tool which is probably also a 
>>> reason for the fact that your symbols are not shown. I introduced a 
>>> number of features per layer limit (i think it is either 1000 or 5000 
>>> features per layer). This limit has been set to avoid that too large svg 
>>> files are written, that can hardly be handled by drawing software.
>>>
>>> btw. i am not sure about a particular solution to your problem. Of 
>>> course we would need to write a new renderer and export tool.. but this 
>>> takes time. Btw. have you tried the other print plugin from Cadplan? 
>>> (see openjump wiki)
>>>
>>> stefan
>>>
>>> Giuseppe Aruta schrieb:
>>>>       Hi Stephan,
>>>> I am an Openjump user, I found very usefull  your tool "Save Image as SVG" 
>>>> which is included in the new versions of the software.
>>>> I tried to use Openjump to make geological maps  on  very large format  
>>>> (A0 and A1). Beeing the maps very large I usualy export them to SVGat the 
>>>> maximun scale.
>>>> By the time that I saved those maps in SVG I discovered that the tool SVG 
>>>> can't export very small siymbols  to their right shape (ex. 5 mm in a A0 
>>>> map -1000x1414 mm) , but only to simple unregular polygons.
>>>> I discover this problem also on the PrintLayout Save to SVG tool (the new 
>>>> version 1.0.1).
>>>> Is this a limit of the SVG java library?  Do you think it is possible to 
>>>> modify the tool in order to have a better SVG layout?
>>>> Thanks you for your replay.
>>>>
>>>> Giuseppe Aruta
>>>> Dipertimento di Scienze della Terra
>>>> Università "G. La Pira" - Firenze
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2 express and take
>>> control of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>> _______________________________________________
>>> Jump-pilot-devel mailing list
>>> Jump-pilot-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to