[Geomoose-users] Image not rendering

Brent Fraser bfraser at geoanalytic.com
Thu Jul 29 10:08:07 EDT 2010


I've only used relative URLs in IMAGEURL:

IMAGEURL "/httpdocs/tmp/"

And it needs to be relative to your site's Document Root (as set in your web 
server's config), so if httpdocs is your Document Root:

IMAGEURL "/tmp/"

would be better...

Best Regards,
Brent Fraser

t faustino wrote:
> I've been troubleshooting this for a week now and need another pair of 
> eyes; I'm having trouble getting my layer image to produce from website 
> running from linux;
> I've triple-checked map extent and layer and they are reading correctly.
> I've checked my tmp folder to ensure my image was being rendered and 
> it's there /tmp/
> I've also checked the url to ensure the mapfile was rendering and it is 
> producing a callback of parameters based on the web template.
> 
> Checked my mapfile Web parameters:
> 
> WEB
>   TEMPLATE "identify_county.html"
>   HEADER "header_identify.html"
>   FOOTER "footer_identify.html"
>   IMAGEPATH "/var/www/vhosts/mysite.org/httpdocs/tmp/ 
> <http://mysite.org/httpdocs/tmp/>"
>   IMAGEURL "http://localhost/httpdocs/tmp/"
> 
> 
> 
> Firebug is shooting up some unable to locate mapfile errors:
> 
> My configuration.js:
> var MAPSERVER_MAPFILE_ROOT = 
> '/var/www/vhosts/mysite.org/httpdocs/geomoose/maps_countydemo 
> <http://mysite.org/httpdocs/geomoose/maps_countydemo>';    /* Root 
> location of mapfiles */
> var MAPSERVER_ROOT = '/cgi-bin/mapserv.exe';
> 
> Anyone with some ideas of what else I could check; I'm running out of ideas.
> -- 
> "If one advances confidently in the direction of his dreams, and 
> endeavors to live the life which he has imagined, he will meet with a 
> success unexpected in common hours."  ~Thoreau
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geomoose-users





More information about the Geomoose-users mailing list