Hi Jürgen,

Do you want to create a new table in postgis or use an existing table as a layer in uDig? For the former you should look at Geotools Datastore api and code examples for help. For the latter you take a look at the code example at:

http://svn.refractions.net/udig/udig/branches/1.1.x/udig/tutorials/net.refractions.udig.tutorials.examples/src/net/refractions/udig/tutorials/examples/CreateAndAddGeoResourceToMap.java


Jesse

On 1-Jul-08, at 11:12 AM, Jürgen Jacob wrote:

I checked the uDig site but I can't find any sample code or a faq entry: How can I programmatically create a layer based on PostGis?

Thank you,
Jürgen

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to