[mapserver-users] confused about using GridObj

Venkat Rao Tammineni vtammineni at roulacglobal.com
Tue May 5 05:07:49 PDT 2009


Hi,

GridObj Class

Constructor

The grid is always embedded inside a layer object defined as a grid
(layer->connectiontype = MS_GRATICULE)
 (for more docs : http://trac.osgeo.org/mapserver/wiki/MapServerGrid)

A layer can become a grid layer by adding a grid object to it using :
ms_newGridObj(layerObj layer)

$oLayer = ms_newlayerobj($oMap);
$oLayer->set("name", "GRID");
ms_newgridobj($oLayer);
$oLayer->grid->set("labelformat", "DDMMSS");

Members

Type 	Name
double 	minsubdivide
double 	maxsubdivide
double 	minarcs
double 	maxacrs
double 	mininterval
double 	maxinterval
string 	labelformat

Methods

int set(string property_name, new_value)
    Set object property to a new value.


Thanks, 

Venkat


-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Ahmet Temiz
Sent: Tuesday, May 05, 2009 5:30 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] confused about using GridObj

hello

I am confused about using GridObj in java-mapscript


Is there any example code containing  
gridobj in java-mapscript

regards

Ahmet Temiz

--
Open WebMail Project (http://openwebmail.org)


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list