Thanks for the suggestions.  I think SharpMap is more overhead than I want,
because all its operations seem to require a map object.  But using the .NET
graphics stuff is looking moderately promising (I think that's what SharpMap
is doing behind the scenes).

I'm looking into both options in more detail.

Jeff

On Thu, Oct 30, 2008 at 12:21 PM, CodeKaizen <[EMAIL PROTECTED]> wrote:

> Hey Jeff,
>
> SharpMap (www.codeplex.com/SharpMap) does this to an extent. Have you
> looked at it?
>
> On Thu, Oct 30, 2008 at 7:57 AM, Sunburned Surveyor <
> [EMAIL PROTECTED]> wrote:
>
>> Jeff,
>>
>> I'm not an experienced .NET programmer, so bear with me.
>>
>> Can't you convert NTS geometries into the graphic primitives used by
>> Microsoft's GUI drawing libraries? If you can do this there should be
>> a built-in component that can render those graphic primitives as an
>> image.
>>
>> In Java you'd convert the JTS geometry into a Java2D graphic
>> primitive, and then have Swing/AWT render this graphic primitive as an
>> image. In fact, this is how OpenJUMP renders feature geometries.
>>
>> I hope that helps.
>>
>> The Sunburned Surveyor
>>
>> On Thu, Oct 30, 2008 at 6:52 AM, Jeff Adams <[EMAIL PROTECTED]> wrote:
>> > I need to be able to render vector data (that I've built using NTS) so I
>> can
>> > overlay it onto an image.  Ideally I'd just send the vector back to the
>> map
>> > server and tell it "Hey add this onto the image" but our map server
>> doesn't
>> > support that, so I have to do it after the fact.
>> >
>> > I'm just fishing for ideas here, otherwise I'll probably convert the
>> image
>> > from the map server into a bitmap, do math to convert all the vector
>> > coordinates into bitmap offsets, and draw the vectors using image
>> > operations, then convert the bitmap back to a png and be done.
>> >
>> > However that sounds like a lot of work and this really seems like
>> something
>> > people would have done before... so any ideas?
>> >
>> > Thanks,
>> > Jeff
>> >
>> > _______________________________________________
>> > jts-devel mailing list
>> > [email protected]
>> > http://lists.refractions.net/mailman/listinfo/jts-devel
>> >
>> >
>> _______________________________________________
>> jts-devel mailing list
>> [email protected]
>> http://lists.refractions.net/mailman/listinfo/jts-devel
>>
>
>
> _______________________________________________
> jts-devel mailing list
> [email protected]
> http://lists.refractions.net/mailman/listinfo/jts-devel
>
>
_______________________________________________
jts-devel mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jts-devel

Reply via email to