Skip to main content
Question

how to convert (x And y) data table in oracle to shapefile and save it in the oracle database?

  • November 20, 2017
  • 8 replies
  • 62 views

8 replies

david_r
Celebrity
  • November 20, 2017

You can read the table using the Oracle Non-Spatial reader, then use the VertexCreator transformer to convert the X,Y values to a point geometry and send it to the Shape file writer.


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • November 20, 2017

Hi @eslamgis90,

How is the structure your information x and y in Oracle?

Thanks,

Danilo


steveatsafe
Safer
Forum|alt.badge.img+12
  • Safer
  • November 21, 2017
david_r wrote:

You can read the table using the Oracle Non-Spatial reader, then use the VertexCreator transformer to convert the X,Y values to a point geometry and send it to the Shape file writer.

You might also want to set the coordinate system on the Writer or via CoordinateSystemSetter transformer.

 

 


steveatsafe
Safer
Forum|alt.badge.img+12
  • Safer
  • November 21, 2017
Just to clarify... If I understand correctly, you want to read out some tabular data (Oracle Non-Spatial Reader) that contains x and y coordinate values, create a shape file (Shape Writer) and then create a new table in Oracle with the geometry (Oracle Spatial Writer)?

 

 


  • Author
  • November 21, 2017
danilo_fme wrote:

Hi @eslamgis90,

How is the structure your information x and y in Oracle?

Thanks,

Danilo

numbers format .

 

 


  • Author
  • November 21, 2017
This is exactly what I want to do.

 

 


takashi
Influencer
  • November 21, 2017
eslamgis90 wrote:
This is exactly what I want to do.

 

 

As @david_r suggested, the VertexCreator transformer can be used to add a point geometry based on (x, y) to each feature read by the Oracle Non-Spatial Reader. You can then write them into a Shepefile file (with Shapefile Writer) and an Oracle database table (with Oracle Spatial Object Writer) simultaneously.

 

Just be aware that the license for FME Desktop Database Edition is required to create a workspace that contains the Oracle Spatial Object Writer.

 


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • November 21, 2017
eslamgis90 wrote:
numbers format .

 

 

Good, could you share a example of your data?

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings