This is how I solved the problem: all my svg are enclosed in an
object tag which can display alternative text when there is no
plugin assigned to the image/svg+xml tag.
I don't use html/svg mixed coding, so it works perfectly for me. I
have not tried myself, but apparently if you need to be
Hi,
I still need some more help for my diploma. Does anyone know where I
can find serious svg-applications besides cartographical ones? I
think of things like booking systems for airlines ore cinemas, of
which I know they exist but can't find them. I'm also happy about any
tips where svg is
Is there any way to open a window from within an SVG with window.open
and then access the SVG in the main window from the opened child
window?
i tried to use window.opener for this but i am not able to access SVG
elements (although i can retrieve the window.name with it).
Here is some code:
GIS-databases are databases that have geometry types, so next to the standard
things such as integer, float, you can store stuff as polygon, line, etc... Of
course you could build geometry using relational tables of just floats (for the
coordinates) and some people have, but having specialised
Alwinovicz,
Generally speaking, there is no reason to use SVG where html works better, and
html works very well at forms and text rendering.
Where svg is useful is in applications involving contextual information
delivered visually. This is of course why GIS has been quick to adapt SVG
as
Hello!
I apologize in advance if I am asking the same question again. Is there any
Java based tool which can translate (e.g. via Java API calls ) raster image
formats (JPEG, PNG) into SVG? The idea is: Since SVG graphic images are
compact than PNG, JPEG; so if a mobile device support SVG then
Take a look at autotrace.
It is written in C, but does what you are suggesting. There is a web interface
to it here:
http://www.roitsystems.com/cgi-bin/r2v/tracer.pl
You will find, however, that raster-to-svg cthe images that autotrace
generates offer less than a 50% packing compared to the
Hi,
I'd suggest you have a look at the SVG.Open proceedings (http://www.svgopen.org
/) for the use of SVG-Applications.
Besides GIS/Mapping SVG is also strong (and used) in interactive (scientific)
visualization. Also in reporting systems (charts, diagrams, table, flowcharts),
E-Learning
That would be nice indeed, but not so easy to implement since a
transformed rectangle is not necessarily a rectangle. The result
could be expressed only as four points or as a general polygone with
4 corners. Only when translating, scaling or rotating by a multiple
of 90 degrees the result
thx bart,
stupid me, stick to my cartesian coordinate systems i wasn't thinking
that it could also be rotated and skewed, i need only scale and
translate for my stuff!
andré
bstuycke wrote:
That would be nice indeed, but not so easy to implement since a
transformed rectangle is not
Examples of real SVG applications:
1. Annotation program for annotating images/ads/etc using client side
scripting and SVG.
2. MathML to SVG converter for marking up mathmatical calculations
for print.
3. Microsoft Visio imports/export SVG.
4. Carto based solution for U.S. military.
Cheers,
Hi all,
I have rectangles in my svg document, and i have defined
the style of the rectangle in a seperate style sheet(.css). I wanted to
change the stroke color of the rectangle programatically. I tried
assigning the stroke property as:
rect= document.getElementById(Element ID);
I'm making a web site, I want to protect the svg file wich appear to
the site.
Wow can I do ?
Thinks
Laurent
Yahoo! Groups Sponsor ~--
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
Hi, Laurent-
| I'm making a web site, I want to protect the svg file wich
| appear to the site.
| Wow can I do ?
There are ways of making it harder for someone to get at your code, but the
reality is that it's not normally worth the bother. There's an article on
SVG-Wiki about this:
The CSS styles override the equivalent attributes.
That's why I normally use CSS for the styles that won't change and attributes
for the styles I plan to modify. This works quite well if you have only one or
two attributes to change. For example,
style
.box { fill: blue; stroke-width: 1px; }
Hi Ruud,
Thanks for your observation that SVG is becoming 'part of the mix'.
That's a healthy sign. I guess some of get too focused on SVG alone.
But ;), I must say that anyone who attempts to provide data-
generated graphics, must use SVG exclusively, with its natural
linkage to XML.
I
Hi Laurent,
The Show Source of the Adobe SVG Viewer will provide the initially
loaded SVG document. If the document is then propagated, via loading
elements at the client, then it will not display your SVG elements.
What this means is, that if you use XML to create your SVG elements at
the
Hi Alwinovicz,
I recently loaded a most-serious svg-application on our site. It
tracks, in real-time, the spread of Avian Influenza across the globe.
See: http://www.mobiusPortal.com
I'll be glad to assist you in documenting the process for you diploma,
Francis
Alwinovicz Wrote,
I still need
Hi Fuliopen,
Since you said you would like to add code to do this then try this
method:
Give your circle an id
circle id=myCircle cx=100 cy=100 r=80 stroke=black stroke-
width=2
fill='red' /
Then use getBBox() stuff to build and locate a rectangle(it'll be
square for a circle).
Then
I have use the following in the HEAD and it works nicely in IE
script language=JavaScript
var hasSVGSupport = false;
var useVBMethod = false;
if (navigator.mimeTypes != null navigator.mimeTypes.length 0) {
if (navigator.mimeTypes[image/svg-xml] != null)
hasSVGSupport =
I guess I should provide the svgDownload.html so you can have some
idea on how to help your user get this damn thingy loaded:
html
body
center
table
tr
td
Welcome to the SVG Experience! Adobe's SVG Viewer* will provide
crystal clear images that can be zoomed amp; panned.p
/td
/tr
td
bAfter the
Try this:
rect= document.getElementById(Element ID);
style=rect.getStyle()
style.setProperty(stroke, myColor)
Francis
--- In svg-developers@yahoogroups.com, sent1729 [EMAIL PROTECTED]
wrote:
Hi all,
I have rectangles in my svg document, and i have
defined
the style of the
Some of my friends have managed to meet a few nice ones off this thing (here is
the place they told me: http://www.amuseinn.info/wyfnf , but what do you guys
reckon? Myself, I actually think it is pretty awesome from what I've seen,
and Im considering getting on there later on this evening.
Hi-
| Try this:
| rect= document.getElementById(Element ID);
The original poster should note that Element ID is not a legal id value.
An id can't contain spaces, and can only have the characters A-Z, a-z, 0-9,
- and _. It must start with a letter.
| style=rect.getStyle()
|
24 matches
Mail list logo