Questions about mapserver C API 'projectionObj_new' replacement (RESOLVED)

pw p.willis at TELUS.NET
Wed Mar 28 15:05:48 EDT 2007


pw wrote:
> Hello,
> 
> I am upgrading some mapserver source that is based on mapserver
> version 4.2.3 up to the current version 4.10.1.
> 
> In my old code I am calling:
> 
> projectionObj *pj=projectionObj_new(mapObj_getProjection(..yada..))
> 
> The API has now changed and 'projectionObj_new' is no longer available
> from what I am seeing.
> 
> How has this been replaced and what is the method I should use
> to create a projection object using a copy constructor?
> 
> Thanks for any insight,
> 
> Peter


This is resolved.
projectionObj_new is a part of mapscript/php3 and defined in
mapscript_i.c .

I was simply missing the mapscript hierarchy files.

Thanks,

Peter



More information about the mapserver-dev mailing list