Re: [UMN_MAPSERVER-USERS] How do I create a new shapeObj from a list of shapeobj?

2006-05-02 Thread Frederico Lucca
Bryon,I have something in java...public void addLine(double[] arg){ lineObj line = new lineObj(); for(int i=2;iarg.length;i=i+2){ pointObj p = new pointObj(arg[i],arg[i+1],0); line.add(p); } layerObj layer = map.getLayerByName(COSMETIC); shapeObj shape = new

[UMN_MAPSERVER-USERS] How do I create a new shapeObj from a list of shapeobj?

2006-04-27 Thread Bryon Kenne
I am retrieving a list of shapes from a line shapefile file using the following code:for($x=0;$xcount($oShapeList);$x++){ $oSelectedShape = $oRelationLayer-getshape(-1, $oShapeList[$x]); array_push($oShapeObjectList,$oSelectedShape); }I want to merge this list of shapes into one shape (i.e. one

[UMN_MAPSERVER-USERS] How do I create a new shapeObj from a list of shapeobj?

2006-04-27 Thread Bryon Kenne
I am retrieving a list of shapes from a line shapefile file using the following code: for($x=0;$xcount($oShapeList);$x++) { $oSelectedShape = $oRelationLayer-getshape(-1, $oShapeList[$x]); array_push($oShapeObjectList,$oSelectedShape); } I want to merge this list of shapes into one shape