Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] Exporting a shapefile to PostGIS

Pierre Racine wrote:
At step 4 how do you ensure that the layer you are creating will be a PostGIS layer?
You are correct I phrased step 4 wrong; can you try right clicking on the PostGIS server in the catalog and see what actions are available to you? One of them should be about creating a new feature type.
Pierre
PS: I'm sorry to say that but uDig is far from being user-friendly...
That is why it is an open source project! Friendly is as friendly does :-) I would love some more help; and your feedback is helpful. If you had some ideas of what you would like to see we can write them down for later.

I am just getting back into uDig development, and am taking it easy as I remember what I am doing.
Jody

-----Message d'origine-----
De : udig-users-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:udig-users-bounces@xxxxxxxxxxxxxxxxxxxxx] De la part de Jody Garnett
Envoyé : 3 mars 2008 19:44
À : Pierre Racine
Cc : udig-users@xxxxxxxxxxxxxxxxxxxxx
Objet : Re: [udig-users] Exporting a shapefile to PostGIS

Thinking ... we have not hooked it up as an "Export" yet; but it is possible.

Can you try the following sequence for me and let me know how it goes:
1. Open up a map showing the shapefile
2. Select all the features in the shapefile (if the Edit > Select All action does not work use the selection tool)
3. Select the PostGIS server that you want to export
4. Layer > Create ....
5. The create type dialog should have the same schema as the features being copied (if not you are going to have to do it by hand)
6. Add you new type to the map
7. Paste the features
8. Commit

If this works we will add it to the online help under "tasks".

Cheers,
Jody

Pierre Racine wrote:
Hi,

I would have expected uDig to be able to load a shapefile
and export it
to PostGIS. Is it possible?

Pierre
_______________________________________________
udig-users mailing list
udig-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.refractions.net/mailman/listinfo/udig-users
_______________________________________________
udig-users mailing list
udig-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.refractions.net/mailman/listinfo/udig-users




Back to the top