CoreyC
unread,Mar 16, 2011, 12:53:03 PM3/16/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Studio
For those of you wanting to use multiple data stores you don't have to
wait for this feature.
I have only tested this with MySQL - I am sure the process is similar
for other DBMS's
Execute a query similar to below:
// Begin SQL
INSERT INTO `YOUR_STUDIO_DB`.`datastore` (
`name` ,
`type` ,
`ogrstring`
)
VALUES (
NULL , 'store_name', 'postgis', 'alchemy_string'
);
// eo
YOUR_STUDIO_DB: Of course replace this with the name of your database.
name : The human readable name displayed in Studio.
type : I don't think this is exactly important, just used for
description purposes.
ogrstring: This should be a properly formatted sqlAlchemy string as
detailed in studio.ini
Feel free to improve or expand.