Ejemplo n.º 1
0
        public static DataTable GetAddressPoint(string address)
        {
            var parameters = new List <SqlParameter>();
            var url        = new SqlParameter("@address", address);

            parameters.Add(url);
            return(SqlServerDao.ExecuteProcDataTable("GetBingAddressPoint", parameters));
        }
Ejemplo n.º 2
0
        public static DataTable GetSpatialData(string tablename)
        {
            var parameters = new List <SqlParameter>
            {
                new SqlParameter("@Dataset", tablename)
            };

            return(SqlServerDao.ExecuteProcDataTable("GetGeoDataset", parameters));
        }
Ejemplo n.º 3
0
        public static DataTable GeoRss(string rssUrl)
        {
            var parameters = new List <SqlParameter>
            {
                new SqlParameter("@url", rssUrl)
            };

            return(SqlServerDao.ExecuteProcDataTable("GetGeoRSS", parameters));
        }
Ejemplo n.º 4
0
        public static DataTable Intersect(string focuslayer, string overlayer)
        {
            var parameters = new List <SqlParameter>
            {
                new SqlParameter("@focuslayer", focuslayer),
                new SqlParameter("@overlayer", overlayer)
            };

            return(SqlServerDao.ExecuteProcDataTable("Intersect", parameters));
        }
Ejemplo n.º 5
0
        public static DataTable GetRssNearAddress(string rssUrl, string address, double distance, string type)
        {
            var parameters = new List <SqlParameter>
            {
                new SqlParameter("@rssUrl", rssUrl),
                new SqlParameter("@address", address),
                new SqlParameter("@Distance", distance)
            };

            return(SqlServerDao.ExecuteProcDataTable("GetRssNearAddress", parameters));
        }