[MS4W-Users] Adding MapScript to Aptana Studio

Ian Tidy IANT at napier.govt.nz
Thu Jul 30 20:31:07 EST 2009


Thanks Jeff,

This put me on the right track.  I added the PROJ_LIB, GDAL_DATA, and
GDAL_DRIVER_PATH to my system environment variables and now it runs.

Cheers Ian

______________________
Ian Tidy
GIS Analyst / Developer
Works Asset Department
Napier City Council
Skype ian.tidy.ncc
mailto:iant at napier.govt.nz
http://www.napier.govt.nz | http://maps.napier.govt.nz 

-----Original Message-----
From: ms4w-users-bounces at lists.maptools.org
[mailto:ms4w-users-bounces at lists.maptools.org] On Behalf Of Jeff McKenna
Sent: Friday, July 31, 2009 12:34 PM
To: ms4w-users at lists.maptools.org
Subject: Re: [MS4W-Users] Adding MapScript to Aptana Studio

Ian Tidy wrote:
> Hi,
> 
> I am trying to add the php_mapscript.dll (and dependencies) to Aptana 
> Studio.  I have copied across the php_mapscript.dll file, and the DLLs

> and EXEs from the \MS4W\Apache\cgi-bin directory (that don't already
exist).
> 
> My PHP page starts to work, but now it is complaining at 
> 'msProcessProjection()', the PHP code it is failing on is "$map = 
> ms_newMapObj($map_path . $map_file);"
> 
> Any ideas??
> 

Hi Ian,

One quick solution could be to not use any projections in your mapfile.

Also, MS4W's Apache instance has the PROJ_LIB environment variable set 
in in httpd.conf, maybe your configuration does not?  Or, you could also

set that variable in the MAP object of the mapfile.

Just my quick thoughts...maybe others can comment.

-jeff



-- 
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/




_______________________________________________
MS4W-Users mailing list
MS4W-Users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/ms4w-users

########################################################################
#############
This e-mail message has been scanned for Viruses and Content and cleared

by MailMarshal
########################################################################
#############
#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal
#####################################################################################

######################################################################
Attention: 
This e-mail message and accompanying data may contain information that
is confidential and subject to legal privilege. Any information
provided is given in good faith. However unless specifically stated to
the contrary, Napier City Council accepts no liability for the
content of this e-mail or for the consequences of any action taken on
the basis of the information provided, unless that information is
subsequently confirmed in writing. If you are not the intended recipient,
you are notified that any use, dissemination, distribution or copying
of this message or data is prohibited. If you received this e-mail
message in error, please notify us immediately and erase all copies
of this message and attachments. Thank you.


More information about the MS4W-Users mailing list