[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [udig-devel] Create feature in postgis | 
There is a somewhat hidden way of creating a layer directly in  
postGIS.  However I believe there is a bug that hasn't been fixed.  If  
the FeatureType has a String attribute it tries to make a field that  
has a limit of Integer.MAX_VALUE.  Which postgis doesn't like.  But  
you can play with this functionality:
1. Import your Postgis into the catalog
2. Select the Postgis service (not GeoResource) in the catalog
3. Right click Select Operations>Create Feature Type
Voila a new feature type is created.  Add it to a map and start editing.
Jesse
On 4-Dec-07, at 6:55 AM, Andrea Maschio wrote:
Hello. I'd like to ask, as always, a newbie question. When I create  
a layer i can edit it and "export" it to a shape file. Then with  
shp2sql i can easily import it in PostGis.
I'm asking if this is the unique way to do this is to do it with  
this procedure, or there is a fastest way, for example create a  
layer directly in Postgis or similar.
Btw, i am using the test release RC 13 under Leopard, and as far I'm  
gonna test the application and eventually let you know of strages  
behaviours or potential bugs. Actually, it seems that release 13  
work flawlessy.
Andrew
--
http://www.superandrew.it
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel