[Geoserver-users] making a property visible

Hi, this solution doesn´t work in SVG response? if the answer is not, how I solve this in SVG response?
Regards.

----- Original Message -----
From: “Miles Jordan” <Miles.Jordan@anonymised.com>
To: “Akkineni Vijay” <akkineniv@anonymised.com>
Cc: <geoserver-users@anonymised.com.sourceforge.net>
Sent: Wednesday, February 22, 2006 1:31 AM
Subject: RE: [Geoserver-users] making a property visible

You control the scale at which things are displayed using Rules with
MinScaleDenominator and MaxScaleDenominator:



YOUR_LAYER_NAME


25000

1000000

ogc:PropertyNameYOUR_GEOMETRY_NAME</ogc:PropertyName>

ogc:PropertyNamecity_name</ogc:PropertyName>


Arial
Normal
Normal
12

1

#00FF00

0.3



#FF0000
1.0






The SLD Spec has it all: http://www.opengeospatial.org/docs/02-070.pdf

Miles

Miles Jordan
Applications Developer
The Australian Antarctic Data Centre
-----Original Message-----
From: geoserver-users-admin@lists.sourceforge.net
[mailto:geoserver-users-admin@anonymised.comrceforge.net] On Behalf Of
Akkineni Vijay
Sent: Wednesday, 22 February 2006 5:00 PM
To: geoserver-users@anonymised.com.sourceforge.net
Subject: [Geoserver-users] making a property visible

Hi Guys,

I have a scenario in my project , when i make the
propert city_name print on the map . the map gets too crowded . so i
want to make the city_name visible only after zooming to certain
extent . how can we do this . do i have to make some changes in the SLD

Regards,
Vijay Akkineni.


Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not the
intended recipient, you are notified that use or dissemination of this communication is
strictly prohibited by Commonwealth law. If you have received this transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
DELETE the message.
Visit our web site at http://www.aad.gov.au/



This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
[http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642](http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642)


Geoserver-users mailing list
Geoserver-users@anonymised.com.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

I believe it should work if you use the batik svg, the slower but more complete svg renderer. If you use the streaming svg renderer it will ignore any sld you put in. Eventually we'd like to get a complete, streaming renderer, but we're not there yet.

Chris

Omar Zevallos wrote:

Hi, this solution doesn´t work in SVG response? if the answer is not, how I solve this in SVG response?
Regards.

----- Original Message ----- From: "Miles Jordan" <Miles.Jordan@anonymised.com>
To: "Akkineni Vijay" <akkineniv@anonymised.com>
Cc: <geoserver-users@lists.sourceforge.net>
Sent: Wednesday, February 22, 2006 1:31 AM
Subject: RE: [Geoserver-users] making a property visible

You control the scale at which things are displayed using Rules with
MinScaleDenominator and MaxScaleDenominator:

<StyledLayerDescriptor version="1.0.0"
xmlns="http://www.opengis.net/sld&quot;
xmlns:ogc="http://www.opengis.net/ogc&quot;
xmlns:xlink="http://www.w3.org/1999/xlink&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
xsi:schemaLocation="http://www.opengis.net/sld
StyledLayerDescriptor.xsd">
<NamedLayer>
<Name>YOUR_LAYER_NAME</Name>
<UserStyle>
<FeatureTypeStyle>
<Rule>

<MinScaleDenominator>25000</MinScaleDenominator>

<MaxScaleDenominator>1000000</MaxScaleDenominator>
<TextSymbolizer>
<Geometry>

<ogc:PropertyName>YOUR_GEOMETRY_NAME</ogc:PropertyName>
</Geometry>
<Label>

<ogc:PropertyName>city_name</ogc:PropertyName>
</Label>
<Font>
<CssParameter
name="font-family">Arial</CssParameter>
<CssParameter
name="font-style">Normal</CssParameter>
<CssParameter
name="font-weight">Normal</CssParameter>
<CssParameter
name="font-size">12</CssParameter>
</Font>
<Halo>

<Radius>1</Radius>
<Fill>

<CssParameter name="fill">#00FF00</CssParameter>

<CssParameter name="fill-opacity">0.3</CssParameter>
</Fill>
</Halo>
<Fill>
<CssParameter
name="fill">#FF0000</CssParameter>
<CssParameter
name="fill-opacity">1.0</CssParameter>
</Fill>
</TextSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>

The SLD Spec has it all: http://www.opengeospatial.org/docs/02-070.pdf

Miles

Miles Jordan
Applications Developer
The Australian Antarctic Data Centre -----Original Message-----
From: geoserver-users-admin@lists.sourceforge.net
[mailto:geoserver-users-admin@lists.sourceforge.net] On Behalf Of
Akkineni Vijay
Sent: Wednesday, 22 February 2006 5:00 PM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] making a property visible

Hi Guys,

                  I have a scenario in my project , when i make the
propert city_name print on the map . the map gets too crowded . so i
want to make the city_name visible only after zooming to certain
extent . how can we do this . do i have to make some changes in the SLD

Regards,
Vijay Akkineni.
___________________________________________________________________________

    Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not the
intended recipient, you are notified that use or dissemination of this communication is
strictly prohibited by Commonwealth law. If you have received this transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
DELETE the message.
        Visit our web site at http://www.aad.gov.au/
___________________________________________________________________________

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Chris Holmes
The Open Planning Project
thoughts at: http://cholmes.wordpress.com

Hi there, months ago, I have been looking for a viewer (for Browser) to show
cadastral data through geoserver. I have tried MapBuilder and Adobe SVG
Viewer.
With MapBuilder I did not continue working because I did not find the way to
work with events (onclick, mouseover, etc), and I´m working with SVG now,
but I have troubles with overload data, since, I have a layer that includes
lotes (polygons that draw a house in the map) of all my region (about 30000
rows). I do not know like handling so many data in the browser...

I suppose that one of you has had the same problems, I wish a suggestion
about this...
Thanks in advance