Hi Andreas

It depend of what you need to do with the data.
If it is only for simple query on the map, you can use the dbf.

To make a layer queryable, you have to add a TEMPLATE "something" in the layer in the mapfile. The text between quotes("something") doesnt mean anything in this case, but you must write some word. see http://www.cartoweb.org/doc/cw3.3/xhtml/user.query.html#user.query.mapfile Then add the id of the column in the dbf you want to use as main identificator and set a METADATA element in the mapfile see http://www.cartoweb.org/doc/cw3.3/xhtml/user.query.html#user.query.mapfile.metadata in the exemple, you can see you can also specify if the parameter is a integer or a string. the "query_returned_attributes" paramater let you specify which parameters will be returned by the query and displayed in the web page under the map, in case you only want a few. If you want all the parameters, do not use "query_returned_attributes", all parameters are returned by default.

See http://www.cartoweb.org/doc/cw3.3/xhtml/user.query.html for details.

Regards
Oliver

----- Original Message ----- From: "MUTOTA" <[EMAIL PROTECTED]>
To: "Oliver Christen" <[EMAIL PROTECTED]>
Sent: Friday, March 23, 2007 3:03 PM
Subject: Re: Fw: [Cartoweb-users] Help


Hi Oliver
Happy now I am gaining some extended ideas.

I have actually gone through notes on how to create project etc. I have gained
some understangs I presume.
There another thing I would like to ask you.

The showing up of the mainmap. Does it have to do with how the data organised
in the dbf? Because I am still using the dbf, not postGIS yet.

Thank you

Best regards
ANDEREAS










On Fri, 23 Mar 2007 14:27:31 +0100, Oliver Christen wrote
Hi Andreas

you can get informations for this in the wiki webpages:
http://www.cartoweb.org/cwiki/HowTo
especially
http://www.cartoweb.org/cwiki/HowToCreateANewProject
http://www.cartoweb.org/cwiki/HowToCreateALayerTree
also have a look at

http://www.cartoweb.org/doc/cw3.3/xhtml/user.config.html#user.config.server.maps_config.initial
about the use of the mapInfo.initialMapStates parameters in the main
server .ini file ("sampleProject.ini" in the "sampleProject" project,
 the name of that file depend of your project name!)

regards
Oliver

----- Original Message ----- From: "MUTOTA" <[EMAIL PROTECTED]>
To: "Oliver Christen" <[EMAIL PROTECTED]>
Sent: Friday, March 23, 2007 1:07 PM
Subject: Re: [Cartoweb-users] Help

> Hi Christen! Interesting friday is it?
>
> I am struggling to get through to your mail I do not know why.
>
> I do not work with Luigi Marotta. I only got reply from your email
> pertaining
> to the problem I have so far. Suppose I readdress it again.
>
> As I have been fixing my first mapping application so far I managed to > add
> some layers to the sampleProject but there are still some trick s. I am
> failing to corner them up.
>
> The reference map is up but the main-Map is still fiancé, which I want
> remove
> and put mine. I am trying to use a quite deferent map as reference one > but
> only the fiancé map is still navigated instead.
>
> I am seeing that there is a communication between mainmap.tpl and
> cartoclient.tpl where the mainmap.tpl kind of submitting the > information
> to
> cartoclient.tpl by using {include file="mainmap.tpl"} thus the francs > map
> comes up.
>
> How do I change francs map to my own map in this application?
>
> I read through the cartoweb.manual (pdf) but I do not real see a page
> where it
> much regarding this matter and how data is flowing.
>
> Best regards
>
> Andreas mutota.
>
>


--



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

Reply via email to