[Cartoweb-users] Showing data on the map and zoom tool

Jacolin Yves yjacolin at free.fr
Thu Oct 12 05:27:57 EDT 2006


Hello,
I am not sure, but I think you need metadata in your postgis layer to get your 
data from the table.

About your zoom problem, check your config file.

Regards,

Y.
Le Jeudi 12 Octobre 2006 11:33, Helder Muianga a écrit :
> Hi all...
>
> *I built already my application, but I'm some problems on getting data from
> my PostgreSQL database to show them on the map.
>
> I have the following code in the .map file:
>
>   LAYER
>     NAME "province"
> CONNECTION "user=heddy password=123456 host=localhost dbname=recursos"
> CONNECTIONTYPE POSTGIS
>    DATA "the_geom from mz_prov"
> 	LABELITEM "name"
> TYPE POLYGON
>     TRANSPARENCY 70
>     CLASS
>       STYLE
>         COLOR 167 246 165
> 	OUTLINECOLOR 0 0 0
> 	SYMBOL 0
>       END
>       LABEL
> 	   MINFEATURESIZE 20
>       END
>     END
>   END
>
>
> With this code I can see the Province's name...Now I'm trying to get some
> diferent data from the same database (from diferent tables), but the result
> doesn't come out...
> Is there any file missing? What files do I need in the DATA folder
> (C:\wamp\www\cartoweb3\projects\moz\server_conf\moz\data)?
>
> * The second problem is that my Zoom in/Zoom out tool is not working???
>
> Any help, I would appreciate...
>
>
> Hélder M.C. Muianga
> Cell: 82-47 27 160
> Formado em Sistemas de Informação
> E-mail alternativo:hmuianga at yahoo.com
>
> "LUTE PELAS TUAS CONVICÇÕES, MESMO QUE ISSO TE CUSTE UMA LÁGRIMA"
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users



More information about the Cartoweb-users mailing list