Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: render
    • Labels:
      None
    • Environment:
      uDig 1.2.x using GeoToolts 2.6 and bc_pubs.shp from sample data

      Description

      The occasional pub is having path trouble and defaulting to 0,0 resulting in a very long point that includes the top left corner of the screen.

      1. bc_pubs.jpg
        52 kB
      2. pubs.png
        15 kB

        Activity

        Show
        Jody Garnett added a comment - http://udig.refractions.net/files/docs/data-v1_2.zip
        Hide
        Jody Garnett added a comment -
        <?xml version="1.0" encoding="UTF-8"?>
        <sld:StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" version="1.0.0">
            <sld:UserLayer>
                <sld:LayerFeatureConstraints>
                    <sld:FeatureTypeConstraint/>
                </sld:LayerFeatureConstraints>
                <sld:UserStyle>
                    <sld:Name>Default Styler</sld:Name>
                    <sld:Title/>
                    <sld:FeatureTypeStyle>
                        <sld:Name>simple</sld:Name>
                        <sld:FeatureTypeName>Feature</sld:FeatureTypeName>
                        <sld:SemanticTypeIdentifier>generic:geometry</sld:SemanticTypeIdentifier>
                        <sld:SemanticTypeIdentifier>simple</sld:SemanticTypeIdentifier>
                        <sld:Rule>
                            <sld:MaxScaleDenominator>1.7976931348623157E308</sld:MaxScaleDenominator>
                            <sld:PointSymbolizer>
                                <sld:Graphic>
                                    <sld:Mark>
                                        <sld:WellKnownName>square</sld:WellKnownName>
                                        <sld:Fill>
                                            <sld:CssParameter name="fill">
                                                <ogc:Literal>#1B9E77</ogc:Literal>
                                            </sld:CssParameter>
                                            <sld:CssParameter name="fill-opacity">
                                                <ogc:Literal>1.0</ogc:Literal>
                                            </sld:CssParameter>
                                        </sld:Fill>
                                        <sld:Stroke>
                                            <sld:CssParameter name="stroke">
                                                <ogc:Literal>#000000</ogc:Literal>
                                            </sld:CssParameter>
                                            <sld:CssParameter name="stroke-linecap">
                                                <ogc:Literal>butt</ogc:Literal>
                                            </sld:CssParameter>
                                            <sld:CssParameter name="stroke-linejoin">
                                                <ogc:Literal>miter</ogc:Literal>
                                            </sld:CssParameter>
                                            <sld:CssParameter name="stroke-opacity">
                                                <ogc:Literal>1.0</ogc:Literal>
                                            </sld:CssParameter>
                                            <sld:CssParameter name="stroke-width">
                                                <ogc:Literal>1.0</ogc:Literal>
                                            </sld:CssParameter>
                                            <sld:CssParameter name="stroke-dashoffset">
                                                <ogc:Literal>0.0</ogc:Literal>
                                            </sld:CssParameter>
                                        </sld:Stroke>
                                    </sld:Mark>
                                    <sld:Opacity>
                                        <ogc:Literal>1.0</ogc:Literal>
                                    </sld:Opacity>
                                    <sld:Size>
                                        <ogc:Literal>6.0</ogc:Literal>
                                    </sld:Size>
                                    <sld:Rotation>
                                        <ogc:Literal>0.0</ogc:Literal>
                                    </sld:Rotation>
                                </sld:Graphic>
                            </sld:PointSymbolizer>
                        </sld:Rule>
                    </sld:FeatureTypeStyle>
                </sld:UserStyle>
            </sld:UserLayer>
        </sld:StyledLayerDescriptor>
        Show
        Jody Garnett added a comment - <?xml version="1.0" encoding="UTF-8"?> <sld:StyledLayerDescriptor xmlns=" http://www.opengis.net/sld " xmlns:sld=" http://www.opengis.net/sld " xmlns:ogc=" http://www.opengis.net/ogc " xmlns:gml=" http://www.opengis.net/gml " version="1.0.0">     <sld:UserLayer>         <sld:LayerFeatureConstraints>             <sld:FeatureTypeConstraint/>         </sld:LayerFeatureConstraints>         <sld:UserStyle>             <sld:Name>Default Styler</sld:Name>             <sld:Title/>             <sld:FeatureTypeStyle>                 <sld:Name>simple</sld:Name>                 <sld:FeatureTypeName>Feature</sld:FeatureTypeName>                 <sld:SemanticTypeIdentifier>generic:geometry</sld:SemanticTypeIdentifier>                 <sld:SemanticTypeIdentifier>simple</sld:SemanticTypeIdentifier>                 <sld:Rule>                     <sld:MaxScaleDenominator>1.7976931348623157E308</sld:MaxScaleDenominator>                     <sld:PointSymbolizer>                         <sld:Graphic>                             <sld:Mark>                                 <sld:WellKnownName>square</sld:WellKnownName>                                 <sld:Fill>                                     <sld:CssParameter name="fill">                                         <ogc:Literal>#1B9E77</ogc:Literal>                                     </sld:CssParameter>                                     <sld:CssParameter name="fill-opacity">                                         <ogc:Literal>1.0</ogc:Literal>                                     </sld:CssParameter>                                 </sld:Fill>                                 <sld:Stroke>                                     <sld:CssParameter name="stroke">                                         <ogc:Literal>#000000</ogc:Literal>                                     </sld:CssParameter>                                     <sld:CssParameter name="stroke-linecap">                                         <ogc:Literal>butt</ogc:Literal>                                     </sld:CssParameter>                                     <sld:CssParameter name="stroke-linejoin">                                         <ogc:Literal>miter</ogc:Literal>                                     </sld:CssParameter>                                     <sld:CssParameter name="stroke-opacity">                                         <ogc:Literal>1.0</ogc:Literal>                                     </sld:CssParameter>                                     <sld:CssParameter name="stroke-width">                                         <ogc:Literal>1.0</ogc:Literal>                                     </sld:CssParameter>                                     <sld:CssParameter name="stroke-dashoffset">                                         <ogc:Literal>0.0</ogc:Literal>                                     </sld:CssParameter>                                 </sld:Stroke>                             </sld:Mark>                             <sld:Opacity>                                 <ogc:Literal>1.0</ogc:Literal>                             </sld:Opacity>                             <sld:Size>                                 <ogc:Literal>6.0</ogc:Literal>                             </sld:Size>                             <sld:Rotation>                                 <ogc:Literal>0.0</ogc:Literal>                             </sld:Rotation>                         </sld:Graphic>                     </sld:PointSymbolizer>                 </sld:Rule>             </sld:FeatureTypeStyle>         </sld:UserStyle>     </sld:UserLayer> </sld:StyledLayerDescriptor>
        Hide
        Andrea Aime added a comment -
        Just tried it out with a slightly modified quickstart.java, works fine for me.
        Show
        Andrea Aime added a comment - Just tried it out with a slightly modified quickstart.java, works fine for me.
        Hide
        Andrea Aime added a comment -
        Assuming it was fixed time ago
        Show
        Andrea Aime added a comment - Assuming it was fixed time ago

          People

          • Assignee:
            Andrea Aime
            Reporter:
            Jody Garnett
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: