[Mapserver-users] Is it possible to display compound polygon with arcs (on Oracle Spatial)

Fernando S. simon at inf.univali.br
Mon Mar 22 12:08:33 EST 2004


This is a multi-part message in MIME format.
--------------070108070200020804050500
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 8bit

Hi,
    I already had problems with this type. We (G10-LCA) know this 
problem with this type. The real problem it's with arc type. We have 
some problems to convert between the way that mapserv draw arcs and the 
Oracle Spatial store the arc type. We are stunding the best way to do 
this convertion.
    I have only two question, what function you use to generate this 
type? When I used oracle spatial function SDO_BUFFER I had this problem. 
And what do you what to draw?
  
    Some help you can report me.

==================================================================
Fernando Simon - simon at cttmar.univali.br <mailto:simon at cttmar.univali.br>
==================================================================
DataBase Manager, Mapserver, OracleSpatial and PostGis Developer
G10 - Laboratório de Computaça~o Aplicada
MapOracleSpatial developer
http://g10.cttmar.univali.br
==================================================================
    

Jiri Potocny wrote:

> Dear All,
>  
> I experienced troubles dsiplaying compound polygon containing 
> arcs stored in Oracle Spatial, such as:
>
>     SDO_GEOMETRY(2007, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1005, 3, 1,
>     2, 1, 7, 2, 2, 11, 2, 1), SDO_ORDINATE_ARRAY(-549829,25,
>     -1287249,5, -549843,56, -1287256,9, -549838,9, -1287265,7,
>     -549833,07, -1287262,7, -549830,55, -1287262,2, -549828,71,
>     -1287260,4, -549824,59, -1287258,2, -549829,25, -1287249,5))
>
> The map server returns following error:
>
>     msDrawMap(): Image handling error. Failed to draw layer named
>     'parcels'.
>     msDrawShape(): General error message. Only polygon shapes can be
>     drawn using a POLYGON layer definition.
>
> Did anybody experienced the same trouble or does anybody know how to 
> treat such geometries, please?
>  
> Regards,
> Jirka



--------------070108070200020804050500
Content-Type: text/html; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
  <title></title>
</head>
<body>
Hi,<br>
    I already had problems with this type. We (G10-LCA) know this
problem with this type. The real problem it's with arc type. We have
some problems to convert between the way that mapserv draw arcs and the
Oracle Spatial store the arc type. We are stunding the best way to do
this convertion.<br>
    I have only two question, what function you use to generate this
type? When I used oracle spatial function SDO_BUFFER I had this
problem. And what do you what to draw? <br>
   <br>
    Some help you can report me.<br>
<br>
<font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">==================================================================
<br>
Fernando Simon - <a href="mailto:simon at cttmar.univali.br">simon at cttmar.univali.br</a>
<br>
================================================================== <br>
DataBase Manager, Mapserver, OracleSpatial and PostGis Developer <br>
G10 - Laboratório de Computaç&atilde;o Aplicada<br>
MapOracleSpatial developer <br>
<a href="http://g10.cttmar.univali.br">http://g10.cttmar.univali.br</a>
<br>
==================================================================</span></font><br>
     <br>
<br>
Jiri Potocny wrote:
<blockquote cite="mid004501c41012$7766d460$bc03a8c0 at twoflower"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2800.1106" name="GENERATOR">
  <style></style>
  <div><font face="Arial" size="2">Dear All,</font></div>
  <div> </div>
  <div><font face="Arial" size="2">I experienced troubles dsiplaying
compound polygon containing arcs stored in Oracle Spatial, such as:</font></div>
  <blockquote style="margin-right: 0px;" dir="ltr">
    <div><font face="Courier New" size="1">SDO_GEOMETRY(2007, NULL,
NULL, SDO_ELEM_INFO_ARRAY(1, 1005, 3, 1, 2, 1, 7, 2, 2, 11, 2, 1),
SDO_ORDINATE_ARRAY(-549829,25, -1287249,5, -549843,56, -1287256,9,
-549838,9, -1287265,7, -549833,07, -1287262,7, -549830,55, -1287262,2,
-549828,71, -1287260,4, -549824,59, -1287258,2, -549829,25, -1287249,5))</font></div>
  </blockquote>
  <div><font face="Arial" size="2">The map server returns following
error:</font></div>
  <blockquote style="margin-right: 0px;" dir="ltr">
    <div><font face="Courier New" size="1">msDrawMap(): Image handling
error. Failed to draw layer named 'parcels'. <br>
msDrawShape(): General error message. Only polygon shapes can be drawn
using a POLYGON layer definition. <br>
    </font></div>
  </blockquote>
  <div><font face="Arial" size="2">Did anybody experienced the same
trouble or does anybody know how to treat such geometries, please?</font></div>
  <div> </div>
  <div><font face="Arial" size="2">Regards,</font></div>
  <div><font face="Arial" size="2">Jirka</font></div>
</blockquote>
<br>
</body>
</html>

--------------070108070200020804050500--



More information about the mapserver-users mailing list