[Manifold-l] Manifold Release 8
adamw at manifold.net
adamw at manifold.net
Fri Sep 7 08:26:21 CDT 2007
> What is the optimum VB.NET script to change an incoming point
> projected in Lat Long to Mercator.
Try this:
Imports Manifold.Interop.Scripts
Imports M = Manifold.Interop
Class Script
Shared Sub Main
Dim app As M.Application = Context.Application
Dim cnv As M.CoordinateConverter = app.NewCoordinateConverter()
cnv.Prepare(app.DefaultCoordinateSystemLatLon, _
app.NewCoordinateSystem("Mercator"))
Dim pt As M.Point = app.NewPoint(10, 20)
cnv.Convert(pt)
app.MessageBox(pt.X & ":" & pt.Y, "Script")
End Sub
End Class
> We've been fooling about with this real time data flow incoming for
> too long, time to get it projected correctly in the database and avoid
> re-projecting multiple projections every time we serve an image.
An image?
--
Adam Wachowski
Manifold Development Team
More information about the Manifold-l
mailing list