Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. <OGRVRTDataSource>
  2. <OGRVRTLayer name="LAYERNAME">
  3. <SrcDataSource>MySQL:DBNAME,user=DBUSER,password=DBPASS,host=DBHOST,tables=TABLENAME</SrcDataSource>
  4. <SrcSQL>SELECT * FROM TABLENAME</SrcSQL>
  5. <GeometryType>wkbPoint</GeometryType>
  6. <GeometryField encoding="PointFromColumns" x="X_COLUMN" y="Y_COLUMN"/>
  7. </OGRVRTLayer>
  8. </OGRVRTDataSource>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement