Hi Erik,
OpenMap supports OMGraphics that are made up of x/y coordinates relative
to a lat/lon point. Extending on that idea, you can also create custom
OMGraphics that draw on the map any way you want, made up of
OMGraphicLists and containing several OMGraphics, each drawn any way you
want.
So it comes down to decoding your Vector format to create your basic,
unlocated version, have a clone method on it, and then assign a clone a
lat/lon point when your point information comes through.
This can be done on pretty much any version of OpenMap.
Hope this helps,
Don
On Monday, June 3, 2002, at 03:28 PM, Oscarson Erik wrote:
> Hello,
>
> I'm excited about the 4.5 release and specifically excited about
> OMGeometry. I have some decisions to make and the information about the
> changes in 4.5 has thrown in some new options, I think.
>
> I want to associate a set of vector-based graphics (polygons, polylines,
> ellipses, etc.) with a single lat-lon. I've done this using Batik with
> SVG files by geo-referencing the GraphicsNode with a class that extends
> OMPoint. Batik and SVG are a bit slow, and I'd prefer to keep only the
> necessary attributes after parsing the SVG (or whatever Vector format we
> end up using.) I'm also planning on caching each resulting set of
> shapes as unique objects so the file is only accessed one.
>
> I guess it's easier to imagine that I have an SVG-file of a stoplight,
> and I'd like to plot that 'symbol' centered at several locations. The
> symbol is made up of multiple shapes that each have their own stroke,
> fill, colors, etc. The only point that needs to be generated is the
> center of the symbol. The remaining points (for each of the shapes that
> make up the symbol) are x/y offsets of the generated center point.
>
> Is there a class that encapsulates shapes (and their color, stroke, etc.
> information) without adding location? I have plans for implementing
> something to handle this, but I'm wondering if I should wait to see if
> it is either already implemented or easier to implement with the 4.5
> release.
>
>
> Thanks,
>
> Erik Oscarson
> Raytheon
> (703)923-2282
> eoscarson@rayva.org
>
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Tue Jun 4 09:13:37 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT