I have written an sld to visualize the lines of the osm data of hamburg which I have converted to postgis format using osm2pgsql and then imported this postgis data into geoserver. The sld is styled to render the map feature:- highway(roads) with all its principle tags which works fine and can been seen but there are some roads for example secondary roads (August-Krogmann-Straße,Berner Chaussee Kirchwerder Landweg) etc to name a few which seem to be rendered incomplete i.e. they appear like disjoint line with some parts missing at all zoom levels(like dash array lines) instead of a continuous line. And there are no errors in the log file of the geoserver, no tile caching error and no java errors. I have tried using different sld's(online Github) but still this problem exists.
I need to know whether my sld has an error or the osm data availability itself is that much .