Andrea,<br><br>Thanks a lot for your help.<br>It worked fine. :)<br><br>Now my next step is to convert data from Oracle Spatial to Postgis.<br>I saw in the net the tool ora2pg.<br><br>Do you know any other tool that does data conversion from Oracle to Postgis ?<br>
Need I write scripts in Oracle for extracting spatial data ?<br>I hava a lot of data to convert.<br><br>Best Regards<br>Eriovaldo<br><br><br><br><div class="gmail_quote">On Sun, Nov 7, 2010 at 6:03 PM, Andrea Peri 2007 <span dir="ltr"><<a href="mailto:aperi2007@gmail.com">aperi2007@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

BEGIN;<br>
INSERT INTO tb_circularstring (ID,NAME,GEOM ) VALUES<br>
(1,'1',GeomFromText('CIRCULARSTRING(8 8, 1 1, 1 0)',-1));<br>
commit;<br>
select * from tb_circularstring;<br>
<br>
I can see data in the database, but tools donīt show the geometry to me.<br>
<br>
Need I add data into any other table ?<br>
I am using: Quantum GIS, Open Jump, Udig ...<br>
Any tool shows the data<br>
<br>
What is wrong.<br>
</blockquote>
<br>
The tools GIS don't support the<br>
CIRCULARSTRING geometry,<br>
so you must trasform it in a LineString using the ST_CurveToLine(..)<br>
<br>
with QGIS you can use the RT_SQL_Layer plugin and put this query :<br>
<br>
select id,ST_CurveToLine(a.geom) as geom  from tb_circularstring as a;<br>
<br>
or with other gis tools<br>
you can create a view for call always the same query:<br>
select id,ST_CurveToLine(a.geom) as geom  from tb_circularstring as a;<br>
<br>
<br>
Regards,<br>
<br>
Andrea.<br>
<br>
<br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@postgis.refractions.net" target="_blank">postgis-devel@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br>
</blockquote></div><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style>