Tim Schreiner ha scritto:
> Andrea,
> 
> OK. I started over. (ty for addressing my install question).
> 
> I create a new Data connection, using these steps.
> 
> . Stores: (I connected to my local postgres table) and the connection seemed
> fine. (the column in my table that contains geometry that I want to see is
> called "geometry"). I called this new Store, localDots.
> 
> . Style: 
>  
> (I created a .sld file by copying the default_point.sld and changing this
> line: 
> 
> <Name>Default Point</Name>
> 
> To this:
> 
> <Name>Geometry</Name>

This is just a label, should not be influential.

> I also changed this line:
> 
> <!--FeatureTypeName>Feature</FeatureTypeName-->
> 
> To this:
>  
> <!--FeatureTypeName>Geometry</FeatureTypeName-->

This is irrelevant, since <!-- xxx --> is just a comment.

> The .sld file is attached.
> 
> . Feature Type:
> 
> (I selected the Style from the file I created for "style" above., I clicked
> the Generate button to generate the Bounding Box, then clicked the Submit
> button, followed by "Save" and "Apply" on the upper left. It all seemed to
> be accepted.)
> 
> Then I went to the demo page and selected, "Map Preview" and then selected
> my new "Store" (localDots). The display page as the map control stuff on it,
> but none of my data is displayed. So somewhere I must have done something
> wrong.

This is pretty strange. Can you assign default_point.sld to your feature 
type and see what happens? It should show something.
And oh, is the geometry column registered in the geometry_columns 
metadata table you can find in Postgres? Without it, nothing works.
Just for the kicks of it, try importing a shapefile you may jave around
in postgis using shp2pgsql, it should show unless you have something
really wrong in your config.

Cheers
Andrea

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to