I have my own OSM file, which is created by some application which I written.
You can see some of nodes in my OSM file bottom of the post.
I want to fill +/-0.0001 latitude, +/-0.0001 longitude around my point.
I've tried these to style points, however, sadly, height and width attiributes seem to not working :/
What may be the other solution(s) to fill +/-0.0001 lat-long around my point?
layer-amenity-points.xml.inc
<Style name="points">
<Rule>
&maxscale_zoom18;
<Filter>[amenity]='mycustomamenity'</Filter>
<PointSymbolizer height="52" width="52" file="&symbols;/overlay_img.png" placement="interior"/>
</Rule>
<Rule>
&maxscale_zoom17;
<Filter>[amenity]='mycustomamenity'</Filter>
<PointSymbolizer height="26" width="26" file="&symbols;/overlay_img.png" placement="interior"/>
</Rule>
</Style>
<Layer name="amenity-points" status="on" srs="&osm2pgsql_projection;">
<StyleName>points</StyleName>
<Datasource>
<Parameter name="table">
(select amenity
from &prefix;_point
where amenity is not null
) as points</Parameter>
&datasource-settings;
</Datasource>
</Layer>
custom.osm
<node id="10000001" lat="0.476527778159" lon="0.999861111111" visible="true">
<tag k="amenity" v="mycustomamenity"/>
<tag k="myvalue" v="573"/>
</node>
<node id="10000002" lat="0.476805555937" lon="0.999861111111" visible="true">
<tag k="amenity" v="mycustomamenity"/>
<tag k="myvalue" v="576"/>
</node>
<node id="10000003" lat="0.477083333715" lon="0.999861111111" visible="true">
<tag k="amenity" v="mycustomamenity"/>
<tag k="myvalue" v="538"/>
</node>
Update
With MarkerSymbolizer in the answer below, I couldn't find how to draw squares. There is just circles can be created by MarkersSymbolizer. I want to draw squares.