Templating

View: New views
5 Messages — Rating Filter:   Alert me  

Templating

by Nikos Papadakis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Re: Templating

by Oliver Christen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Re: Templating

by Nikos Papadakis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
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!
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!

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Re: Templating

by Bruno Friedmann-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Νικος Παπαδάκης 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@...
>>> 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@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Re: Templating

by Oliver Christen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi
 
the error you report is NOT related to the template.
did you check the reference to the keymap image in the mapfile as I told you yesterday ?
 
regards
Oliver
----- Original Message -----
Sent: Monday, August 18, 2008 7:01 PM
Subject: Re: [Cartoweb-users] Templating

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@...
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!
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!


_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users
LightInTheBox - Buy quality products at wholesale price!