Νικος Παπαδάκης wrote: > O/H Oliver Christen έγραψε: >> Hi >> >> did you have a look at the tutorial available on cartoweb's wiki? >> http://www.cartoweb.org/cwiki/Foss4g06Workshops >> some of the paths are not up to date (old windows version) but >> otherwise all the example and instructions should be ok to handle a >> project and a basic template. >> >> if you have specific error message you need help with, post the whole >> error message. >> >> regards >> Oliver >> >>> Hello to everyone!!! >>> >>> I am trying to find out how i can write a very simple template >>> for a very simple project. >>> All i want to do is render a map! >>> I have the mapfile but i get some errors than probably relate with >>> the built-in templates >>> cartoweb uses. >>> >>> Can anybody give me some information on creating a template? >>> Where do i have to put this? >>> >>> Thank you very much! >>> Nikos Papadakis. >>> _______________________________________________ >>> Cartoweb-users mailing list >>> Cartoweb-users@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/cartoweb-users >>> >> >> > Well i took a look in http://www.cartoweb.org/cwiki/Foss4g06Workshops > but this example doesn't say anything on > how to write my template from the beginning! > I try to read the cartoclient.tpl but i get lost in it!
If so you wouldn't easy setup one from scratch. Try to learn the different part of it. ( really no chance to get it running from nowhere ). The best way to learn is starting with a copy a one of the demo, and adjusting piece by piece to your needs. It could be a "relative" long way to have all plugins and feature working together ( the time needed by your brain to digest all the possibility offer by cartoweb ) > Anyway.If i keep cartoclient.tpl unchanged and run my project i get the > following message: > > *Fatal error*: [MapServer Error]: msImageLoadGD(): ((null)) in > *C:\ms4w\apps\cartoweb3\coreplugins\images\server\ServerImages.php* on > line *290 > > *I would realy appreciate some help on this! > Thank you very much for your time! Without any more information, I really suspect you have a trouble in the mapserver.ini.in Pay special attention to the different directory, pathnames ( put them all lowercase so you would be surprised when you run your project on a *nix boxe ) You will find all ressources on the wiki and www.cartoweb.org website under documentation. Also the mapserver website explain howto write a mapfile. I know this is not the solution, but I hope it could help you a bit. -- Bruno Friedmann _______________________________________________ Cartoweb-users mailing list Cartoweb-users@lists.maptools.org http://lists.maptools.org/mailman/listinfo/cartoweb-users