New ColdFusion Mapscript interface

Simon Haddon simon at SIBERN.COM.AU
Fri Aug 4 01:45:39 EDT 2006


Hi Paul,

If the emails get too indepth and no one else is interested in reading the
conversation then I will take it off list.

The CFC is written to talk to mapscript.jar which in turn talks to
mapscript.so.  This means that you need both jar and shared library in
your classpath and library path.  So yes, it is plain Jane in the sense it
uses the standard jar and shared library that the other languages use.

Once setup you can use the init method and then the create method to get
generate an image.  There are of course alot more methods for controlling
extents, layers, etc.

If you are compiling mapscript swig interface yourself then please make
sure your swig version is up to date as they changed the enumerated data
types from numbers to string values and I need te string values

Now, I hope I haven't upset any php folks out there :-)

Cheers,
Simon


> Simon Haddon wrote:
>> Hi everyone,
>>
>> I have been sitting on a CFC that I wrote for ColdFusion that uses the
>> Java mapscript interface.  I have developed over the last few months and
>> would like to put it out to public domain.
>
> wow. i've been trying to get cf working w/java mapscript of & on for
> several
> months & never really succeeded. is this the plain jane ms object? this
> depends
> on the java jar, etc being in the classpath?
>
> i'd like to hear more about how you accomplished this (maybe off-list so
> we
> upset the php folks here ;-)
>
> thanks.
>



More information about the mapserver-users mailing list